diff --git a/models/gold/defi/lending/defi__ez_lending_borrows.sql b/models/gold/defi/lending/defi__ez_lending_borrows.sql deleted file mode 100644 index 282d8789..00000000 --- a/models/gold/defi/lending/defi__ez_lending_borrows.sql +++ /dev/null @@ -1,49 +0,0 @@ - {{ config( - materialized = 'view', - persist_docs ={ "relation": true, - "columns": true }, - meta={ - 'database_tags':{ - 'table': { - 'PROTOCOL': 'SONNE, AAVE, GRANARY, TAROT, EXACTLY', - 'PURPOSE': 'LENDING, BORROWS' - } - } - }, - tags = ['gold','defi','lending','curated','ez'] -) }} - -SELECT - block_number, - block_timestamp, - tx_hash, - contract_address, - event_name, - event_index, - origin_function_signature, - origin_from_address, - origin_to_address, - platform, - protocol_market, - borrower, - token_address, - token_symbol, - amount_unadj, - amount, - amount_usd, - COALESCE ( - complete_lending_borrows_id, - {{ dbt_utils.generate_surrogate_key( - ['tx_hash', 'event_index'] - ) }} - ) AS ez_lending_borrows_id, - COALESCE( - inserted_timestamp, - '2000-01-01' - ) AS inserted_timestamp, - COALESCE( - modified_timestamp, - '2000-01-01' - ) AS modified_timestamp -FROM - {{ ref('silver__complete_lending_borrows') }} \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_borrows.yml b/models/gold/defi/lending/defi__ez_lending_borrows.yml deleted file mode 100644 index dea40466..00000000 --- a/models/gold/defi/lending/defi__ez_lending_borrows.yml +++ /dev/null @@ -1,46 +0,0 @@ -version: 2 -models: - - name: defi__ez_lending_borrows - description: '{{ doc("evm_complete_lending_borrows_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' - - name: TX_HASH - description: '{{ doc("evm_logs_tx_hash") }}' - - name: CONTRACT_ADDRESS - description: '{{ doc("evm_logs_contract_address") }}' - - name: EVENT_NAME - description: '{{ doc("evm_event_name") }}' - - name: EVENT_INDEX - description: '{{ doc("evm_event_index") }}' - - name: ORIGIN_FUNCTION_SIGNATURE - description: '{{ doc("evm_nft_origin_sig") }}' - - name: ORIGIN_FROM_ADDRESS - description: '{{ doc("evm_origin_from") }}' - - name: ORIGIN_TO_ADDRESS - description: '{{ doc("evm_origin_to") }}' - - name: PLATFORM - description: '{{ doc("evm_complete_lending_platform") }}' - - name: PROTOCOL_MARKET - description: '{{ doc("evm_complete_lending_protocol_token") }}' - - name: BORROWER - description: '{{ doc("evm_complete_lending_borrower") }}' - - name: TOKEN_ADDRESS - description: '{{ doc("evm_complete_lending_token_address") }}' - - name: TOKEN_SYMBOL - description: '{{ doc("evm_complete_lending_token_symbol") }}' - - name: AMOUNT_UNADJ - description: '{{ doc("evm_complete_lending_amount_unadj") }}' - - name: AMOUNT - description: '{{ doc("evm_complete_lending_amount") }}' - - name: AMOUNT_USD - description: '{{ doc("evm_complete_lending_amount_usd") }}' - - name: EZ_LENDING_BORROWS_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_deposits.sql b/models/gold/defi/lending/defi__ez_lending_deposits.sql deleted file mode 100644 index 21b3b466..00000000 --- a/models/gold/defi/lending/defi__ez_lending_deposits.sql +++ /dev/null @@ -1,49 +0,0 @@ -{{ config( - materialized = 'view', - persist_docs ={ "relation": true, - "columns": true }, - meta={ - 'database_tags':{ - 'table': { - 'PROTOCOL': 'SONNE, AAVE, GRANARY, TAROT, EXACTLY', - 'PURPOSE': 'LENDING, DEPOSITS' - } - } - }, - tags = ['gold','defi','lending','curated','ez'] -) }} - -SELECT - block_number, - block_timestamp, - tx_hash, - contract_address, - event_name, - event_index, - origin_function_signature, - origin_from_address, - origin_to_address, - platform, - protocol_market, - depositor, - token_address, - token_symbol, - amount_unadj, - amount, - amount_usd, - COALESCE ( - complete_lending_deposits_id, - {{ dbt_utils.generate_surrogate_key( - ['tx_hash', 'event_index'] - ) }} - ) AS ez_lending_deposits_id, - COALESCE( - inserted_timestamp, - '2000-01-01' - ) AS inserted_timestamp, - COALESCE( - modified_timestamp, - '2000-01-01' - ) AS modified_timestamp -FROM - {{ ref('silver__complete_lending_deposits') }} \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_deposits.yml b/models/gold/defi/lending/defi__ez_lending_deposits.yml deleted file mode 100644 index c0a10a43..00000000 --- a/models/gold/defi/lending/defi__ez_lending_deposits.yml +++ /dev/null @@ -1,46 +0,0 @@ -version: 2 -models: - - name: defi__ez_lending_deposits - description: '{{ doc("evm_complete_lending_deposits_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' - - name: TX_HASH - description: '{{ doc("evm_logs_tx_hash") }}' - - name: CONTRACT_ADDRESS - description: '{{ doc("evm_logs_contract_address") }}' - - name: EVENT_NAME - description: '{{ doc("evm_event_name") }}' - - name: EVENT_INDEX - description: '{{ doc("evm_event_index") }}' - - name: ORIGIN_FUNCTION_SIGNATURE - description: '{{ doc("evm_nft_origin_sig") }}' - - name: ORIGIN_FROM_ADDRESS - description: '{{ doc("evm_origin_from") }}' - - name: ORIGIN_TO_ADDRESS - description: '{{ doc("evm_origin_to") }}' - - name: PLATFORM - description: '{{ doc("evm_complete_lending_platform") }}' - - name: PROTOCOL_MARKET - description: '{{ doc("evm_complete_lending_protocol_token") }}' - - name: DEPOSITOR - description: '{{ doc("evm_complete_lending_depositor") }}' - - name: TOKEN_ADDRESS - description: '{{ doc("evm_complete_lending_token_address") }}' - - name: TOKEN_SYMBOL - description: '{{ doc("evm_complete_lending_token_symbol") }}' - - name: AMOUNT_UNADJ - description: '{{ doc("evm_complete_lending_amount_unadj") }}' - - name: AMOUNT - description: '{{ doc("evm_complete_lending_amount") }}' - - name: AMOUNT_USD - description: '{{ doc("evm_complete_lending_amount_usd") }}' - - name: EZ_LENDING_DEPOSITS_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_flashloans.sql b/models/gold/defi/lending/defi__ez_lending_flashloans.sql deleted file mode 100644 index ffb156a0..00000000 --- a/models/gold/defi/lending/defi__ez_lending_flashloans.sql +++ /dev/null @@ -1,53 +0,0 @@ - {{ config( - materialized = 'view', - persist_docs ={ "relation": true, - "columns": true }, - meta={ - 'database_tags':{ - 'table': { - 'PROTOCOL': 'AAVE, GRANARY', - 'PURPOSE': 'LENDING, FLASHLOANS' - } - } - }, - tags = ['gold','defi','lending','curated','ez'] -) }} - -SELECT - block_number, - block_timestamp, - tx_hash, - contract_address, - event_name, - event_index, - origin_function_signature, - origin_from_address, - origin_to_address, - platform, - initiator, - target, - protocol_market, - flashloan_token, - flashloan_token_symbol, - flashloan_amount_unadj, - flashloan_amount, - flashloan_amount_usd, - premium_amount_unadj, - premium_amount, - premium_amount_usd, - COALESCE ( - complete_lending_flashloans_id, - {{ dbt_utils.generate_surrogate_key( - ['tx_hash', 'event_index'] - ) }} - ) AS ez_lending_flashloans_id, - COALESCE( - inserted_timestamp, - '2000-01-01' - ) AS inserted_timestamp, - COALESCE( - modified_timestamp, - '2000-01-01' - ) AS modified_timestamp -FROM - {{ ref('silver__complete_lending_flashloans') }} \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_flashloans.yml b/models/gold/defi/lending/defi__ez_lending_flashloans.yml deleted file mode 100644 index 3e26134e..00000000 --- a/models/gold/defi/lending/defi__ez_lending_flashloans.yml +++ /dev/null @@ -1,54 +0,0 @@ -version: 2 -models: - - name: defi__ez_lending_flashloans - description: '{{ doc("evm_complete_lending_flashloans_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' - - name: TX_HASH - description: '{{ doc("evm_logs_tx_hash") }}' - - name: CONTRACT_ADDRESS - description: '{{ doc("evm_logs_contract_address") }}' - - name: EVENT_NAME - description: '{{ doc("evm_event_name") }}' - - name: EVENT_INDEX - description: '{{ doc("evm_event_index") }}' - - name: ORIGIN_FUNCTION_SIGNATURE - description: '{{ doc("evm_nft_origin_sig") }}' - - name: ORIGIN_FROM_ADDRESS - description: '{{ doc("evm_origin_from") }}' - - name: ORIGIN_TO_ADDRESS - description: '{{ doc("evm_origin_to") }}' - - name: PLATFORM - description: '{{ doc("evm_complete_lending_platform") }}' - - name: INITIATOR - description: '{{ doc("evm_complete_lending_initiator_address") }}' - - name: TARGET - description: '{{ doc("evm_complete_lending_target_address") }}' - - name: PROTOCOL_MARKET - description: '{{ doc("evm_complete_lending_protocol_token") }}' - - name: FLASHLOAN_TOKEN - description: '{{ doc("evm_complete_lending_flashloan_token") }}' - - name: FLASHLOAN_TOKEN_SYMBOL - description: '{{ doc("evm_complete_lending_flashloan_token_symbol") }}' - - name: FLASHLOAN_AMOUNT_UNADJ - description: '{{ doc("evm_complete_lending_flashloan_amount_unadj") }}' - - name: FLASHLOAN_AMOUNT - description: '{{ doc("evm_complete_lending_flashloan_amount") }}' - - name: FLASHLOAN_AMOUNT_USD - description: '{{ doc("evm_complete_lending_flashloan_amount_usd") }}' - - name: PREMIUM_AMOUNT_UNADJ - description: '{{ doc("evm_complete_lending_premium_amount_unadj") }}' - - name: PREMIUM_AMOUNT - description: '{{ doc("evm_complete_lending_premium_amount") }}' - - name: PREMIUM_AMOUNT_USD - description: '{{ doc("evm_complete_lending_premium_amount_usd") }}' - - name: EZ_LENDING_FLASHLOANS_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_liquidations.sql b/models/gold/defi/lending/defi__ez_lending_liquidations.sql deleted file mode 100644 index a1412a74..00000000 --- a/models/gold/defi/lending/defi__ez_lending_liquidations.sql +++ /dev/null @@ -1,52 +0,0 @@ - {{ config( - materialized = 'view', - persist_docs ={ "relation": true, - "columns": true }, - meta={ - 'database_tags':{ - 'table': { - 'PROTOCOL': 'SONNE, AAVE, GRANARY, TAROT, EXACTLY', - 'PURPOSE': 'LENDING, LIQUIDATIONS' - } - } - }, - tags = ['gold','defi','lending','curated','ez'] -) }} - -SELECT - block_number, - block_timestamp, - tx_hash, - contract_address, - event_name, - event_index, - origin_function_signature, - origin_from_address, - origin_to_address, - platform, - liquidator, - borrower, - protocol_market, - collateral_token, - collateral_token_symbol, - amount_unadj, - amount, - amount_usd, - debt_token, - debt_token_symbol, - COALESCE ( - complete_lending_liquidations_id, - {{ dbt_utils.generate_surrogate_key( - ['tx_hash', 'event_index'] - ) }} - ) AS ez_lending_liquidations_id, - COALESCE( - inserted_timestamp, - '2000-01-01' - ) AS inserted_timestamp, - COALESCE( - modified_timestamp, - '2000-01-01' - ) AS modified_timestamp -FROM - {{ ref('silver__complete_lending_liquidations') }} \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_liquidations.yml b/models/gold/defi/lending/defi__ez_lending_liquidations.yml deleted file mode 100644 index d8b189a3..00000000 --- a/models/gold/defi/lending/defi__ez_lending_liquidations.yml +++ /dev/null @@ -1,52 +0,0 @@ -version: 2 -models: - - name: defi__ez_lending_liquidations - description: '{{ doc("evm_complete_lending_liquidations_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' - - name: TX_HASH - description: '{{ doc("evm_logs_tx_hash") }}' - - name: CONTRACT_ADDRESS - description: '{{ doc("evm_logs_contract_address") }}' - - name: EVENT_NAME - description: '{{ doc("evm_event_name") }}' - - name: EVENT_INDEX - description: '{{ doc("evm_event_index") }}' - - name: ORIGIN_FUNCTION_SIGNATURE - description: '{{ doc("evm_nft_origin_sig") }}' - - name: ORIGIN_FROM_ADDRESS - description: '{{ doc("evm_origin_from") }}' - - name: ORIGIN_TO_ADDRESS - description: '{{ doc("evm_origin_to") }}' - - name: PLATFORM - description: '{{ doc("evm_complete_lending_platform") }}' - - name: LIQUIDATOR - description: '{{ doc("evm_complete_lending_liquidator") }}' - - name: BORROWER - description: '{{ doc("evm_complete_lending_borrower") }}' - - name: PROTOCOL_MARKET - description: '{{ doc("evm_complete_lending_protocol_token") }}' - - name: COLLATERAL_TOKEN - description: '{{ doc("evm_complete_lending_collateral_asset") }}' - - name: COLLATERAL_TOKEN_SYMBOL - description: '{{ doc("evm_complete_lending_token_symbol") }}' - - name: AMOUNT_UNADJ - description: '{{ doc("evm_complete_lending_amount_unadj") }}' - - name: AMOUNT - description: '{{ doc("evm_complete_lending_amount") }}' - - name: AMOUNT_USD - description: '{{ doc("evm_complete_lending_amount_usd") }}' - - name: DEBT_TOKEN - description: '{{ doc("evm_complete_lending_debt_asset") }}' - - name: DEBT_TOKEN_SYMBOL - description: '{{ doc("evm_complete_lending_token_symbol") }}' - - name: EZ_LENDING_LIQUDATIONS_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_repayments.sql b/models/gold/defi/lending/defi__ez_lending_repayments.sql deleted file mode 100644 index 77a0f61f..00000000 --- a/models/gold/defi/lending/defi__ez_lending_repayments.sql +++ /dev/null @@ -1,50 +0,0 @@ - {{ config( - materialized = 'view', - persist_docs ={ "relation": true, - "columns": true }, - meta={ - 'database_tags':{ - 'table': { - 'PROTOCOL': 'SONNE, AAVE, GRANARY, TAROT, EXACTLY', - 'PURPOSE': 'LENDING, REPAYMENTS' - } - } - }, - tags = ['gold','defi','lending','curated','ez'] -) }} - -SELECT - block_number, - block_timestamp, - origin_from_address, - origin_to_address, - origin_function_signature, - tx_hash, - event_index, - contract_address, - event_name, - platform, - payer, - borrower, - protocol_market, - token_address, - token_symbol, - amount_unadj, - amount, - amount_usd, - COALESCE ( - complete_lending_repayments_id, - {{ dbt_utils.generate_surrogate_key( - ['tx_hash', 'event_index'] - ) }} - ) AS ez_lending_repayments_id, - COALESCE( - inserted_timestamp, - '2000-01-01' - ) AS inserted_timestamp, - COALESCE( - modified_timestamp, - '2000-01-01' - ) AS modified_timestamp -FROM - {{ ref('silver__complete_lending_repayments') }} \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_repayments.yml b/models/gold/defi/lending/defi__ez_lending_repayments.yml deleted file mode 100644 index 01c40dbf..00000000 --- a/models/gold/defi/lending/defi__ez_lending_repayments.yml +++ /dev/null @@ -1,48 +0,0 @@ -version: 2 -models: - - name: defi__ez_lending_repayments - description: '{{ doc("evm_complete_lending_repayments_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' - - name: TX_HASH - description: '{{ doc("evm_logs_tx_hash") }}' - - name: CONTRACT_ADDRESS - description: '{{ doc("evm_logs_contract_address") }}' - - name: EVENT_NAME - description: '{{ doc("evm_event_name") }}' - - name: EVENT_INDEX - description: '{{ doc("evm_event_index") }}' - - name: ORIGIN_FUNCTION_SIGNATURE - description: '{{ doc("evm_nft_origin_sig") }}' - - name: ORIGIN_FROM_ADDRESS - description: '{{ doc("evm_origin_from") }}' - - name: ORIGIN_TO_ADDRESS - description: '{{ doc("evm_origin_to") }}' - - name: PLATFORM - description: '{{ doc("evm_complete_lending_platform") }}' - - name: PAYER - description: '{{ doc("evm_complete_lending_payer") }}' - - name: BORROWER - description: '{{ doc("evm_complete_lending_borrower") }}' - - name: PROTOCOL_MARKET - description: '{{ doc("evm_complete_lending_protocol_token") }}' - - name: TOKEN_ADDRESS - description: '{{ doc("evm_complete_lending_token_address") }}' - - name: TOKEN_SYMBOL - description: '{{ doc("evm_complete_lending_token_symbol") }}' - - name: AMOUNT_UNADJ - description: '{{ doc("evm_complete_lending_amount_unadj") }}' - - name: AMOUNT - description: '{{ doc("evm_complete_lending_amount") }}' - - name: AMOUNT_USD - description: '{{ doc("evm_complete_lending_amount_usd") }}' - - name: EZ_LENDING_REPAYMENTS_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_withdraws.sql b/models/gold/defi/lending/defi__ez_lending_withdraws.sql deleted file mode 100644 index 6d594815..00000000 --- a/models/gold/defi/lending/defi__ez_lending_withdraws.sql +++ /dev/null @@ -1,49 +0,0 @@ - {{ config( - materialized = 'view', - persist_docs ={ "relation": true, - "columns": true }, - meta={ - 'database_tags':{ - 'table': { - 'PROTOCOL': 'SONNE, AAVE, GRANARY, TAROT, EXACTLY', - 'PURPOSE': 'LENDING, WITHDRAWS' - } - } - }, - tags = ['gold','defi','lending','curated','ez'] -) }} - -SELECT - block_number, - block_timestamp, - tx_hash, - contract_address, - event_name, - event_index, - origin_function_signature, - origin_from_address, - origin_to_address, - platform, - depositor, - protocol_market, - token_address, - token_symbol, - amount_unadj, - amount, - amount_usd, - COALESCE ( - complete_lending_withdraws_id, - {{ dbt_utils.generate_surrogate_key( - ['tx_hash', 'event_index'] - ) }} - ) AS ez_lending_withdraws_id, - COALESCE( - inserted_timestamp, - '2000-01-01' - ) AS inserted_timestamp, - COALESCE( - modified_timestamp, - '2000-01-01' - ) AS modified_timestamp -FROM - {{ ref('silver__complete_lending_withdraws') }} \ No newline at end of file diff --git a/models/gold/defi/lending/defi__ez_lending_withdraws.yml b/models/gold/defi/lending/defi__ez_lending_withdraws.yml deleted file mode 100644 index 1c088169..00000000 --- a/models/gold/defi/lending/defi__ez_lending_withdraws.yml +++ /dev/null @@ -1,46 +0,0 @@ -version: 2 -models: - - name: defi__ez_lending_withdraws - description: '{{ doc("evm_complete_lending_withdraws_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' - - name: TX_HASH - description: '{{ doc("evm_logs_tx_hash") }}' - - name: CONTRACT_ADDRESS - description: '{{ doc("evm_logs_contract_address") }}' - - name: EVENT_NAME - description: '{{ doc("evm_event_name") }}' - - name: EVENT_INDEX - description: '{{ doc("evm_event_index") }}' - - name: ORIGIN_FUNCTION_SIGNATURE - description: '{{ doc("evm_nft_origin_sig") }}' - - name: ORIGIN_FROM_ADDRESS - description: '{{ doc("evm_origin_from") }}' - - name: ORIGIN_TO_ADDRESS - description: '{{ doc("evm_origin_to") }}' - - name: PLATFORM - description: '{{ doc("evm_complete_lending_platform") }}' - - name: DEPOSITOR - description: '{{ doc("evm_borrower") }}' - - name: PROTOCOL_MARKET - description: '{{ doc("evm_complete_lending_protocol_token") }}' - - name: TOKEN_ADDRESS - description: '{{ doc("evm_complete_lending_token_address") }}' - - name: TOKEN_SYMBOL - description: '{{ doc("evm_complete_lending_token_symbol") }}' - - name: AMOUNT_UNADJ - description: '{{ doc("evm_complete_lending_amount_unadj") }}' - - name: AMOUNT - description: '{{ doc("evm_complete_lending_amount") }}' - - name: AMOUNT_USD - description: '{{ doc("evm_complete_lending_amount_usd") }}' - - name: EZ_LENDING_WITHDRAWS_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/models/gold/governance/gov__fact_delegations.yml b/models/gold/governance/gov__fact_delegations.yml index 615d3639..b757e125 100644 --- a/models/gold/governance/gov__fact_delegations.yml +++ b/models/gold/governance/gov__fact_delegations.yml @@ -4,13 +4,13 @@ models: description: 'This table contains the details of the OP Delegations made by users on the Optimism network.' columns: - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' + description: '{{ doc("general_block_number") }}' - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' + description: '{{ doc("general_block_timestamp") }}' - name: TX_HASH - description: '{{ doc("evm_tx_hash") }}' + description: '{{ doc("general_tx_hash") }}' - name: STATUS - description: '{{ doc("evm_tx_status") }}' + description: 'The status of the tx, can be "Success" or "Failed"' - name: DELEGATOR description: 'The address of the delegator' - name: DELEGATE @@ -30,8 +30,8 @@ models: - name: FROM_DELEGATE description: 'The address of the delegate from which the delegator has delegated their votes' - name: FACT_DELEGATIONS_ID - description: '{{ doc("evm_pk") }}' + description: '{{ doc("general_pk") }}' - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' + description: '{{ doc("general_inserted_timestamp") }}' - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file + description: '{{ doc("general_modified_timestamp") }}' \ No newline at end of file diff --git a/models/gold/nft/nft__ez_nft_sales.yml b/models/gold/nft/nft__ez_nft_sales.yml deleted file mode 100644 index a4003b15..00000000 --- a/models/gold/nft/nft__ez_nft_sales.yml +++ /dev/null @@ -1,70 +0,0 @@ -version: 2 -models: - - name: nft__ez_nft_sales - description: '{{ doc("evm_ez_nft_sales_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_nft_block_no") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_nft_blocktime") }}' - - name: TX_HASH - description: '{{ doc("evm_nft_tx_hash") }}' - - name: EVENT_INDEX - description: '{{ doc("evm_nft_event_index") }}' - - name: EVENT_TYPE - description: '{{ doc("evm_nft_event_type") }}' - - name: PLATFORM_ADDRESS - description: '{{ doc("evm_nft_platform_address") }}' - - name: PLATFORM_NAME - description: '{{ doc("evm_nft_platform_name") }}' - - name: PLATFORM_EXCHANGE_VERSION - description: '{{ doc("evm_nft_platform_exchange_version") }}' - - name: AGGREGATOR_NAME - description: '{{ doc("evm_nft_aggregator_name") }}' - - name: SELLER_ADDRESS - description: '{{ doc("evm_nft_seller_address") }}' - - name: BUYER_ADDRESS - description: '{{ doc("evm_nft_buyer_address") }}' - - name: CONTRACT_ADDRESS - description: '{{ doc("evm_nft_address") }}' - - name: NAME - description: '{{ doc("evm_nft_project_name") }}' - - name: TOKEN_ID - description: '{{ doc("evm_nft_tokenid") }}' - - name: QUANTITY - description: '{{ doc("evm_nft_quantity") }}' - - name: TOKEN_STANDARD - description: '{{ doc("evm_token_standard") }}' - - name: CURRENCY_SYMBOL - description: '{{ doc("evm_nft_currency_symbol") }}' - - name: CURRENCY_ADDRESS - description: '{{ doc("evm_nft_currency_address") }}' - - name: PRICE - description: '{{ doc("evm_nft_price") }}' - - name: PRICE_USD - description: '{{ doc("evm_nft_price_usd") }}' - - name: TOTAL_FEES - description: '{{ doc("evm_nft_total_fees") }}' - - name: PLATFORM_FEE - description: '{{ doc("evm_nft_platform_fee") }}' - - name: CREATOR_FEE - description: '{{ doc("evm_nft_creator_fee") }}' - - name: TOTAL_FEES_USD - description: '{{ doc("evm_nft_total_fees_usd") }}' - - name: PLATFORM_FEE_USD - description: '{{ doc("evm_nft_platform_fee_usd") }}' - - name: CREATOR_FEE_USD - description: '{{ doc("evm_nft_creator_fee_usd") }}' - - name: ORIGIN_FROM_ADDRESS - description: '{{ doc("evm_nft_origin_from") }}' - - name: ORIGIN_TO_ADDRESS - description: '{{ doc("evm_nft_origin_to") }}' - - name: ORIGIN_FUNCTION_SIGNATURE - description: '{{ doc("evm_nft_origin_sig") }}' - - name: EZ_NFT_SALES_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/packages.yml b/packages.yml index 7ba1f3a9..cbbb87e2 100644 --- a/packages.yml +++ b/packages.yml @@ -1,3 +1,3 @@ packages: - git: https://github.com/FlipsideCrypto/fsc-evm.git - revision: AN-6265/consolidate \ No newline at end of file + revision: AN-6265/consolidate