From ef1b0a199df7c50925ab20775fd9672e323bc9c8 Mon Sep 17 00:00:00 2001 From: marcus-snx Date: Tue, 15 Oct 2024 21:02:22 +0300 Subject: [PATCH] Remove perp accounts settled orders model --- ...erp_accounts_settled_orders_arbitrum_mainnet.sql | 9 --------- .../models/marts/arbitrum/mainnet/perp/schema.yml | 13 ------------- ...erp_accounts_settled_orders_arbitrum_sepolia.sql | 9 --------- .../models/marts/arbitrum/sepolia/perp/schema.yml | 13 ------------- ...ct_perp_accounts_settled_orders_base_mainnet.sql | 9 --------- .../models/marts/base/mainnet/perp/schema.yml | 13 ------------- ...ct_perp_accounts_settled_orders_base_sepolia.sql | 9 --------- .../models/marts/base/sepolia/perp/schema.yml | 13 ------------- 8 files changed, 88 deletions(-) delete mode 100644 transformers/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_accounts_settled_orders_arbitrum_mainnet.sql delete mode 100644 transformers/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_accounts_settled_orders_arbitrum_sepolia.sql delete mode 100644 transformers/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_settled_orders_base_mainnet.sql delete mode 100644 transformers/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_settled_orders_base_sepolia.sql diff --git a/transformers/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_accounts_settled_orders_arbitrum_mainnet.sql b/transformers/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_accounts_settled_orders_arbitrum_mainnet.sql deleted file mode 100644 index bde6d783..00000000 --- a/transformers/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_accounts_settled_orders_arbitrum_mainnet.sql +++ /dev/null @@ -1,9 +0,0 @@ -{{ config( - materialized = "view", - tags = ["perp", "account_activity", "arbitrum", "mainnet"] -) }} - -select - block_timestamp, - account_id -from {{ ref('perp_order_settled_arbitrum_mainnet') }} diff --git a/transformers/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml b/transformers/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml index 4c0f3d88..23810db4 100644 --- a/transformers/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml +++ b/transformers/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml @@ -1,17 +1,4 @@ models: - - name: fct_perp_accounts_settled_orders_arbitrum_mainnet - description: Accounts that have settled a perps position. - columns: - - name: block_timestamp - description: "Block timestamp" - data_type: timestamp with time zone - tests: - - not_null - - name: account_id - description: "ID of the account" - data_type: numeric - tests: - - not_null - name: fct_perp_interest_charged_arbitrum_mainnet columns: - name: id diff --git a/transformers/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_accounts_settled_orders_arbitrum_sepolia.sql b/transformers/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_accounts_settled_orders_arbitrum_sepolia.sql deleted file mode 100644 index 2cc04b01..00000000 --- a/transformers/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_accounts_settled_orders_arbitrum_sepolia.sql +++ /dev/null @@ -1,9 +0,0 @@ -{{ config( - materialized = "view", - tags = ["perp", "account_activity", "arbitrum", "sepolia"] -) }} - -select - block_timestamp, - account_id -from {{ ref('perp_order_settled_arbitrum_sepolia') }} diff --git a/transformers/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml b/transformers/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml index 79ab3d2e..134a94c4 100644 --- a/transformers/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml +++ b/transformers/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml @@ -1,17 +1,4 @@ models: - - name: fct_perp_accounts_settled_orders_arbitrum_sepolia - description: Accounts that have settled a perps position. - columns: - - name: block_timestamp - description: "Block timestamp" - data_type: timestamp with time zone - tests: - - not_null - - name: account_id - description: "ID of the account" - data_type: numeric - tests: - - not_null - name: fct_perp_interest_charged_arbitrum_sepolia columns: - name: id diff --git a/transformers/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_settled_orders_base_mainnet.sql b/transformers/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_settled_orders_base_mainnet.sql deleted file mode 100644 index 345964b6..00000000 --- a/transformers/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_settled_orders_base_mainnet.sql +++ /dev/null @@ -1,9 +0,0 @@ -{{ config( - materialized = "view", - tags = ["perp", "account_activity", "base", "mainnet"] -) }} - -select - block_timestamp, - account_id -from {{ ref('perp_order_settled_base_mainnet') }} diff --git a/transformers/synthetix/models/marts/base/mainnet/perp/schema.yml b/transformers/synthetix/models/marts/base/mainnet/perp/schema.yml index fca8e657..fe0a8ce1 100644 --- a/transformers/synthetix/models/marts/base/mainnet/perp/schema.yml +++ b/transformers/synthetix/models/marts/base/mainnet/perp/schema.yml @@ -1,17 +1,4 @@ models: - - name: fct_perp_accounts_settled_orders_base_mainnet - description: Accounts that have settled a perps position. - columns: - - name: block_timestamp - description: "Block timestamp" - data_type: timestamp with time zone - tests: - - not_null - - name: account_id - description: "ID of the account" - data_type: numeric - tests: - - not_null - name: fct_perp_interest_charged_base_mainnet columns: - name: id diff --git a/transformers/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_settled_orders_base_sepolia.sql b/transformers/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_settled_orders_base_sepolia.sql deleted file mode 100644 index 5d15a05b..00000000 --- a/transformers/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_settled_orders_base_sepolia.sql +++ /dev/null @@ -1,9 +0,0 @@ -{{ config( - materialized = "view", - tags = ["perp", "account_activity", "base", "sepolia"] -) }} - -select - block_timestamp, - account_id -from {{ ref('perp_order_settled_base_sepolia') }} diff --git a/transformers/synthetix/models/marts/base/sepolia/perp/schema.yml b/transformers/synthetix/models/marts/base/sepolia/perp/schema.yml index 1f2e25f0..bef97ab0 100644 --- a/transformers/synthetix/models/marts/base/sepolia/perp/schema.yml +++ b/transformers/synthetix/models/marts/base/sepolia/perp/schema.yml @@ -1,17 +1,4 @@ models: - - name: fct_perp_accounts_settled_orders_base_sepolia - description: Accounts that have settled a perps position. - columns: - - name: block_timestamp - description: "Block timestamp" - data_type: timestamp with time zone - tests: - - not_null - - name: account_id - description: "ID of the account" - data_type: numeric - tests: - - not_null - name: fct_perp_interest_charged_base_sepolia columns: - name: id