Skip to content

Commit 03c26db

Browse files
committed
Fix Flipside migration guide: correct company name, table mappings, and price table name
1 parent b9d3d06 commit 03c26db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

learning/flipside-migration-guide.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "A comprehensive guide for Flipside users transitioning to Dune, in
55

66
# Migrating from Flipside to Dune
77

8-
With the recent shutdown of Flipside Crypto, we extend a warm welcome to all Flipside users exploring Dune. We understand that migrating your queries and workflows can be a challenging task. This guide is designed to help you transition smoothly by mapping Flipside's data tables to Dune's and highlighting the key differences between their respective SQL query engines.
8+
With the recent shutdown of Flipside Creator Studio, we extend a warm welcome to all Flipside users exploring Dune. We understand that migrating your queries and workflows can be a challenging task. This guide is designed to help you transition smoothly by mapping Flipside's data tables to Dune's and highlighting the key differences between their respective SQL query engines.
99

1010
Dune offers a powerful platform for blockchain analytics, powered by a community of thousands of creators. We're excited to have you join us\!
1111

@@ -48,7 +48,7 @@ Below is a comprehensive mapping of Flipside's tables to their Dune equivalents.
4848
| `DIM_LABELS` | `labels.addresses`; `labels.owner_addresses`; `labels.owner_details` | Contains address labels. **Note the structural difference:** Flipside used a single table, whereas Dune employs a more granular, multi-table structure that separates labels for addresses from labels for entities/owners. You may need to `JOIN` these tables. |
4949
| `EZ_BALANCE_DELTAS` | `balances_ethereum.erc20_day`; `ethereum.traces` | Provides token and native asset balance changes. On Dune, you can calculate balance deltas from daily balance tables or derive them from transfer tables like `erc20_ethereum.evt_Transfer` and `ethereum.traces` (`value > 0`). |
5050
| `EZ_CURRENT_BALANCES` | `balances_ethereum.erc20_latest` | Provides current wallet balances. Dune's `balances_ethereum.erc20_latest` table provides the most recent balance for tokens, similar to Flipside's convenience table. |
51-
| `EZ_NATIVE_TRANSFERS` | `ethereum.traces` | Contains transfers of the chain's native asset. **This is a key difference:** Flipside provided a convenient table. On Dune, you should query the `ethereum.traces` table where `value > 0` to capture all native asset transfers, including internal ones. |
51+
| `EZ_NATIVE_TRANSFERS` | `tokens.transfers` | This is a direct mapping to the `tokens.transfers` table. |
5252
| `EZ_SNAPSHOT` | `dune.shot.dataset_follows`<br />`dune.shot.dataset_proposals_view`<br />`dune.shot.dataset_spaces_view`<br />`dune.shot.dataset_users`<br />`dune.shot.dataset_votes_view` | Contains off-chain Snapshot voting data. **Note the structural difference:** Flipside aggregated this into a single table. Dune ingests Snapshot's data into multiple, more granular tables that you will need to `JOIN` using proposal or space IDs. |
5353
| `EZ_TOKEN_TRANSFERS` | `erc20_ethereum.evt_Transfer` | Contains ERC-20 token transfer events. Dune's decoded event tables provide the raw transfer data. For aggregated, cleaned data across all chains, use the curated `tokens.transfers` table. |
5454
| `FACT_BLOCKS` | `ethereum.blocks` | Provides execution-layer block data. For raw block data, `ethereum.blocks` is a direct match. For aggregated metrics like daily gas fees, Dune offers pre-computed tables in the `dune` schema. |
@@ -75,15 +75,15 @@ Below is a comprehensive mapping of Flipside's tables to their Dune equivalents.
7575
| `FACT_DAO_VOTES` | `dao.votes` | Contains DAO voting records. Dune's `dao.votes` Spell aims to standardize voting data across different DAO frameworks. |
7676
| `FACT_REGISTRATIONS` | `ens.view_registrations` | Contains ENS registration records. This is a direct mapping. |
7777
| `FACT_RENEWALS` | `ens.view_renewals` | Contains ENS domain renewal records. This is a direct mapping. |
78-
| `FACT_TRANSFERS` | `nft.transfers` where `nft_contract_address` is ENS | Contains ENS domain transfer events. On Dune, you would query the `nft.transfers` table and filter for the ENS contract address (`0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85`). |
78+
| `FACT_TRANSFERS` | `tokens.transfers` | Contains token transfer events. Dune's `tokens.transfers` is a curated Spell that provides a standardized format for all token transfers. |
7979
| `EZ_GOVERNANCE_VOTES` | `governance.votes` | Contains records of governance votes. Dune's `governance.votes` spell covers multiple protocols, including Maker. |
8080
| `FACT_CAT_BITE` | `maker_ethereum.cat_evt_bite` | Contains MakerDAO liquidation events. This is a direct mapping to the raw event table in Dune. |
8181
| `DIM_NFT_COLLECTION_METADATA` | `nft.collections` | Contains metadata for NFT collections. Dune's `nft.collections` Spell provides curated metadata for a vast number of NFT collections. |
8282
| `EZ_NFT_MINTS` | `nft.mints` | Contains NFT mint events. Dune's `nft.mints` is a curated Spell that identifies and standardizes minting events across various standards. |
8383
| `EZ_NFT_SALES` | `nft.trades` | Contains NFT sale events. **This is another major improvement on Dune.** The `nft.trades` Spell is a powerful abstraction that aggregates sales across dozens of marketplaces into a single, clean table. |
8484
| `EZ_NFT_TRANSFERS` | `nft.transfers` | Contains NFT transfer events. Dune's `nft.transfers` curated table is the standard place to find all ERC721 and ERC1155 transfers. |
8585
| `EZ_ASSET_METADATA` | `tokens.erc20`, `tokens.nft` | Contains asset metadata. Dune separates metadata for fungible (`tokens.erc20`) and non-fungible (`tokens.nft`) tokens into dedicated, curated tables. |
86-
| `EZ_PRICES_HOURLY` | `prices.usd_hourly` | Provides hourly token prices. This is a direct mapping to Dune's hourly prices table. Dune also offers `prices.usd_daily` and `prices.usd_latest`. |
86+
| `EZ_PRICES_HOURLY` | `prices.hour` | Provides hourly token prices. This is a direct mapping to Dune's hourly prices table. Dune also offers `prices.usd_daily` and `prices.usd_latest`. |
8787
| `EZ_SWAPS` | `dex.trades` | Contains DEX swap events. This maps to Dune's comprehensive `dex.trades` Spell, which covers a much wider array of DEXs. |
8888
| `DIM_DATES` | `utils.days`, `utils.hours`, `utils.minutes` | Provides a table of dates for time-series analysis. Dune offers several utility tables for different time granularities to simplify `JOIN` operations. |
8989
| `FACT_TRACES` | `ethereum.traces` | Contains raw trace data for internal contract calls. This is a direct one-to-one mapping. |

0 commit comments

Comments
 (0)