mirror of
https://github.com/FlipsideCrypto/polygon-models.git
synced 2026-02-06 13:41:53 +00:00
delete (#299)
This commit is contained in:
parent
206b7668f3
commit
846e988ed4
@ -1,12 +0,0 @@
|
||||
{{ config(
|
||||
materialized = 'view',
|
||||
persist_docs ={ "relation": true,
|
||||
"columns": true },
|
||||
meta ={ 'database_tags':{ 'table':{ 'PURPOSE': 'NFT' } } }
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
*
|
||||
|
||||
FROM
|
||||
{{ ref('nft__ez_nft_mints') }}
|
||||
@ -1,26 +0,0 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core__ez_nft_mints
|
||||
description: Deprecating soon! This is a notice that we're replacing this table with `nft__ez_nft_mints`. Please migrate queries to the new table by 9/14/23. There will be no column changes or any other changes of any kind.
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: 'The block number of the NFT transfer.'
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: 'The block timestamp of the NFT transfer.'
|
||||
- name: TX_HASH
|
||||
description: 'The transaction hash of the NFT transfer. Please note this is not unique, as it is possible to have multiple NFT transfers in a single transaction.'
|
||||
- name: NFT_ADDRESS
|
||||
description: 'The address of the NFT contract.'
|
||||
- name: PROJECT_NAME
|
||||
description: 'The name of the project, read from the NFT contract.'
|
||||
- name: ERC1155_VALUE
|
||||
description: 'The value of the ERC1155 transfer. This is only populated for ERC1155 transfers.'
|
||||
- name: NFT_FROM_ADDRESS
|
||||
description: 'The address of the sender of the NFT transfer.'
|
||||
- name: NFT_TO_ADDRESS
|
||||
description: 'The address of the recipient of the NFT transfer.'
|
||||
- name: TOKENID
|
||||
description: 'The token ID of the NFT transfer.'
|
||||
- name: EVENT_INDEX
|
||||
description: 'The index of the NFT transfer within the transaction. This is used to ensure that multiple NFT transfers in a single transaction are not duplicated.'
|
||||
@ -1,11 +0,0 @@
|
||||
{{ config(
|
||||
materialized = 'view',
|
||||
persist_docs ={ "relation": true,
|
||||
"columns": true },
|
||||
meta ={ 'database_tags':{ 'table':{ 'PURPOSE': 'NFT' } } }
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
{{ ref('nft__ez_nft_sales') }}
|
||||
@ -1,66 +0,0 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core__ez_nft_sales
|
||||
description: Deprecating soon! This is a notice that we're replacing this table with `nft__ez_nft_sales`. Please migrate queries to the new table by 9/14/23. There will be no column changes or any other changes of any kind.
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: '{{ doc("nft_block_no") }}'
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: '{{ doc("nft_blocktime") }}'
|
||||
- name: TX_HASH
|
||||
description: '{{ doc("nft_tx_hash") }}'
|
||||
- name: EVENT_TYPE
|
||||
description: '{{ doc("nft_event_type") }}'
|
||||
- name: PLATFORM_ADDRESS
|
||||
description: '{{ doc("nft_platform_address") }}'
|
||||
- name: PLATFORM_NAME
|
||||
description: '{{ doc("nft_platform_name") }}'
|
||||
- name: PLATFORM_EXCHANGE_VERSION
|
||||
description: '{{ doc("nft_platform_exchange_version") }}'
|
||||
- name: AGGREGATOR_NAME
|
||||
description: '{{ doc("nft_aggregator_name") }}'
|
||||
- name: SELLER_ADDRESS
|
||||
description: '{{ doc("nft_seller_address") }}'
|
||||
- name: BUYER_ADDRESS
|
||||
description: '{{ doc("nft_buyer_address") }}'
|
||||
- name: NFT_ADDRESS
|
||||
description: '{{ doc("nft_nft_address") }}'
|
||||
- name: PROJECT_NAME
|
||||
description: '{{ doc("nft_project_name") }}'
|
||||
- name: ERC1155_VALUE
|
||||
description: '{{ doc("nft_erc1155_value") }}'
|
||||
- name: TOKENID
|
||||
description: '{{ doc("nft_tokenid") }}'
|
||||
- name: TOKEN_METADATA
|
||||
description: '{{ doc("nft_metadata") }}'
|
||||
- name: CURRENCY_SYMBOL
|
||||
description: '{{ doc("nft_currency_symbol") }}'
|
||||
- name: CURRENCY_ADDRESS
|
||||
description: '{{ doc("nft_currency_address") }}'
|
||||
- name: PRICE
|
||||
description: '{{ doc("nft_price") }}'
|
||||
- name: PRICE_USD
|
||||
description: '{{ doc("nft_price_usd") }}'
|
||||
- name: TOTAL_FEES
|
||||
description: '{{ doc("nft_total_fees") }}'
|
||||
- name: PLATFORM_FEE
|
||||
description: '{{ doc("nft_platform_fee") }}'
|
||||
- name: CREATOR_FEE
|
||||
description: '{{ doc("nft_creator_fee") }}'
|
||||
- name: TOTAL_FEES_USD
|
||||
description: '{{ doc("nft_total_fees_usd") }}'
|
||||
- name: PLATFORM_FEE_USD
|
||||
description: '{{ doc("nft_platform_fee_usd") }}'
|
||||
- name: CREATOR_FEE_USD
|
||||
description: '{{ doc("nft_creator_fee_usd") }}'
|
||||
- name: TX_FEE
|
||||
description: '{{ doc("nft_tx_fee") }}'
|
||||
- name: TX_FEE_USD
|
||||
description: '{{ doc("nft_tx_fee_usd") }}'
|
||||
- name: ORIGIN_FROM_ADDRESS
|
||||
description: '{{ doc("nft_origin_from") }}'
|
||||
- name: ORIGIN_TO_ADDRESS
|
||||
description: '{{ doc("nft_origin_to") }}'
|
||||
- name: ORIGIN_FUNCTION_SIGNATURE
|
||||
description: '{{ doc("nft_origin_sig") }}'
|
||||
@ -1,14 +0,0 @@
|
||||
{{ config(
|
||||
materialized = 'view',
|
||||
persist_docs ={ "relation": true,
|
||||
"columns": true },
|
||||
meta ={ 'database_tags':{ 'table':{ 'PURPOSE': 'NFT' } } }
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
{{ ref('nft__ez_nft_transfers') }}
|
||||
|
||||
|
||||
|
||||
@ -1,28 +0,0 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core__ez_nft_transfers
|
||||
description: Deprecating soon! This is a notice that we're replacing this table with `nft__ez_nft_transfers`. Please migrate queries to the new table by 9/14/23. There will be no column changes or any other changes of any kind.
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: 'The block number of the NFT transfer.'
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: 'The block timestamp of the NFT transfer.'
|
||||
- name: TX_HASH
|
||||
description: 'The transaction hash of the NFT transfer. Please note this is not unique, as it is possible to have multiple NFT transfers in a single transaction.'
|
||||
- name: EVENT_TYPE
|
||||
description: 'The type of NFT transfer. This can be either "mint" or "other".'
|
||||
- name: NFT_ADDRESS
|
||||
description: 'The address of the NFT contract.'
|
||||
- name: PROJECT_NAME
|
||||
description: 'The name of the project, read from the NFT contract.'
|
||||
- name: ERC1155_VALUE
|
||||
description: 'The value of the ERC1155 transfer. This is only populated for ERC1155 transfers.'
|
||||
- name: NFT_FROM_ADDRESS
|
||||
description: 'The address of the sender of the NFT transfer.'
|
||||
- name: NFT_TO_ADDRESS
|
||||
description: 'The address of the recipient of the NFT transfer.'
|
||||
- name: TOKENID
|
||||
description: 'The token ID of the NFT transfer.'
|
||||
- name: EVENT_INDEX
|
||||
description: 'The index of the NFT transfer within the transaction. This is used to ensure that multiple NFT transfers in a single transaction are not duplicated.'
|
||||
@ -1,17 +0,0 @@
|
||||
{{ config(
|
||||
materialized = 'view',
|
||||
persist_docs ={ "relation": true,
|
||||
"columns": true },
|
||||
meta={
|
||||
'database_tags':{
|
||||
'table': {
|
||||
'PROTOCOL': 'WOOFI, KYBERSWAP, DODO, QUICKSWAP, FRAX, UNISWAP, BALANCER, HASHFLOW, SUSHI, CURVE',
|
||||
'PURPOSE': 'DEX, SWAPS'
|
||||
}
|
||||
}
|
||||
}
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
*
|
||||
FROM {{ ref('defi__ez_dex_swaps') }}
|
||||
@ -1,49 +0,0 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core__ez_dex_swaps
|
||||
description: Deprecating soon! This is a notice that we're replacing this table with `defi__ez_dex_swaps`. Please migrate queries to the new table by 9/14/23. There will be no column changes or any other changes of any kind.
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: '{{ doc("poly_block_number") }}'
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: '{{ doc("poly_block_timestamp") }}'
|
||||
- name: TX_HASH
|
||||
description: '{{ doc("poly_logs_tx_hash") }}'
|
||||
- name: CONTRACT_ADDRESS
|
||||
description: '{{ doc("poly_logs_contract_address") }}'
|
||||
- name: EVENT_NAME
|
||||
description: '{{ doc("poly_event_name") }}'
|
||||
- name: AMOUNT_IN
|
||||
description: '{{ doc("eth_dex_swaps_amount_in") }}'
|
||||
- name: AMOUNT_OUT
|
||||
description: '{{ doc("eth_dex_swaps_amount_out") }}'
|
||||
- name: AMOUNT_IN_USD
|
||||
description: '{{ doc("eth_dex_swaps_amount_in_usd") }}'
|
||||
- name: AMOUNT_OUT_USD
|
||||
description: '{{ doc("eth_dex_swaps_amount_out_usd") }}'
|
||||
- name: TOKEN_IN
|
||||
description: '{{ doc("eth_dex_swaps_token_in") }}'
|
||||
- name: TOKEN_OUT
|
||||
description: '{{ doc("eth_dex_swaps_token_out") }}'
|
||||
- name: SYMBOL_IN
|
||||
description: '{{ doc("eth_dex_swaps_symbol_in") }}'
|
||||
- name: SYMBOL_OUT
|
||||
description: '{{ doc("eth_dex_swaps_symbol_out") }}'
|
||||
- name: SENDER
|
||||
description: '{{ doc("eth_dex_swaps_sender") }}'
|
||||
- name: TX_TO
|
||||
description: '{{ doc("eth_dex_swaps_tx_to") }}'
|
||||
- name: PLATFORM
|
||||
description: '{{ doc("eth_dex_platform") }}'
|
||||
- name: EVENT_INDEX
|
||||
description: '{{ doc("poly_event_index") }}'
|
||||
- name: _LOG_ID
|
||||
description: '{{ doc("poly_log_id_events") }}'
|
||||
- name: ORIGIN_FUNCTION_SIGNATURE
|
||||
description: '{{ doc("poly_tx_origin_sig") }}'
|
||||
- name: ORIGIN_FROM_ADDRESS
|
||||
description: '{{ doc("poly_origin_from") }}'
|
||||
- name: ORIGIN_TO_ADDRESS
|
||||
description: '{{ doc("poly_origin_to") }}'
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
{{ config(
|
||||
materialized = 'view',
|
||||
persist_docs ={ "relation": true,
|
||||
"columns": true }
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
{{ ref('price__ez_hourly_token_prices') }}
|
||||
@ -1,23 +0,0 @@
|
||||
version: 2
|
||||
models:
|
||||
|
||||
- name: core__fact_hourly_token_prices
|
||||
description: Deprecating soon! This is a notice that we're replacing this table with `price__ez_hourly_token_prices`. Please migrate queries to the new table by 9/14/23. There will be no column changes or any other changes of any kind.
|
||||
|
||||
columns:
|
||||
- name: HOUR
|
||||
description: 'The hour the token price was recorded.'
|
||||
tests:
|
||||
- not_null
|
||||
- name: TOKEN_ADDRESS
|
||||
description: 'The contract address for this token. This is the column used to join to token contract addresses in the other event tables.'
|
||||
tests:
|
||||
- not_null
|
||||
- name: SYMBOL
|
||||
description: 'The symbol for this token.'
|
||||
- name: DECIMALS
|
||||
description: 'The decimals for this token.'
|
||||
- name: PRICE
|
||||
description: 'The closing hourly price for this token.'
|
||||
- name: IS_IMPUTED
|
||||
description: 'This column denotes if we carried forward the last recorded price in order to fill hourly gaps from the source. Either true or false.'
|
||||
Loading…
Reference in New Issue
Block a user