You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learning/flipside-migration-guide.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: "A comprehensive guide for Flipside users transitioning to Dune, in
5
5
6
6
# Migrating from Flipside to Dune
7
7
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.
9
9
10
10
Dune offers a powerful platform for blockchain analytics, powered by a community of thousands of creators. We're excited to have you join us\!
11
11
@@ -48,7 +48,7 @@ Below is a comprehensive mapping of Flipside's tables to their Dune equivalents.
48
48
|`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. |
49
49
|`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`). |
50
50
|`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. |
52
52
|`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. |
53
53
|`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. |
54
54
|`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.
75
75
|`FACT_DAO_VOTES`|`dao.votes`| Contains DAO voting records. Dune's `dao.votes` Spell aims to standardize voting data across different DAO frameworks. |
76
76
|`FACT_REGISTRATIONS`|`ens.view_registrations`| Contains ENS registration records. This is a direct mapping. |
77
77
|`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. |
79
79
|`EZ_GOVERNANCE_VOTES`|`governance.votes`| Contains records of governance votes. Dune's `governance.votes` spell covers multiple protocols, including Maker. |
80
80
|`FACT_CAT_BITE`|`maker_ethereum.cat_evt_bite`| Contains MakerDAO liquidation events. This is a direct mapping to the raw event table in Dune. |
81
81
|`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. |
82
82
|`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. |
83
83
|`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. |
84
84
|`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. |
85
85
|`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`. |
87
87
|`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. |
88
88
|`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. |
89
89
|`FACT_TRACES`|`ethereum.traces`| Contains raw trace data for internal contract calls. This is a direct one-to-one mapping. |
0 commit comments