diff --git a/README.md b/README.md index 7145554..9b40a08 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,35 @@ --- description: >- - Flipside provides Community Enabled Crypto Analytics, allowing our users to - create and share data insights on the crypto projects they care most about. + Flipside generates the world's most usable, comprehensive blockchain data, and + gives you the tools you need to access it for free. --- -# What is Flipside? +# Welcome to Flipside! -### Flipside Crypto puts pre-modeled and labeled blockchain data in the hands of communities. +### Getting Started -Through our [web SQL/dashboard editor](https://app.flipsidecrypto.com/) and our [SDK](shroomdk-sdk/get-started.md), data analysts can easily create queries that answer any question. +With the app at [flipsidecrypto.xyz](https://flipsidecrypto.xyz), and a little SQL knowledge, you can analyze blockchain data, visualize it, and share your results instantly. **The app is the where most people get started,** and it's perfect for everything from casual data exploration to intricate storytelling with comprehensive visualization and dashboarding tools. If you're looking for inspiration, you can also explore the published work of the best analyst community in web3 — it's right there on the homepage! -### **Community members earn bounties for answering questions with data** +If you need **programmatic access** to blockchain data (say: you're building an app, or a trading model, or you prefer working locally in R or Python), you'll want to get set up with API access via [ShroomDK](broken-reference). -Bounties provide incentive and direction, so crypto projects can quickly source the data insights they need in order to grow. +**If you're part of a team** that's looking to work with our data in your own Snowflake environment, join our data with your internal data, or download large data sets from us, you'll want to request access to our [Snowflake Data Shares](data-shares/snowflake-data-shares.md). -### **Flipside works directly with leading crypto projects to reward on-demand analytics through structured bounty programs.** +### Important Things to Know -Questions sourced directly from the community provide insight into what communities care about as well as analytics needed to drive ecosystem engagement and growth.\ +* All our data is accessible via SQL queries. +* Snowflake is our data store, so you'll use [Snowflake SQL](our-data/using-snowflake-sql.md) to access it. +* Our data structures are and designed for ease of use and efficient querying, and are [extensively documented](our-data/data-table-documentation.md). +* Latency varies from table to table, but typically lags either 1 hour or 1 day, at most. +* If you run into difficulty getting your queries to run, we provide [guidance for efficient query writing](our-data/writing-efficient-queries.md) — and you can always get help in our [Discord](https://discord.gg/ZmU3jQuu6W). + +### What blockchains and projects does Flipside have data on? + +If it happens on-chain, we've got it. Data include core tables (blocks, events, transactions) for every chain, with added 'easy' tables (swaps, prices, etc.) and project-specific tables modeled by the Flipside community. + +See our [Data Table Documentation](our-data/data-table-documentation.md) for a current list of supported chains. + + + +__\ __ diff --git a/SUMMARY.md b/SUMMARY.md index 3f8c27c..cd5e760 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -1,210 +1,33 @@ # Table of contents -* [What is Flipside?](README.md) +* [Welcome to Flipside!](README.md) ## Our Data -* [Access Flipside Data](our-data/access-flipside-data.md) -* [Tables](our-data/tables/README.md) - * [AAVE Tables](our-data/tables/aave-tables/README.md) - * [Market Stats](our-data/tables/aave-tables/market-stats.md) - * [Votes](our-data/tables/aave-tables/votes.md) - * [Proposals](our-data/tables/aave-tables/proposals.md) - * [Deposits](our-data/tables/aave-tables/deposits.md) - * [Liquidations](our-data/tables/aave-tables/liquidations.md) - * [Borrows](our-data/tables/aave-tables/borrows.md) - * [Repayments](our-data/tables/aave-tables/repayments.md) - * [Flashloans](our-data/tables/aave-tables/flashloans.md) - * [Withdraws](our-data/tables/aave-tables/withdraws.md) - * [Algorand Tables](our-data/tables/algorand-tables/README.md) - * [Algorand Base Tables](our-data/tables/algorand-tables/algorand-base-tables/README.md) - * [Account](our-data/tables/algorand-tables/algorand-base-tables/account.md) - * [Account App](our-data/tables/algorand-tables/algorand-base-tables/account-app.md) - * [Account Asset](our-data/tables/algorand-tables/algorand-base-tables/account-asset.md) - * [App](our-data/tables/algorand-tables/algorand-base-tables/app.md) - * [Application Call Transaction](our-data/tables/algorand-tables/algorand-base-tables/application-call-transaction.md) - * [Asset](our-data/tables/algorand-tables/algorand-base-tables/asset.md) - * [Asset Configuration Transaction](our-data/tables/algorand-tables/algorand-base-tables/asset-configuration-transaction.md) - * [Asset Freeze Transaction](our-data/tables/algorand-tables/algorand-base-tables/asset-freeze-transaction.md) - * [Asset Transfer Transaction](our-data/tables/algorand-tables/algorand-base-tables/asset-transfer-transaction.md) - * [Block](our-data/tables/algorand-tables/algorand-base-tables/block.md) - * [Key Registration Transaction](our-data/tables/algorand-tables/algorand-base-tables/key-registration-transaction.md) - * [Payment Transaction](our-data/tables/algorand-tables/algorand-base-tables/payment-transaction.md) - * [Transactions](our-data/tables/algorand-tables/algorand-base-tables/transactions.md) - * [Transfers](our-data/tables/algorand-tables/algorand-base-tables/transfers.md) - * [Swaps](our-data/tables/algorand-tables/algorand-base-tables/swaps.md) - * [Transactions Participation](our-data/tables/algorand-tables/algorand-base-tables/transactions-participation.md) - * [Prices Swap](our-data/tables/algorand-tables/algorand-base-tables/prices-swap.md) - * [Prices Pool Balances](our-data/tables/algorand-tables/algorand-base-tables/prices-pool-balances.md) - * [Daily Balances](our-data/tables/algorand-tables/algorand-base-tables/daily-balances.md) - * [Core Tables](our-data/tables/algorand-tables/core-tables.md) - * [Arbitrum Tables](our-data/tables/arbitrum-tables.md) - * [Astroport Tables](our-data/tables/astroport-tables/README.md) - * [Astroport Pool Reserves](our-data/tables/astroport-tables/lp-actions.md) - * [Astroport Swaps](our-data/tables/astroport-tables/swap.md) - * [Avalanche Tables](our-data/tables/avalanche-tables.md) - * [Axelar Tables](our-data/tables/axelar-tables.md) - * [BSC Tables](our-data/tables/bsc-tables.md) - * [Compound Tables](our-data/tables/compound-tables/README.md) - * [Repayments](our-data/tables/compound-tables/repayments.md) - * [Redemptions](our-data/tables/compound-tables/redemptions.md) - * [Deposits](our-data/tables/compound-tables/mints.md) - * [Liquidations](our-data/tables/compound-tables/liquidations.md) - * [Borrows](our-data/tables/compound-tables/borrows.md) - * [Market Stats](our-data/tables/compound-tables/market-stats.md) - * [Cosmos Tables](our-data/tables/cosmos-tables.md) - * [Crosschain Tables](our-data/tables/crosschain-tables/README.md) - * [Fact Hourly Prices](our-data/tables/crosschain-tables/fact-hourly-prices.md) - * [Dim Asset Metadata](our-data/tables/crosschain-tables/dim-asset-metadata.md) - * [Dim Dates](our-data/tables/crosschain-tables/dim-dates.md) - * [Dim Date Hours](our-data/tables/crosschain-tables/dim-date-hours.md) - * [Crosschain Address Labels](our-data/tables/crosschain-tables/crosschain-address-labels.md) - * [Crosschain Address Tags](our-data/tables/crosschain-tables/crosschain-address-tags.md) - * [Ethereum Tables](our-data/tables/ethereum-tables.md) - * [Ethereum Beacon Chain Tables](our-data/tables/ethereum-beacon-chain-tables.md) - * [Ethereum Beta Tables](our-data/tables/ethereum-beta-tables.md) - * [Ethereum Chainlink Tables](our-data/tables/ethereum-chainlink-tables.md) - * [Ethereum Maker DAO Tables](our-data/tables/ethereum-maker-dao-tables.md) - * [Ethereum Sushi Tables](our-data/tables/ethereum-sushi-tables.md) - * [FLOW Tables](our-data/tables/flow-tables/README.md) - * [Blocks](our-data/tables/flow-tables/blocks.md) - * [Bridge Transactions](our-data/tables/flow-tables/bridge-transactions.md) - * [Contract Labels](our-data/tables/flow-tables/contract-labels.md) - * [Events](our-data/tables/flow-tables/events.md) - * [Moment Metadata](our-data/tables/flow-tables/moment-metadata.md) - * [NFT Sales](our-data/tables/flow-tables/nft-sales.md) - * [Prices](our-data/tables/flow-tables/prices.md) - * [Swaps](our-data/tables/flow-tables/swaps.md) - * [Token Transfers](our-data/tables/flow-tables/token-transfers.md) - * [TopShot Metadata](our-data/tables/flow-tables/topshot-metadata.md) - * [Transactions](our-data/tables/flow-tables/transactions.md) - * [Validator Labels](our-data/tables/flow-tables/validator-labels.md) - * [Gnosis Tables](our-data/tables/gnosis-tables.md) - * [NEAR Tables](our-data/tables/near-tables.md) - * [Optimism Tables](our-data/tables/optimism-tables.md) - * [Osmosis Tables](our-data/tables/osmosis-tables/README.md) - * [Osmosis Fact Airdrops](our-data/tables/osmosis-tables/osmosis-fact-airdrops.md) - * [Osmosis Fact Blocks Table](our-data/tables/osmosis-tables/osmosis-fact-blocks-table.md) - * [Osmosis Daily Balances](our-data/tables/osmosis-tables/osmosis-daily-balances.md) - * [Osmosis Fact Governance Proposal Deposits](our-data/tables/osmosis-tables/osmosis-fact-governance-proposal-deposits.md) - * [Osmosis Fact Governance Submit Proposal](our-data/tables/osmosis-tables/osmosis-fact-governance-submit-proposal.md) - * [Osmosis Fact Governance Votes](our-data/tables/osmosis-tables/osmosis-fact-governance-votes.md) - * [Osmosis Dim Labels](our-data/tables/osmosis-tables/osmosis-dim-labels.md) - * [Osmosis Dim Liquidity Pools](our-data/tables/osmosis-tables/osmosis-dim-liquidity-pools.md) - * [Osmosis Fact Liquidity Provider Actions](our-data/tables/osmosis-tables/osmosis-fact-liquidity-provider-actions.md) - * [Osmosis Fact Msg Attributes Table](our-data/tables/osmosis-tables/osmosis-fact-msg-attributes-table.md) - * [Osmosis Fact Msgs Table](our-data/tables/osmosis-tables/osmosis-fact-msgs-table.md) - * [Osmosis Dim Prices](our-data/tables/osmosis-tables/osmosis-dim-prices.md) - * [Osmosis Fact Staking Rewards](our-data/tables/osmosis-tables/osmosis-fact-staking-rewards.md) - * [Osmosis Fact Staking](our-data/tables/osmosis-tables/osmosis-fact-staking.md) - * [Osmosis Fact Superfluid Staking](our-data/tables/osmosis-tables/osmosis-fact-superfluid-staking.md) - * [Osmosis Fact Swaps](our-data/tables/osmosis-tables/osmosis-fact-swaps.md) - * [Osmosis Dim Tokens](our-data/tables/osmosis-tables/osmosis-dim-tokens.md) - * [Osmosis Fact Transactions Table](our-data/tables/osmosis-tables/osmosis-fact-transactions-table.md) - * [Osmosis Fact Transfers](our-data/tables/osmosis-tables/osmosis-fact-transfers.md) - * [Osmosis Fact Validators](our-data/tables/osmosis-tables/osmosis-fact-validators.md) - * [Osmosis Dim Vote Options](our-data/tables/osmosis-tables/osmosis-dim-vote-options.md) - * [Osmosis EZ Prices](our-data/tables/osmosis-tables/osmosis-ez-prices.md) - * [Osmosis EZ ICNS](our-data/tables/osmosis-tables/osmosis-ez-icns.md) - * [Polygon Tables](our-data/tables/polygon-tables/README.md) - * [Polygon Events Emitted](our-data/tables/polygon-tables/polygon-events-emitted.md) - * [Polygon Transactions](our-data/tables/polygon-tables/polygon-transactions.md) - * [Polygon UDM Events](our-data/tables/polygon-tables/polygon-udm-events.md) - * [Position Collected Fees](our-data/tables/polygon-tables/position-collected-fees.md) - * [Swaps](our-data/tables/polygon-tables/swaps.md) - * [V3 Resources](our-data/tables/polygon-tables/v3-resources.md) - * [Polygon 2.0 Tables](our-data/tables/polygon-2.0-tables.md) - * [Solana Tables](our-data/tables/solana-tables.md) - * [Terra Tables](our-data/tables/terra-tables/README.md) - * [Terra Raw Tables](our-data/tables/terra-tables/terra-raw-tables/README.md) - * [Blocks](our-data/tables/terra-tables/terra-raw-tables/blocks.md) - * [Msgs](our-data/tables/terra-tables/terra-raw-tables/msgs.md) - * [Msg\_events](our-data/tables/terra-tables/terra-raw-tables/msg\_events.md) - * [Transactions](our-data/tables/terra-tables/terra-raw-tables/transactions.md) - * [Transitions](our-data/tables/terra-tables/terra-raw-tables/transitions.md) - * [Terra Base Tables](our-data/tables/terra-tables/terra-base-tables/README.md) - * [Validator Labels](our-data/tables/terra-tables/terra-base-tables/validator-labels.md) - * [Labels](our-data/tables/terra-tables/terra-base-tables/labels.md) - * [Oracle Prices](our-data/tables/terra-tables/terra-base-tables/oracle-prices.md) - * [Tax Rate](our-data/tables/terra-tables/terra-base-tables/tax-rate.md) - * [Daily Balances](our-data/tables/terra-tables/terra-base-tables/daily-balances.md) - * [Swaps](our-data/tables/terra-tables/terra-base-tables/swap.md) - * [Staking](our-data/tables/terra-tables/terra-base-tables/staking.md) - * [Reward](our-data/tables/terra-tables/terra-base-tables/rewards.md) - * [Transfer Events](our-data/tables/terra-tables/terra-base-tables/transfer-events.md) - * [Event Actions](our-data/tables/terra-tables/terra-base-tables/event-actions.md) - * [Terraswap Tables](our-data/tables/terraswap-tables/README.md) - * [Terraswap LP Actions](our-data/tables/terraswap-tables/lp-actions.md) - * [Terraswap Pool Reserves](our-data/tables/terraswap-tables/lp-actions-1.md) - * [Terraswap Swaps](our-data/tables/terraswap-tables/swap.md) - * [THORChain Tables](our-data/tables/thorchain-tables/README.md) - * [THORChain Raw Table](our-data/tables/thorchain-tables/thorchain-raw-table/README.md) - * [Active Vault Events](our-data/tables/thorchain-tables/thorchain-raw-table/active-vault-events.md) - * [Inactive Vault Events](our-data/tables/thorchain-tables/thorchain-raw-table/inactive-vault-events.md) - * [Add events](our-data/tables/thorchain-tables/thorchain-raw-table/add-events.md) - * [Block Pool Depths](our-data/tables/thorchain-tables/thorchain-raw-table/block-pool-depths.md) - * [Bond Events](our-data/tables/thorchain-tables/thorchain-raw-table/bond-events.md) - * [Fee Events](our-data/tables/thorchain-tables/thorchain-raw-table/fee-events.md) - * [Gas Events](our-data/tables/thorchain-tables/thorchain-raw-table/gas-events.md) - * [Message Events](our-data/tables/thorchain-tables/thorchain-raw-table/message-events.md) - * [New Node Events](our-data/tables/thorchain-tables/thorchain-raw-table/new-node-events.md) - * [Pending Liquidity Events](our-data/tables/thorchain-tables/thorchain-raw-table/pending-liquidity-events.md) - * [Pool Balance Change Events](our-data/tables/thorchain-tables/thorchain-raw-table/pool-balance-change-events.md) - * [Pool Events](our-data/tables/thorchain-tables/thorchain-raw-table/pool-events.md) - * [Refund Events](our-data/tables/thorchain-tables/thorchain-raw-table/refund-events.md) - * [Reserve Events](our-data/tables/thorchain-tables/thorchain-raw-table/reserve-events.md) - * [Rewards Events](our-data/tables/thorchain-tables/thorchain-raw-table/rewards-events.md) - * [Rewards Event Entries](our-data/tables/thorchain-tables/thorchain-raw-table/rewards-event-entries.md) - * [Swap Events](our-data/tables/thorchain-tables/thorchain-raw-table/swap-events.md) - * [THORChain Base Table](our-data/tables/thorchain-tables/thorchain-base-table/README.md) - * [Block Rewards](our-data/tables/thorchain-tables/thorchain-base-table/block-rewards.md) - * [Bond Actions](our-data/tables/thorchain-tables/thorchain-base-table/bond-actions.md) - * [Daily Earnings](our-data/tables/thorchain-tables/thorchain-base-table/daily-earnings.md) - * [Daily Pool Stats](our-data/tables/thorchain-tables/thorchain-base-table/daily-pool-stats.md) - * [Daily TVL](our-data/tables/thorchain-tables/thorchain-base-table/daily-tvl.md) - * [Prices](our-data/tables/thorchain-tables/thorchain-base-table/prices.md) - * [Swaps](our-data/tables/thorchain-tables/thorchain-base-table/swaps.md) - * [Liquidity Actions](our-data/tables/thorchain-tables/thorchain-base-table/liquidity-actions.md) - * [Pool Block Balances](our-data/tables/thorchain-tables/thorchain-base-table/pool-block-balances.md) - * [Pool Block Fees](our-data/tables/thorchain-tables/thorchain-base-table/pool-block-fees.md) - * [Pool Block Statistics](our-data/tables/thorchain-tables/thorchain-base-table/pool-block-statistics.md) - * [Total Block Rewards](our-data/tables/thorchain-tables/thorchain-base-table/total-block-rewards.md) - * [Total Value Locked](our-data/tables/thorchain-tables/thorchain-base-table/total-value-locked.md) - * [Transfers](our-data/tables/thorchain-tables/thorchain-base-table/transfers.md) - * [Upgrades](our-data/tables/thorchain-tables/thorchain-base-table/upgrades.md) - * [Thorchain Core Tables](our-data/tables/thorchain-tables/thorchain-core-tables.md) - * [Uniswap V3 Tables](our-data/tables/uniswap-v3-tables/README.md) - * [Pools](our-data/tables/uniswap-v3-tables/pools.md) - * [Pool Stats](our-data/tables/uniswap-v3-tables/pool-stats.md) - * [Positions](our-data/tables/uniswap-v3-tables/positions.md) - * [LP Actions](our-data/tables/uniswap-v3-tables/lp-actions.md) -* [Address Tags & Labels](our-data/address-tags-and-labels/README.md) - * [Featured Tags & SQL Examples](our-data/address-tags-and-labels/featured-tags-and-sql-examples.md) - * [How to Add Your Own Tags](our-data/address-tags-and-labels/how-to-add-your-own-tags.md) - * [Labels](our-data/address-tags-and-labels/labels/README.md) - * [Centralized Exchange Label Type](our-data/address-tags-and-labels/labels/cex-label-type.md) - * [Decentralized Exchange Label Type](our-data/address-tags-and-labels/labels/dex-label-type.md) - * [Operator Label Type](our-data/address-tags-and-labels/labels/operator-label-type.md) - * [Chain Admin Label Type](our-data/address-tags-and-labels/labels/chadmin-label-type.md) - * [Decentralized Finance Label Type](our-data/address-tags-and-labels/labels/defi-label-type.md) - * [NonFungible Tokens Label Type](our-data/address-tags-and-labels/labels/nft-label-type.md) - * [Layer Two Label Type](our-data/address-tags-and-labels/labels/layer2-label-type.md) - * [Decentralized Applications Label Type](our-data/address-tags-and-labels/labels/other-label-type.md) - * [Token Label Type](our-data/address-tags-and-labels/labels/token-label-type.md) - * [Flotsam Label Type](our-data/address-tags-and-labels/labels/flotsam-label-type.md) -* [Data Model Overview](our-data/data-models/README.md) - * [Facts and Dimensions](our-data/data-models/facts-and-dimensions.md) -* [Data Updates](our-data/data-updates.md) -* [Data Tutorials](our-data/tutorials/README.md) +* [Data Table Documentation](our-data/data-table-documentation.md) +* [Using Snowflake SQL](our-data/using-snowflake-sql.md) +* [Writing Efficient Queries](our-data/writing-efficient-queries.md) +* [Data Modeling Approach](our-data/data-models.md) +* [Tags](our-data/featured-tags-and-sql-examples/README.md) + * [How to Add Your Own Tags](our-data/featured-tags-and-sql-examples/how-to-add-your-own-tags.md) +* [Labels](our-data/labels/README.md) + * [Centralized Exchange Label Type](our-data/labels/cex-label-type.md) + * [Decentralized Exchange Label Type](our-data/labels/dex-label-type.md) + * [Operator Label Type](our-data/labels/operator-label-type.md) + * [Chain Admin Label Type](our-data/labels/chadmin-label-type.md) + * [Decentralized Finance Label Type](our-data/labels/defi-label-type.md) + * [NonFungible Tokens Label Type](our-data/labels/nft-label-type.md) + * [Layer Two Label Type](our-data/labels/layer2-label-type.md) + * [Decentralized Applications Label Type](our-data/labels/other-label-type.md) + * [Token Label Type](our-data/labels/token-label-type.md) + * [Flotsam Label Type](our-data/labels/flotsam-label-type.md) +* [Video Tutorials](our-data/tutorials/README.md) * [Overview of Schemas & Tables](our-data/tutorials/overview-of-schemas-and-tables.md) - * [Algorand Tutorials](our-data/tutorials/algorand-tutorials.md) * [Ethereum Tutorials](our-data/tutorials/ethereum-tutorials/README.md) * [Getting Started with Ethereum Events](our-data/tutorials/ethereum-tutorials/getting-started-with-ethereum-events.md) * [Getting Started with Ethereum ERC20 Balances](our-data/tutorials/ethereum-tutorials/getting-started-with-ethereum-erc20-balances.md) * [Using Labels to Break Down Token Supply](our-data/tutorials/ethereum-tutorials/using-labels-to-break-down-token-supply.md) * [Finding Centralized Exchange Deposits and Withdrawals](our-data/tutorials/ethereum-tutorials/finding-centralized-exchange-deposits-and-withdrawals.md) - * [Hex to Integer Function](our-data/tutorials/hex-to-integer-function.md) - * [MakerDAO Tutorials](our-data/tutorials/getting-started-with-dai-events.md) * [Solana Tutorials](our-data/tutorials/solana-tutorials/README.md) * [Solana Schema & Tables: Video Walkthrough](our-data/tutorials/solana-tutorials/solana-schema-and-tables-video-walkthrough.md) * [Solana Specialty Tables: Video Walkthrough](our-data/tutorials/solana-tutorials/solana-specialty-tables-video-walkthrough.md) @@ -212,12 +35,196 @@ * [THORChain Tutorials](our-data/tutorials/thorchain-tutorials/README.md) * [THORChain Schema & Tables](our-data/tutorials/thorchain-tutorials/thorchain-schema-and-tables.md) * [Calculating IL for THORChain](our-data/tutorials/thorchain-tutorials/calculating-il-for-thorchain.md) + * [MakerDAO Tutorials](our-data/tutorials/getting-started-with-dai-events.md) +* [Hex-to-Integer Function](our-data/hex-to-integer-function.md) +* [Archive](our-data/archive/README.md) + * [Data Updates](our-data/archive/data-updates.md) + * [Legacy Table Documentation](our-data/archive/tables/README.md) + * [AAVE Tables](our-data/archive/tables/aave-tables/README.md) + * [Market Stats](our-data/archive/tables/aave-tables/market-stats.md) + * [Votes](our-data/archive/tables/aave-tables/votes.md) + * [Proposals](our-data/archive/tables/aave-tables/proposals.md) + * [Deposits](our-data/archive/tables/aave-tables/deposits.md) + * [Liquidations](our-data/archive/tables/aave-tables/liquidations.md) + * [Borrows](our-data/archive/tables/aave-tables/borrows.md) + * [Repayments](our-data/archive/tables/aave-tables/repayments.md) + * [Flashloans](our-data/archive/tables/aave-tables/flashloans.md) + * [Withdraws](our-data/archive/tables/aave-tables/withdraws.md) + * [Algorand Tables](our-data/archive/tables/algorand-tables/README.md) + * [Algorand Base Tables](our-data/archive/tables/algorand-tables/algorand-base-tables/README.md) + * [Account](our-data/archive/tables/algorand-tables/algorand-base-tables/account.md) + * [Account App](our-data/archive/tables/algorand-tables/algorand-base-tables/account-app.md) + * [Account Asset](our-data/archive/tables/algorand-tables/algorand-base-tables/account-asset.md) + * [App](our-data/archive/tables/algorand-tables/algorand-base-tables/app.md) + * [Application Call Transaction](our-data/archive/tables/algorand-tables/algorand-base-tables/application-call-transaction.md) + * [Asset](our-data/archive/tables/algorand-tables/algorand-base-tables/asset.md) + * [Asset Configuration Transaction](our-data/archive/tables/algorand-tables/algorand-base-tables/asset-configuration-transaction.md) + * [Asset Freeze Transaction](our-data/archive/tables/algorand-tables/algorand-base-tables/asset-freeze-transaction.md) + * [Asset Transfer Transaction](our-data/archive/tables/algorand-tables/algorand-base-tables/asset-transfer-transaction.md) + * [Block](our-data/archive/tables/algorand-tables/algorand-base-tables/block.md) + * [Key Registration Transaction](our-data/archive/tables/algorand-tables/algorand-base-tables/key-registration-transaction.md) + * [Payment Transaction](our-data/archive/tables/algorand-tables/algorand-base-tables/payment-transaction.md) + * [Transactions](our-data/archive/tables/algorand-tables/algorand-base-tables/transactions.md) + * [Transfers](our-data/archive/tables/algorand-tables/algorand-base-tables/transfers.md) + * [Swaps](our-data/archive/tables/algorand-tables/algorand-base-tables/swaps.md) + * [Transactions Participation](our-data/archive/tables/algorand-tables/algorand-base-tables/transactions-participation.md) + * [Prices Swap](our-data/archive/tables/algorand-tables/algorand-base-tables/prices-swap.md) + * [Prices Pool Balances](our-data/archive/tables/algorand-tables/algorand-base-tables/prices-pool-balances.md) + * [Daily Balances](our-data/archive/tables/algorand-tables/algorand-base-tables/daily-balances.md) + * [Core Tables](our-data/archive/tables/algorand-tables/core-tables.md) + * [Arbitrum Tables](our-data/archive/tables/arbitrum-tables.md) + * [Astroport Tables](our-data/archive/tables/astroport-tables/README.md) + * [Astroport Pool Reserves](our-data/archive/tables/astroport-tables/lp-actions.md) + * [Astroport Swaps](our-data/archive/tables/astroport-tables/swap.md) + * [Avalanche Tables](our-data/archive/tables/avalanche-tables.md) + * [Axelar Tables](our-data/archive/tables/axelar-tables.md) + * [BSC Tables](our-data/archive/tables/bsc-tables.md) + * [Compound Tables](our-data/archive/tables/compound-tables/README.md) + * [Repayments](our-data/archive/tables/compound-tables/repayments.md) + * [Redemptions](our-data/archive/tables/compound-tables/redemptions.md) + * [Deposits](our-data/archive/tables/compound-tables/mints.md) + * [Liquidations](our-data/archive/tables/compound-tables/liquidations.md) + * [Borrows](our-data/archive/tables/compound-tables/borrows.md) + * [Market Stats](our-data/archive/tables/compound-tables/market-stats.md) + * [Cosmos Tables](our-data/archive/tables/cosmos-tables.md) + * [Crosschain Tables](our-data/archive/tables/crosschain-tables/README.md) + * [Fact Hourly Prices](our-data/archive/tables/crosschain-tables/fact-hourly-prices.md) + * [Dim Asset Metadata](our-data/archive/tables/crosschain-tables/dim-asset-metadata.md) + * [Dim Dates](our-data/archive/tables/crosschain-tables/dim-dates.md) + * [Dim Date Hours](our-data/archive/tables/crosschain-tables/dim-date-hours.md) + * [Crosschain Address Labels](our-data/archive/tables/crosschain-tables/crosschain-address-labels.md) + * [Crosschain Address Tags](our-data/archive/tables/crosschain-tables/crosschain-address-tags.md) + * [Ethereum Tables](our-data/archive/tables/ethereum-tables.md) + * [Ethereum Beacon Chain Tables](our-data/archive/tables/ethereum-beacon-chain-tables.md) + * [Ethereum Beta Tables](our-data/archive/tables/ethereum-beta-tables.md) + * [Ethereum Chainlink Tables](our-data/archive/tables/ethereum-chainlink-tables.md) + * [Ethereum Maker DAO Tables](our-data/archive/tables/ethereum-maker-dao-tables.md) + * [Ethereum Sushi Tables](our-data/archive/tables/ethereum-sushi-tables.md) + * [FLOW Tables](our-data/archive/tables/flow-tables/README.md) + * [Blocks](our-data/archive/tables/flow-tables/blocks.md) + * [Bridge Transactions](our-data/archive/tables/flow-tables/bridge-transactions.md) + * [Contract Labels](our-data/archive/tables/flow-tables/contract-labels.md) + * [Events](our-data/archive/tables/flow-tables/events.md) + * [Moment Metadata](our-data/archive/tables/flow-tables/moment-metadata.md) + * [NFT Sales](our-data/archive/tables/flow-tables/nft-sales.md) + * [Prices](our-data/archive/tables/flow-tables/prices.md) + * [Swaps](our-data/archive/tables/flow-tables/swaps.md) + * [Token Transfers](our-data/archive/tables/flow-tables/token-transfers.md) + * [TopShot Metadata](our-data/archive/tables/flow-tables/topshot-metadata.md) + * [Transactions](our-data/archive/tables/flow-tables/transactions.md) + * [Validator Labels](our-data/archive/tables/flow-tables/validator-labels.md) + * [Gnosis Tables](our-data/archive/tables/gnosis-tables.md) + * [NEAR Tables](our-data/archive/tables/near-tables.md) + * [Optimism Tables](our-data/archive/tables/optimism-tables.md) + * [Osmosis Tables](our-data/archive/tables/osmosis-tables/README.md) + * [Osmosis Fact Airdrops](our-data/archive/tables/osmosis-tables/osmosis-fact-airdrops.md) + * [Osmosis Fact Blocks Table](our-data/archive/tables/osmosis-tables/osmosis-fact-blocks-table.md) + * [Osmosis Daily Balances](our-data/archive/tables/osmosis-tables/osmosis-daily-balances.md) + * [Osmosis Fact Governance Proposal Deposits](our-data/archive/tables/osmosis-tables/osmosis-fact-governance-proposal-deposits.md) + * [Osmosis Fact Governance Submit Proposal](our-data/archive/tables/osmosis-tables/osmosis-fact-governance-submit-proposal.md) + * [Osmosis Fact Governance Votes](our-data/archive/tables/osmosis-tables/osmosis-fact-governance-votes.md) + * [Osmosis Dim Labels](our-data/archive/tables/osmosis-tables/osmosis-dim-labels.md) + * [Osmosis Dim Liquidity Pools](our-data/archive/tables/osmosis-tables/osmosis-dim-liquidity-pools.md) + * [Osmosis Fact Liquidity Provider Actions](our-data/archive/tables/osmosis-tables/osmosis-fact-liquidity-provider-actions.md) + * [Osmosis Fact Msg Attributes Table](our-data/archive/tables/osmosis-tables/osmosis-fact-msg-attributes-table.md) + * [Osmosis Fact Msgs Table](our-data/archive/tables/osmosis-tables/osmosis-fact-msgs-table.md) + * [Osmosis Dim Prices](our-data/archive/tables/osmosis-tables/osmosis-dim-prices.md) + * [Osmosis Fact Staking Rewards](our-data/archive/tables/osmosis-tables/osmosis-fact-staking-rewards.md) + * [Osmosis Fact Staking](our-data/archive/tables/osmosis-tables/osmosis-fact-staking.md) + * [Osmosis Fact Superfluid Staking](our-data/archive/tables/osmosis-tables/osmosis-fact-superfluid-staking.md) + * [Osmosis Fact Swaps](our-data/archive/tables/osmosis-tables/osmosis-fact-swaps.md) + * [Osmosis Dim Tokens](our-data/archive/tables/osmosis-tables/osmosis-dim-tokens.md) + * [Osmosis Fact Transactions Table](our-data/archive/tables/osmosis-tables/osmosis-fact-transactions-table.md) + * [Osmosis Fact Transfers](our-data/archive/tables/osmosis-tables/osmosis-fact-transfers.md) + * [Osmosis Fact Validators](our-data/archive/tables/osmosis-tables/osmosis-fact-validators.md) + * [Osmosis Dim Vote Options](our-data/archive/tables/osmosis-tables/osmosis-dim-vote-options.md) + * [Osmosis EZ Prices](our-data/archive/tables/osmosis-tables/osmosis-ez-prices.md) + * [Osmosis EZ ICNS](our-data/archive/tables/osmosis-tables/osmosis-ez-icns.md) + * [Polygon Tables](our-data/archive/tables/polygon-tables/README.md) + * [Polygon Events Emitted](our-data/archive/tables/polygon-tables/polygon-events-emitted.md) + * [Polygon Transactions](our-data/archive/tables/polygon-tables/polygon-transactions.md) + * [Polygon UDM Events](our-data/archive/tables/polygon-tables/polygon-udm-events.md) + * [Position Collected Fees](our-data/archive/tables/polygon-tables/position-collected-fees.md) + * [Swaps](our-data/archive/tables/polygon-tables/swaps.md) + * [V3 Resources](our-data/archive/tables/polygon-tables/v3-resources.md) + * [Polygon 2.0 Tables](our-data/archive/tables/polygon-2.0-tables.md) + * [Solana Tables](our-data/archive/tables/solana-tables.md) + * [Terra Tables](our-data/archive/tables/terra-tables/README.md) + * [Terra Raw Tables](our-data/archive/tables/terra-tables/terra-raw-tables/README.md) + * [Blocks](our-data/archive/tables/terra-tables/terra-raw-tables/blocks.md) + * [Msgs](our-data/archive/tables/terra-tables/terra-raw-tables/msgs.md) + * [Msg\_events](our-data/archive/tables/terra-tables/terra-raw-tables/msg\_events.md) + * [Transactions](our-data/archive/tables/terra-tables/terra-raw-tables/transactions.md) + * [Transitions](our-data/archive/tables/terra-tables/terra-raw-tables/transitions.md) + * [Terra Base Tables](our-data/archive/tables/terra-tables/terra-base-tables/README.md) + * [Validator Labels](our-data/archive/tables/terra-tables/terra-base-tables/validator-labels.md) + * [Labels](our-data/archive/tables/terra-tables/terra-base-tables/labels.md) + * [Oracle Prices](our-data/archive/tables/terra-tables/terra-base-tables/oracle-prices.md) + * [Tax Rate](our-data/archive/tables/terra-tables/terra-base-tables/tax-rate.md) + * [Daily Balances](our-data/archive/tables/terra-tables/terra-base-tables/daily-balances.md) + * [Swaps](our-data/archive/tables/terra-tables/terra-base-tables/swap.md) + * [Staking](our-data/archive/tables/terra-tables/terra-base-tables/staking.md) + * [Reward](our-data/archive/tables/terra-tables/terra-base-tables/rewards.md) + * [Transfer Events](our-data/archive/tables/terra-tables/terra-base-tables/transfer-events.md) + * [Event Actions](our-data/archive/tables/terra-tables/terra-base-tables/event-actions.md) + * [Terraswap Tables](our-data/archive/tables/terraswap-tables/README.md) + * [Terraswap LP Actions](our-data/archive/tables/terraswap-tables/lp-actions.md) + * [Terraswap Pool Reserves](our-data/archive/tables/terraswap-tables/lp-actions-1.md) + * [Terraswap Swaps](our-data/archive/tables/terraswap-tables/swap.md) + * [THORChain Tables](our-data/archive/tables/thorchain-tables/README.md) + * [THORChain Raw Table](our-data/archive/tables/thorchain-tables/thorchain-raw-table/README.md) + * [Active Vault Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/active-vault-events.md) + * [Inactive Vault Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/inactive-vault-events.md) + * [Add events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/add-events.md) + * [Block Pool Depths](our-data/archive/tables/thorchain-tables/thorchain-raw-table/block-pool-depths.md) + * [Bond Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/bond-events.md) + * [Fee Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/fee-events.md) + * [Gas Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/gas-events.md) + * [Message Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/message-events.md) + * [New Node Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/new-node-events.md) + * [Pending Liquidity Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/pending-liquidity-events.md) + * [Pool Balance Change Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/pool-balance-change-events.md) + * [Pool Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/pool-events.md) + * [Refund Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/refund-events.md) + * [Reserve Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/reserve-events.md) + * [Rewards Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/rewards-events.md) + * [Rewards Event Entries](our-data/archive/tables/thorchain-tables/thorchain-raw-table/rewards-event-entries.md) + * [Swap Events](our-data/archive/tables/thorchain-tables/thorchain-raw-table/swap-events.md) + * [THORChain Base Table](our-data/archive/tables/thorchain-tables/thorchain-base-table/README.md) + * [Block Rewards](our-data/archive/tables/thorchain-tables/thorchain-base-table/block-rewards.md) + * [Bond Actions](our-data/archive/tables/thorchain-tables/thorchain-base-table/bond-actions.md) + * [Daily Earnings](our-data/archive/tables/thorchain-tables/thorchain-base-table/daily-earnings.md) + * [Daily Pool Stats](our-data/archive/tables/thorchain-tables/thorchain-base-table/daily-pool-stats.md) + * [Daily TVL](our-data/archive/tables/thorchain-tables/thorchain-base-table/daily-tvl.md) + * [Prices](our-data/archive/tables/thorchain-tables/thorchain-base-table/prices.md) + * [Swaps](our-data/archive/tables/thorchain-tables/thorchain-base-table/swaps.md) + * [Liquidity Actions](our-data/archive/tables/thorchain-tables/thorchain-base-table/liquidity-actions.md) + * [Pool Block Balances](our-data/archive/tables/thorchain-tables/thorchain-base-table/pool-block-balances.md) + * [Pool Block Fees](our-data/archive/tables/thorchain-tables/thorchain-base-table/pool-block-fees.md) + * [Pool Block Statistics](our-data/archive/tables/thorchain-tables/thorchain-base-table/pool-block-statistics.md) + * [Total Block Rewards](our-data/archive/tables/thorchain-tables/thorchain-base-table/total-block-rewards.md) + * [Total Value Locked](our-data/archive/tables/thorchain-tables/thorchain-base-table/total-value-locked.md) + * [Transfers](our-data/archive/tables/thorchain-tables/thorchain-base-table/transfers.md) + * [Upgrades](our-data/archive/tables/thorchain-tables/thorchain-base-table/upgrades.md) + * [Thorchain Core Tables](our-data/archive/tables/thorchain-tables/thorchain-core-tables.md) + * [Uniswap V3 Tables](our-data/archive/tables/uniswap-v3-tables/README.md) + * [Pools](our-data/archive/tables/uniswap-v3-tables/pools.md) + * [Pool Stats](our-data/archive/tables/uniswap-v3-tables/pool-stats.md) + * [Positions](our-data/archive/tables/uniswap-v3-tables/positions.md) + * [LP Actions](our-data/archive/tables/uniswap-v3-tables/lp-actions.md) + * [Algorand Tutorials](our-data/archive/algorand-tutorials.md) -## Flipside App +## ShroomDK (SDK) -* [Getting Started with the Flipside App](velocity/getting-started-with-the-flipside-app.md) -* [Parameterized Queries](velocity/parameterized-queries.md) -* [Query Editor Shortcuts](velocity/query-editor-shortcuts.md) +* [Getting Started](shroomdk-sdk/get-started/README.md) + * [JavaScript / TypeScript](shroomdk-sdk/get-started/javascript-typescript.md) + * [Python](shroomdk-sdk/get-started/python.md) + * [R](shroomdk-sdk/get-started/r.md) + * [REST API](shroomdk-sdk/get-started/rest-api.md) +* [Example Code](shroomdk-sdk/examples.md) +* [Templates & Walkthroughs](shroomdk-sdk/templates-and-walkthroughs.md) +* [Rate Limits](shroomdk-sdk/rate-limits.md) +* [Community Showcase](shroomdk-sdk/community-showcase.md) ## Contribute to Our Data @@ -228,17 +235,6 @@ * [Contribution Workflow](contribute/getting-started/contribution-workflow.md) * [PR Checklist](contribute/pr-checklist.md) -## ShroomDK (SDK) - -* [🍄 Get Started](shroomdk-sdk/get-started.md) -* [JavaScript / TypeScript](shroomdk-sdk/javascript-typescript.md) -* [Python](shroomdk-sdk/python.md) -* [R](shroomdk-sdk/r.md) -* [REST API](shroomdk-sdk/rest-api.md) -* [Examples](shroomdk-sdk/examples.md) -* [Community Showcase](shroomdk-sdk/community-showcase.md) -* [Rate Limits](shroomdk-sdk/rate-limits.md) - ## Data Shares * [Snowflake Data Shares](data-shares/snowflake-data-shares.md) diff --git a/contribute/contribute-to-flipside-data.md b/contribute/contribute-to-flipside-data.md index 904bf18..9b2a63a 100644 --- a/contribute/contribute-to-flipside-data.md +++ b/contribute/contribute-to-flipside-data.md @@ -16,7 +16,7 @@ The models for each chain that we offer can be reviewed and contributed to on ou ### Tags & Labels -See [How to Add Tags](../our-data/address-tags-and-labels/how-to-add-your-own-tags.md) on the address tags & labels data model page. +See [How to Add Tags](../our-data/featured-tags-and-sql-examples/how-to-add-your-own-tags.md) on the address tags & labels data model page. ### SQL Models diff --git a/data-shares/snowflake-data-shares.md b/data-shares/snowflake-data-shares.md index 621784a..336458e 100644 --- a/data-shares/snowflake-data-shares.md +++ b/data-shares/snowflake-data-shares.md @@ -18,17 +18,17 @@ If it happens on-chain, we've got it. We have related off-chain data, too. Data include core tables (blocks, events, transactions) for every chain, with added 'easy' tables (nfts, swaps, prices, etc.) and project-specific tables modeled by the Flipside community. -| [Crosschain Tables (prices, address tags)](../our-data/tables/crosschain-tables/) | [MakerDAO](../our-data/tables/ethereum-maker-dao-tables.md) | -| --------------------------------------------------------------------------------- | ----------------------------------------------------------- | -| [Arbitrum](../our-data/tables/arbitrum-tables.md) | [NEAR ](../our-data/tables/near-tables.md) | -| [AAVE](../our-data/tables/aave-tables/) | [Optimism](../our-data/tables/optimism-tables.md) | -| [Avalanche](../our-data/tables/avalanche-tables.md) | [Osmosis](../our-data/tables/osmosis-tables/) | -| [Algorand](../our-data/tables/algorand-tables/) | [Polygon](../our-data/tables/polygon-2.0-tables.md) | -| [BSC](../our-data/tables/bsc-tables.md) | [Solana](../our-data/tables/solana-tables.md) | -| [Compound](../our-data/tables/compound-tables/) | [Sushi](../our-data/tables/ethereum-sushi-tables.md) | -| [Ethereum](../our-data/tables/ethereum-tables.md) | [FLOW](../our-data/tables/flow-tables/) | -| [THORChain](../our-data/tables/thorchain-tables/thorchain-base-table/) | [Gnosis](../our-data/tables/flow-tables/) | -| [Uniswap V3](../our-data/tables/uniswap-v3-tables/) | [Terra](../our-data/tables/terra-tables/) | +| [Crosschain Tables (prices, address tags)](../our-data/archive/tables/crosschain-tables/) | [MakerDAO](../our-data/archive/tables/ethereum-maker-dao-tables.md) | +| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | +| [Arbitrum](../our-data/archive/tables/arbitrum-tables.md) | [NEAR ](../our-data/archive/tables/near-tables.md) | +| [AAVE](../our-data/archive/tables/aave-tables/) | [Optimism](../our-data/archive/tables/optimism-tables.md) | +| [Avalanche](../our-data/archive/tables/avalanche-tables.md) | [Osmosis](../our-data/archive/tables/osmosis-tables/) | +| [Algorand](../our-data/archive/tables/algorand-tables/) | [Polygon](../our-data/archive/tables/polygon-2.0-tables.md) | +| [BSC](../our-data/archive/tables/bsc-tables.md) | [Solana](../our-data/archive/tables/solana-tables.md) | +| [Compound](../our-data/archive/tables/compound-tables/) | [Sushi](../our-data/archive/tables/ethereum-sushi-tables.md) | +| [Ethereum](../our-data/archive/tables/ethereum-tables.md) | [FLOW](../our-data/archive/tables/flow-tables/) | +| [THORChain](../our-data/archive/tables/thorchain-tables/thorchain-base-table/) | [Gnosis](../our-data/archive/tables/flow-tables/) | +| [Uniswap V3](../our-data/archive/tables/uniswap-v3-tables/) | [Terra](../our-data/archive/tables/terra-tables/) | ### How do I request a data share? diff --git a/our-data/access-flipside-data.md b/our-data/access-flipside-data.md deleted file mode 100644 index a04fb9c..0000000 --- a/our-data/access-flipside-data.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -description: Free the data. Query where you work. ---- - -# Access Flipside Data - - - -### Access - -Our data is free and you can access it in your preferred environment. - -#### Flipside Web App - -Almost everyone uses the [Flipside web app](https://flipside.new), our in-browser SQL editor, to explore our data, create visualizations, and publish dashboards. - -#### 'ShroomDK' API / SDKs - -Developers, analysts, and data scientists use our [REST API with 'ShroomDK' SDKs](../shroomdk-sdk/get-started.md) for JavaScript, Python, and R, to access our data programmatically. - -#### Data Shares - -Teams who want to build in their own Snowflake environment use our [Snowflake Data Shares](../data-shares/snowflake-data-shares.md) to build with large datasets joined with their own internal data. - - - -#### When should I use the Flipside web app? - -Use the [Flipside web app](https://flipside.new) to explore our data, create visualizations, and publish dashboards. The app also supports parameterized queries for interactive dashboards. - -The Flipside app is perfect for creating short or long form analyses for your own research, to solve analytics bounties (e.g. [Flipside bounties](https://flipsidecrypto.xyz/earn) or [MetricsDAO bounties](https://metricsdao.xyz/)), or to share your dashboards and insights with the world. - -#### When should I use the API/SDK? - -Use our [REST API with SDKs](https://docs.flipsidecrypto.com/shroomdk-sdk/sdks) when you want to build light-weight applications, analyze the results of your SQL with your preferred language, or build models and visualizations beyond the capabilities of the Flipside Web app. - -You should _not_ use the API to attempt ongoing downloads of large datasets (e.g. to copy our data) or if you want to join Flipside data with your own data. There’s a better and more robust way to access all our data: Snowflake data shares (see below). - -#### **When should I request a Snowflake data share?** - -Request a [data share](../data-shares/snowflake-data-shares.md) when you want Snowflake access to the entirety of our petabyte scale databases in your own Snowflake environment. This is the best option for teams who want to incorporate large amounts of historical data, real-time data, or who want to join our data with their own internal data. - -For more information or to request access please visit [https://data.flipsidecrypto.xyz/](https://data.flipsidecrypto.xyz/) - - - -### What blockchains and projects does Flipside have data on? - -If it happens on-chain, we've got it. We have related off-chain data, too. - -Data include core tables (blocks, events, transactions) for every chain, with added 'easy' tables (swaps, prices, etc.) and project-specific tables modeled by the Flipside community. - -| [Crosschain Tables (prices, address tags)](tables/crosschain-tables/) | [MakerDAO](tables/ethereum-maker-dao-tables.md) | -| --------------------------------------------------------------------- | ---------------------------------------------------------- | -| [Arbitrum](tables/arbitrum-tables.md) | [NEAR ](tables/near-tables.md) | -| [AAVE](tables/aave-tables/) | [Optimism](tables/optimism-tables.md) | -| [Avalanche](tables/avalanche-tables.md) | [Osmosis](tables/osmosis-tables/) | -| [Algorand](tables/algorand-tables/) | [Polygon (legacy tables)](tables/polygon-tables/) | -| [Astroport](tables/astroport-tables/) | [Polygon 2.0](tables/polygon-2.0-tables.md) | -| [BSC](tables/bsc-tables.md) | [Solana](tables/solana-tables.md) | -| [Compound](tables/compound-tables/) | [Sushi](tables/ethereum-sushi-tables.md) | -| [Ethereum (legacy tables)](broken-reference) | [Terra](tables/terra-tables/) | -| [Ethereum Core](tables/ethereum-tables.md) | [Terraswap](tables/terraswap-tables/) | -| [FLOW](tables/flow-tables/) | [THORChain](tables/thorchain-tables/thorchain-base-table/) | -| [Gnosis](tables/flow-tables/) | [Uniswap V3](tables/uniswap-v3-tables/) | -| [Axelar](tables/axelar-tables.md) | | - -Want to dive deeper? Use the [Flipside web app](https://flipside.new) to explore a specific data schema, or use the search bar at the top of our [Discover](https://flipsidecrypto.xyz/discover/dashboards) page to see trending analyses. - diff --git a/our-data/address-tags-and-labels/README.md b/our-data/address-tags-and-labels/README.md deleted file mode 100644 index f0097bb..0000000 --- a/our-data/address-tags-and-labels/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# Address Tags & Labels - -Want to see what interesting addresses are up to? - -Have a list of addresses you want to analyze without pasting them into your `where` clause? - -Tags are for you. - - - -Want to see what known entities like CEX, DEX, dApps, or NFT contracts are up to? - -Check out our labels.\ - - -### Lets explore! - -* [Featured Tags & SQL Examples](featured-tags-and-sql-examples.md) -* [How to Add Your Own Tags](how-to-add-your-own-tags.md) -* ``[`crosschain.core.address_tags` table docs](../tables/crosschain-tables/crosschain-address-tags.md) -* [Labels](labels/) -* ``[`crosschain.core.address_labels` table docs](../tables/crosschain-tables/crosschain-address-labels.md) - diff --git a/our-data/archive/README.md b/our-data/archive/README.md new file mode 100644 index 0000000..64d806e --- /dev/null +++ b/our-data/archive/README.md @@ -0,0 +1,6 @@ +--- +description: Legacy documentation, for reference only. +--- + +# Archive + diff --git a/our-data/tutorials/algorand-tutorials.md b/our-data/archive/algorand-tutorials.md similarity index 100% rename from our-data/tutorials/algorand-tutorials.md rename to our-data/archive/algorand-tutorials.md diff --git a/our-data/data-updates.md b/our-data/archive/data-updates.md similarity index 100% rename from our-data/data-updates.md rename to our-data/archive/data-updates.md diff --git a/our-data/tables/README.md b/our-data/archive/tables/README.md similarity index 96% rename from our-data/tables/README.md rename to our-data/archive/tables/README.md index 5c1c28d..364a149 100644 --- a/our-data/tables/README.md +++ b/our-data/archive/tables/README.md @@ -4,7 +4,9 @@ description: >- every queryable table. --- -# Tables +# Legacy Table Documentation + +\-- **ARCHIVED -- FOR REFERENCE ONLY --** Table level guides are organized by schema for every blockchain or blockchain project. \ \ diff --git a/our-data/tables/aave-tables/README.md b/our-data/archive/tables/aave-tables/README.md similarity index 97% rename from our-data/tables/aave-tables/README.md rename to our-data/archive/tables/aave-tables/README.md index 99c8dd0..1113034 100644 --- a/our-data/tables/aave-tables/README.md +++ b/our-data/archive/tables/aave-tables/README.md @@ -17,7 +17,7 @@ Debt tokens tokenize debt in the same way aTokens (or Compounds' cTokens) tokeni ### What about the Version columns (and blockchain)? -![](<../../../.gitbook/assets/Screen Shot 2021-08-16 at 3.22.45 PM.png>) +![](<../../../../.gitbook/assets/Screen Shot 2021-08-16 at 3.22.45 PM.png>) Aave a few different subsets of markets, shown above. diff --git a/our-data/tables/aave-tables/borrows.md b/our-data/archive/tables/aave-tables/borrows.md similarity index 100% rename from our-data/tables/aave-tables/borrows.md rename to our-data/archive/tables/aave-tables/borrows.md diff --git a/our-data/tables/aave-tables/deposits.md b/our-data/archive/tables/aave-tables/deposits.md similarity index 100% rename from our-data/tables/aave-tables/deposits.md rename to our-data/archive/tables/aave-tables/deposits.md diff --git a/our-data/tables/aave-tables/flashloans.md b/our-data/archive/tables/aave-tables/flashloans.md similarity index 100% rename from our-data/tables/aave-tables/flashloans.md rename to our-data/archive/tables/aave-tables/flashloans.md diff --git a/our-data/tables/aave-tables/liquidations.md b/our-data/archive/tables/aave-tables/liquidations.md similarity index 100% rename from our-data/tables/aave-tables/liquidations.md rename to our-data/archive/tables/aave-tables/liquidations.md diff --git a/our-data/tables/aave-tables/market-stats.md b/our-data/archive/tables/aave-tables/market-stats.md similarity index 100% rename from our-data/tables/aave-tables/market-stats.md rename to our-data/archive/tables/aave-tables/market-stats.md diff --git a/our-data/tables/aave-tables/proposals.md b/our-data/archive/tables/aave-tables/proposals.md similarity index 100% rename from our-data/tables/aave-tables/proposals.md rename to our-data/archive/tables/aave-tables/proposals.md diff --git a/our-data/tables/aave-tables/repayments.md b/our-data/archive/tables/aave-tables/repayments.md similarity index 100% rename from our-data/tables/aave-tables/repayments.md rename to our-data/archive/tables/aave-tables/repayments.md diff --git a/our-data/tables/aave-tables/votes.md b/our-data/archive/tables/aave-tables/votes.md similarity index 100% rename from our-data/tables/aave-tables/votes.md rename to our-data/archive/tables/aave-tables/votes.md diff --git a/our-data/tables/aave-tables/withdraws.md b/our-data/archive/tables/aave-tables/withdraws.md similarity index 100% rename from our-data/tables/aave-tables/withdraws.md rename to our-data/archive/tables/aave-tables/withdraws.md diff --git a/our-data/tables/algorand-tables/README.md b/our-data/archive/tables/algorand-tables/README.md similarity index 100% rename from our-data/tables/algorand-tables/README.md rename to our-data/archive/tables/algorand-tables/README.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/README.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/README.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/README.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/README.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/account-app.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/account-app.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/account-app.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/account-app.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/account-asset.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/account-asset.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/account-asset.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/account-asset.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/account.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/account.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/account.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/account.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/app.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/app.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/app.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/app.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/application-call-transaction.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/application-call-transaction.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/application-call-transaction.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/application-call-transaction.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/asset-configuration-transaction.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/asset-configuration-transaction.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/asset-configuration-transaction.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/asset-configuration-transaction.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/asset-freeze-transaction.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/asset-freeze-transaction.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/asset-freeze-transaction.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/asset-freeze-transaction.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/asset-transfer-transaction.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/asset-transfer-transaction.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/asset-transfer-transaction.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/asset-transfer-transaction.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/asset.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/asset.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/asset.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/asset.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/block.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/block.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/block.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/block.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/daily-balances.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/daily-balances.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/daily-balances.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/daily-balances.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/key-registration-transaction.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/key-registration-transaction.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/key-registration-transaction.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/key-registration-transaction.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/payment-transaction.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/payment-transaction.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/payment-transaction.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/payment-transaction.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/prices-pool-balances.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/prices-pool-balances.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/prices-pool-balances.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/prices-pool-balances.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/prices-swap.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/prices-swap.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/prices-swap.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/prices-swap.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/swaps.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/swaps.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/swaps.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/swaps.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/transactions-participation.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/transactions-participation.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/transactions-participation.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/transactions-participation.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/transactions.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/transactions.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/transactions.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/transactions.md diff --git a/our-data/tables/algorand-tables/algorand-base-tables/transfers.md b/our-data/archive/tables/algorand-tables/algorand-base-tables/transfers.md similarity index 100% rename from our-data/tables/algorand-tables/algorand-base-tables/transfers.md rename to our-data/archive/tables/algorand-tables/algorand-base-tables/transfers.md diff --git a/our-data/tables/algorand-tables/core-tables.md b/our-data/archive/tables/algorand-tables/core-tables.md similarity index 95% rename from our-data/tables/algorand-tables/core-tables.md rename to our-data/archive/tables/algorand-tables/core-tables.md index f2d9e3d..9ca9819 100644 --- a/our-data/tables/algorand-tables/core-tables.md +++ b/our-data/archive/tables/algorand-tables/core-tables.md @@ -6,7 +6,7 @@ The public Github repo with model source code is [here](https://github.com/Flips Overview of Fact Dimensional model with Primary & Foreign Key relationships: -
+
Quick Links to Table Docs: diff --git a/our-data/tables/arbitrum-tables.md b/our-data/archive/tables/arbitrum-tables.md similarity index 97% rename from our-data/tables/arbitrum-tables.md rename to our-data/archive/tables/arbitrum-tables.md index c0e52f1..419b206 100644 --- a/our-data/tables/arbitrum-tables.md +++ b/our-data/archive/tables/arbitrum-tables.md @@ -27,4 +27,4 @@ Arbitrum sushi tables __ -Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.hex\_to\_int() function](../tutorials/hex-to-integer-function.md). +Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.hex\_to\_int() function](../../hex-to-integer-function.md). diff --git a/our-data/tables/astroport-tables/README.md b/our-data/archive/tables/astroport-tables/README.md similarity index 100% rename from our-data/tables/astroport-tables/README.md rename to our-data/archive/tables/astroport-tables/README.md diff --git a/our-data/tables/astroport-tables/lp-actions.md b/our-data/archive/tables/astroport-tables/lp-actions.md similarity index 100% rename from our-data/tables/astroport-tables/lp-actions.md rename to our-data/archive/tables/astroport-tables/lp-actions.md diff --git a/our-data/tables/astroport-tables/swap.md b/our-data/archive/tables/astroport-tables/swap.md similarity index 100% rename from our-data/tables/astroport-tables/swap.md rename to our-data/archive/tables/astroport-tables/swap.md diff --git a/our-data/tables/avalanche-tables.md b/our-data/archive/tables/avalanche-tables.md similarity index 97% rename from our-data/tables/avalanche-tables.md rename to our-data/archive/tables/avalanche-tables.md index cdba17c..9c40b5c 100644 --- a/our-data/tables/avalanche-tables.md +++ b/our-data/archive/tables/avalanche-tables.md @@ -27,4 +27,4 @@ Quick Links to Table Docs: -Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.hex\_to\_int() function](../tutorials/hex-to-integer-function.md). +Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.hex\_to\_int() function](../../hex-to-integer-function.md). diff --git a/our-data/tables/axelar-tables.md b/our-data/archive/tables/axelar-tables.md similarity index 100% rename from our-data/tables/axelar-tables.md rename to our-data/archive/tables/axelar-tables.md diff --git a/our-data/tables/bsc-tables.md b/our-data/archive/tables/bsc-tables.md similarity index 96% rename from our-data/tables/bsc-tables.md rename to our-data/archive/tables/bsc-tables.md index 309d581..b26214d 100644 --- a/our-data/tables/bsc-tables.md +++ b/our-data/archive/tables/bsc-tables.md @@ -26,4 +26,4 @@ Quick Links to Table Docs: `` -Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.hex\_to\_int() function](../tutorials/hex-to-integer-function.md). +Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.hex\_to\_int() function](../../hex-to-integer-function.md). diff --git a/our-data/tables/compound-tables/README.md b/our-data/archive/tables/compound-tables/README.md similarity index 98% rename from our-data/tables/compound-tables/README.md rename to our-data/archive/tables/compound-tables/README.md index 8d6b887..ada8e0f 100644 --- a/our-data/tables/compound-tables/README.md +++ b/our-data/archive/tables/compound-tables/README.md @@ -4,7 +4,7 @@ The Compound table schemas build on the concepts laid out in [Flipside's event data model](broken-reference). Below is a visual overview of the Compound protocol's primary functions of decentralized borrowing and lending. -![](<../../../.gitbook/assets/Screen Shot 2021-04-20 at 11.44.31 AM.png>) +![](<../../../../.gitbook/assets/Screen Shot 2021-04-20 at 11.44.31 AM.png>) We have tables for most major events within the Compound ecosystem, though the data is still early. The tables are intended to be as easy to work with as possible and paint as complete a picture of Compound as possible. Here are [sample Compound queries](https://velocity-app.flipsidecrypto.com/velocity/collections/d54dd195-163c-4153-8595-50b22f629b08). diff --git a/our-data/tables/compound-tables/borrows.md b/our-data/archive/tables/compound-tables/borrows.md similarity index 100% rename from our-data/tables/compound-tables/borrows.md rename to our-data/archive/tables/compound-tables/borrows.md diff --git a/our-data/tables/compound-tables/liquidations.md b/our-data/archive/tables/compound-tables/liquidations.md similarity index 100% rename from our-data/tables/compound-tables/liquidations.md rename to our-data/archive/tables/compound-tables/liquidations.md diff --git a/our-data/tables/compound-tables/market-stats.md b/our-data/archive/tables/compound-tables/market-stats.md similarity index 100% rename from our-data/tables/compound-tables/market-stats.md rename to our-data/archive/tables/compound-tables/market-stats.md diff --git a/our-data/tables/compound-tables/mints.md b/our-data/archive/tables/compound-tables/mints.md similarity index 100% rename from our-data/tables/compound-tables/mints.md rename to our-data/archive/tables/compound-tables/mints.md diff --git a/our-data/tables/compound-tables/redemptions.md b/our-data/archive/tables/compound-tables/redemptions.md similarity index 100% rename from our-data/tables/compound-tables/redemptions.md rename to our-data/archive/tables/compound-tables/redemptions.md diff --git a/our-data/tables/compound-tables/repayments.md b/our-data/archive/tables/compound-tables/repayments.md similarity index 100% rename from our-data/tables/compound-tables/repayments.md rename to our-data/archive/tables/compound-tables/repayments.md diff --git a/our-data/tables/cosmos-tables.md b/our-data/archive/tables/cosmos-tables.md similarity index 100% rename from our-data/tables/cosmos-tables.md rename to our-data/archive/tables/cosmos-tables.md diff --git a/our-data/tables/crosschain-tables/README.md b/our-data/archive/tables/crosschain-tables/README.md similarity index 100% rename from our-data/tables/crosschain-tables/README.md rename to our-data/archive/tables/crosschain-tables/README.md diff --git a/our-data/tables/crosschain-tables/crosschain-address-labels.md b/our-data/archive/tables/crosschain-tables/crosschain-address-labels.md similarity index 95% rename from our-data/tables/crosschain-tables/crosschain-address-labels.md rename to our-data/archive/tables/crosschain-tables/crosschain-address-labels.md index 3bb834e..f027f24 100644 --- a/our-data/tables/crosschain-tables/crosschain-address-labels.md +++ b/our-data/archive/tables/crosschain-tables/crosschain-address-labels.md @@ -4,7 +4,7 @@ `crosschain.address_labels` -Also learn more about labels [here](../../address-tags-and-labels/). +Also learn more about labels [here](broken-reference). | Field | Type | Description | | ------------------- | --------- | -------------------------------------------------------------------------- | diff --git a/our-data/tables/crosschain-tables/crosschain-address-tags.md b/our-data/archive/tables/crosschain-tables/crosschain-address-tags.md similarity index 93% rename from our-data/tables/crosschain-tables/crosschain-address-tags.md rename to our-data/archive/tables/crosschain-tables/crosschain-address-tags.md index eb6c646..62dccc9 100644 --- a/our-data/tables/crosschain-tables/crosschain-address-tags.md +++ b/our-data/archive/tables/crosschain-tables/crosschain-address-tags.md @@ -4,7 +4,7 @@ `crosschain.core.address_tags` -Also learn more about tags [here](../../address-tags-and-labels/). +Also learn more about tags [here](broken-reference). | Field | Type | Description | | ----------- | --------- | ---------------------------------------------------------------------- | diff --git a/our-data/tables/crosschain-tables/dim-asset-metadata.md b/our-data/archive/tables/crosschain-tables/dim-asset-metadata.md similarity index 100% rename from our-data/tables/crosschain-tables/dim-asset-metadata.md rename to our-data/archive/tables/crosschain-tables/dim-asset-metadata.md diff --git a/our-data/tables/crosschain-tables/dim-date-hours.md b/our-data/archive/tables/crosschain-tables/dim-date-hours.md similarity index 100% rename from our-data/tables/crosschain-tables/dim-date-hours.md rename to our-data/archive/tables/crosschain-tables/dim-date-hours.md diff --git a/our-data/tables/crosschain-tables/dim-dates.md b/our-data/archive/tables/crosschain-tables/dim-dates.md similarity index 100% rename from our-data/tables/crosschain-tables/dim-dates.md rename to our-data/archive/tables/crosschain-tables/dim-dates.md diff --git a/our-data/tables/crosschain-tables/fact-hourly-prices.md b/our-data/archive/tables/crosschain-tables/fact-hourly-prices.md similarity index 100% rename from our-data/tables/crosschain-tables/fact-hourly-prices.md rename to our-data/archive/tables/crosschain-tables/fact-hourly-prices.md diff --git a/our-data/tables/ethereum-beacon-chain-tables.md b/our-data/archive/tables/ethereum-beacon-chain-tables.md similarity index 100% rename from our-data/tables/ethereum-beacon-chain-tables.md rename to our-data/archive/tables/ethereum-beacon-chain-tables.md diff --git a/our-data/tables/ethereum-beta-tables.md b/our-data/archive/tables/ethereum-beta-tables.md similarity index 100% rename from our-data/tables/ethereum-beta-tables.md rename to our-data/archive/tables/ethereum-beta-tables.md diff --git a/our-data/tables/ethereum-chainlink-tables.md b/our-data/archive/tables/ethereum-chainlink-tables.md similarity index 100% rename from our-data/tables/ethereum-chainlink-tables.md rename to our-data/archive/tables/ethereum-chainlink-tables.md diff --git a/our-data/tables/ethereum-maker-dao-tables.md b/our-data/archive/tables/ethereum-maker-dao-tables.md similarity index 100% rename from our-data/tables/ethereum-maker-dao-tables.md rename to our-data/archive/tables/ethereum-maker-dao-tables.md diff --git a/our-data/tables/ethereum-sushi-tables.md b/our-data/archive/tables/ethereum-sushi-tables.md similarity index 100% rename from our-data/tables/ethereum-sushi-tables.md rename to our-data/archive/tables/ethereum-sushi-tables.md diff --git a/our-data/tables/ethereum-tables.md b/our-data/archive/tables/ethereum-tables.md similarity index 97% rename from our-data/tables/ethereum-tables.md rename to our-data/archive/tables/ethereum-tables.md index 2560d39..f2f4cc3 100644 --- a/our-data/tables/ethereum-tables.md +++ b/our-data/archive/tables/ethereum-tables.md @@ -32,5 +32,5 @@ Quick Links to Table Docs:\ -Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.udf\_hex\_to\_int() function](../tutorials/hex-to-integer-function.md).\ +Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.udf\_hex\_to\_int() function](../../hex-to-integer-function.md).\ \ diff --git a/our-data/tables/flow-tables/README.md b/our-data/archive/tables/flow-tables/README.md similarity index 100% rename from our-data/tables/flow-tables/README.md rename to our-data/archive/tables/flow-tables/README.md diff --git a/our-data/tables/flow-tables/blocks.md b/our-data/archive/tables/flow-tables/blocks.md similarity index 100% rename from our-data/tables/flow-tables/blocks.md rename to our-data/archive/tables/flow-tables/blocks.md diff --git a/our-data/tables/flow-tables/bridge-transactions.md b/our-data/archive/tables/flow-tables/bridge-transactions.md similarity index 100% rename from our-data/tables/flow-tables/bridge-transactions.md rename to our-data/archive/tables/flow-tables/bridge-transactions.md diff --git a/our-data/tables/flow-tables/contract-labels.md b/our-data/archive/tables/flow-tables/contract-labels.md similarity index 100% rename from our-data/tables/flow-tables/contract-labels.md rename to our-data/archive/tables/flow-tables/contract-labels.md diff --git a/our-data/tables/flow-tables/events.md b/our-data/archive/tables/flow-tables/events.md similarity index 100% rename from our-data/tables/flow-tables/events.md rename to our-data/archive/tables/flow-tables/events.md diff --git a/our-data/tables/flow-tables/moment-metadata.md b/our-data/archive/tables/flow-tables/moment-metadata.md similarity index 100% rename from our-data/tables/flow-tables/moment-metadata.md rename to our-data/archive/tables/flow-tables/moment-metadata.md diff --git a/our-data/tables/flow-tables/nft-sales.md b/our-data/archive/tables/flow-tables/nft-sales.md similarity index 100% rename from our-data/tables/flow-tables/nft-sales.md rename to our-data/archive/tables/flow-tables/nft-sales.md diff --git a/our-data/tables/flow-tables/prices.md b/our-data/archive/tables/flow-tables/prices.md similarity index 100% rename from our-data/tables/flow-tables/prices.md rename to our-data/archive/tables/flow-tables/prices.md diff --git a/our-data/tables/flow-tables/swaps.md b/our-data/archive/tables/flow-tables/swaps.md similarity index 100% rename from our-data/tables/flow-tables/swaps.md rename to our-data/archive/tables/flow-tables/swaps.md diff --git a/our-data/tables/flow-tables/token-transfers.md b/our-data/archive/tables/flow-tables/token-transfers.md similarity index 100% rename from our-data/tables/flow-tables/token-transfers.md rename to our-data/archive/tables/flow-tables/token-transfers.md diff --git a/our-data/tables/flow-tables/topshot-metadata.md b/our-data/archive/tables/flow-tables/topshot-metadata.md similarity index 100% rename from our-data/tables/flow-tables/topshot-metadata.md rename to our-data/archive/tables/flow-tables/topshot-metadata.md diff --git a/our-data/tables/flow-tables/transactions.md b/our-data/archive/tables/flow-tables/transactions.md similarity index 100% rename from our-data/tables/flow-tables/transactions.md rename to our-data/archive/tables/flow-tables/transactions.md diff --git a/our-data/tables/flow-tables/validator-labels.md b/our-data/archive/tables/flow-tables/validator-labels.md similarity index 100% rename from our-data/tables/flow-tables/validator-labels.md rename to our-data/archive/tables/flow-tables/validator-labels.md diff --git a/our-data/tables/gnosis-tables.md b/our-data/archive/tables/gnosis-tables.md similarity index 100% rename from our-data/tables/gnosis-tables.md rename to our-data/archive/tables/gnosis-tables.md diff --git a/our-data/tables/near-tables.md b/our-data/archive/tables/near-tables.md similarity index 100% rename from our-data/tables/near-tables.md rename to our-data/archive/tables/near-tables.md diff --git a/our-data/tables/optimism-tables.md b/our-data/archive/tables/optimism-tables.md similarity index 97% rename from our-data/tables/optimism-tables.md rename to our-data/archive/tables/optimism-tables.md index d8706b7..516b6f6 100644 --- a/our-data/tables/optimism-tables.md +++ b/our-data/archive/tables/optimism-tables.md @@ -37,5 +37,5 @@ Velodrome -Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.hex\_to\_int() function](../tutorials/hex-to-integer-function.md). +Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.hex\_to\_int() function](../../hex-to-integer-function.md). diff --git a/our-data/tables/osmosis-tables/README.md b/our-data/archive/tables/osmosis-tables/README.md similarity index 100% rename from our-data/tables/osmosis-tables/README.md rename to our-data/archive/tables/osmosis-tables/README.md diff --git a/our-data/tables/osmosis-tables/osmosis-daily-balances.md b/our-data/archive/tables/osmosis-tables/osmosis-daily-balances.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-daily-balances.md rename to our-data/archive/tables/osmosis-tables/osmosis-daily-balances.md diff --git a/our-data/tables/osmosis-tables/osmosis-dim-labels.md b/our-data/archive/tables/osmosis-tables/osmosis-dim-labels.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-dim-labels.md rename to our-data/archive/tables/osmosis-tables/osmosis-dim-labels.md diff --git a/our-data/tables/osmosis-tables/osmosis-dim-liquidity-pools.md b/our-data/archive/tables/osmosis-tables/osmosis-dim-liquidity-pools.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-dim-liquidity-pools.md rename to our-data/archive/tables/osmosis-tables/osmosis-dim-liquidity-pools.md diff --git a/our-data/tables/osmosis-tables/osmosis-dim-prices.md b/our-data/archive/tables/osmosis-tables/osmosis-dim-prices.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-dim-prices.md rename to our-data/archive/tables/osmosis-tables/osmosis-dim-prices.md diff --git a/our-data/tables/osmosis-tables/osmosis-dim-tokens.md b/our-data/archive/tables/osmosis-tables/osmosis-dim-tokens.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-dim-tokens.md rename to our-data/archive/tables/osmosis-tables/osmosis-dim-tokens.md diff --git a/our-data/tables/osmosis-tables/osmosis-dim-vote-options.md b/our-data/archive/tables/osmosis-tables/osmosis-dim-vote-options.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-dim-vote-options.md rename to our-data/archive/tables/osmosis-tables/osmosis-dim-vote-options.md diff --git a/our-data/tables/osmosis-tables/osmosis-ez-icns.md b/our-data/archive/tables/osmosis-tables/osmosis-ez-icns.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-ez-icns.md rename to our-data/archive/tables/osmosis-tables/osmosis-ez-icns.md diff --git a/our-data/tables/osmosis-tables/osmosis-ez-prices.md b/our-data/archive/tables/osmosis-tables/osmosis-ez-prices.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-ez-prices.md rename to our-data/archive/tables/osmosis-tables/osmosis-ez-prices.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-airdrops.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-airdrops.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-airdrops.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-airdrops.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-blocks-table.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-blocks-table.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-blocks-table.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-blocks-table.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-governance-proposal-deposits.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-governance-proposal-deposits.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-governance-proposal-deposits.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-governance-proposal-deposits.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-governance-submit-proposal.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-governance-submit-proposal.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-governance-submit-proposal.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-governance-submit-proposal.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-governance-votes.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-governance-votes.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-governance-votes.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-governance-votes.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-liquidity-provider-actions.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-liquidity-provider-actions.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-liquidity-provider-actions.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-liquidity-provider-actions.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-msg-attributes-table.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-msg-attributes-table.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-msg-attributes-table.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-msg-attributes-table.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-msgs-table.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-msgs-table.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-msgs-table.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-msgs-table.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-staking-rewards.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-staking-rewards.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-staking-rewards.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-staking-rewards.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-staking.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-staking.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-staking.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-staking.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-superfluid-staking.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-superfluid-staking.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-superfluid-staking.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-superfluid-staking.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-swaps.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-swaps.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-swaps.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-swaps.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-transactions-table.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-transactions-table.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-transactions-table.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-transactions-table.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-transfers.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-transfers.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-transfers.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-transfers.md diff --git a/our-data/tables/osmosis-tables/osmosis-fact-validators.md b/our-data/archive/tables/osmosis-tables/osmosis-fact-validators.md similarity index 100% rename from our-data/tables/osmosis-tables/osmosis-fact-validators.md rename to our-data/archive/tables/osmosis-tables/osmosis-fact-validators.md diff --git a/our-data/tables/polygon-2.0-tables.md b/our-data/archive/tables/polygon-2.0-tables.md similarity index 97% rename from our-data/tables/polygon-2.0-tables.md rename to our-data/archive/tables/polygon-2.0-tables.md index c0f3aac..4ff461e 100644 --- a/our-data/tables/polygon-2.0-tables.md +++ b/our-data/archive/tables/polygon-2.0-tables.md @@ -29,5 +29,5 @@ Polygon sushi tables -Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.hex\_to\_int() function](../tutorials/hex-to-integer-function.md).\ +Note: when working with the `fact_transactions` and `fact_event_logs` tables, you may find it useful to use the [ethereum.public.hex\_to\_int() function](../../hex-to-integer-function.md).\ __ diff --git a/our-data/tables/polygon-tables/README.md b/our-data/archive/tables/polygon-tables/README.md similarity index 100% rename from our-data/tables/polygon-tables/README.md rename to our-data/archive/tables/polygon-tables/README.md diff --git a/our-data/tables/polygon-tables/polygon-events-emitted.md b/our-data/archive/tables/polygon-tables/polygon-events-emitted.md similarity index 87% rename from our-data/tables/polygon-tables/polygon-events-emitted.md rename to our-data/archive/tables/polygon-tables/polygon-events-emitted.md index ca020bf..86a6bc5 100644 --- a/our-data/tables/polygon-tables/polygon-events-emitted.md +++ b/our-data/archive/tables/polygon-tables/polygon-events-emitted.md @@ -24,15 +24,15 @@ Polygon events emitted table contains the information for the Polygon events, it | event\_name | string | English decoded name for the event name. This could be a transfer, or any decoded log method or log event name | | event\_removed | boolean | Whether the event get removed or not | | tx\_from\_address | address | The initiator of the transaction. | -| tx\_from\_address\_name | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| tx\_from\_label | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| tx\_from\_label\_subtype | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| tx\_from\_label\_type | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | +| tx\_from\_address\_name | string | [(see Labels section for details)](../../../labels/) | +| tx\_from\_label | string | [(see Labels section for details)](../../../labels/) | +| tx\_from\_label\_subtype | string | [(see Labels section for details)](../../../labels/) | +| tx\_from\_label\_type | string | [(see Labels section for details)](../../../labels/) | | tx\_to\_address | address | The receiver of the transaction or initial contract being called | -| tx\_to\_address\_name | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| tx\_to\_label | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| tx\_to\_label\_subtype | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| tx\_to\_label\_type | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | +| tx\_to\_address\_name | string | [(see Labels section for details)](../../../labels/) | +| tx\_to\_label | string | [(see Labels section for details)](../../../labels/) | +| tx\_to\_label\_subtype | string | [(see Labels section for details)](../../../labels/) | +| tx\_to\_label\_type | string | [(see Labels section for details)](../../../labels/) | | contract\_address | address | The parent contract that is responsible for kicking off this event. | | contract\_name | string | The name of this contract. | | tx\_succeeded | boolean | Was this transaction successful? | diff --git a/our-data/archive/tables/polygon-tables/polygon-transactions.md b/our-data/archive/tables/polygon-tables/polygon-transactions.md new file mode 100644 index 0000000..5f38d65 --- /dev/null +++ b/our-data/archive/tables/polygon-tables/polygon-transactions.md @@ -0,0 +1,42 @@ +# Polygon Transactions + +{% hint style="warning" %} +These are legacy Polygon tables. See [Polygon 2.0](../polygon-2.0-tables.md) for up-to-date Polygon models. +{% endhint %} + +Polygon transactions exist within the polygon schema, as `polygon.transactions` . + +Transactions contain top-level summary information not found in `polygon.udm_events`, for example, transaction fees and gas. + +## Table Schema + +`polygon.transactions` + +| Field | Type | Description | +| -------------------- | ------------------------- | ------------------------------------------------------------------- | +| block\_id | number | The block height this event was recorded at. | +| block\_timestamp | timestamp | UTC block timestamp for parent block | +| tx\_id | string | The hash (unique identifier) of the transaction. | +| tx\_position | string | The position of the transaction in the block. | +| nonce | number | The number of transactions sent from the `from_address.` | +| from\_address | address | The sender/initiator of the transaction. | +| from\_address\_name | [label](../../../labels/) | [(see label's data model for details)](../../../labels/) | +| from\_label | [label](../../../labels/) | [(see label's data model for details)](../../../labels/) | +| from\_label\_subtype | [label](../../../labels/) | [(see label's data model for details)](../../../labels/) | +| from\_label\_type | [label](../../../labels/) | [(see label's data model for details)](../../../labels/) | +| to\_address | text | The recipient of the transaction, or contract being called. | +| to\_addres\_name | [label](../../../labels/) | [(see label's data model for details)](../../../labels/) | +| to\_label | [label](../../../labels/) | [(see label's data model for details)](../../../labels/) | +| to\_label\_subtype | [label](../../../labels/) | [(see label's data model for details)](../../../labels/) | +| to\_label\_type | [label](../../../labels/) | [(see label's data model for details)](../../../labels/) | +| symbol | text | The project symbol (i.e. ERC-20 transaction), if applicable. | +| function\_signature | string | The function signature of the contract call, if applicable. | +| function\_name | string | The English decoded name of the function signature, if applicable. | +| gas\_price | number | The gas price at the time of this transaction. | +| gas\_limit | number | The gas limit specified in this transaction. | +| gas\_used | number | The amount of gas used by this transaction. | +| fee | number | The transaction fee calculated from the gas price and the gas used. | +| fee\_usd | number | The USD equivalent fee at the time of the transaction. | +| success | text | The success state of this transaction execution. | +| event\_count | number | The number of events contained within this transaction. | + diff --git a/our-data/tables/polygon-tables/polygon-udm-events.md b/our-data/archive/tables/polygon-tables/polygon-udm-events.md similarity index 88% rename from our-data/tables/polygon-tables/polygon-udm-events.md rename to our-data/archive/tables/polygon-tables/polygon-udm-events.md index ffbb8d5..8096165 100644 --- a/our-data/tables/polygon-tables/polygon-udm-events.md +++ b/our-data/archive/tables/polygon-tables/polygon-udm-events.md @@ -25,22 +25,22 @@ Notable Features that make querying simple: | block\_id | number | The block height this event was recorded at. | | tx\_id | string | Transaction id for this transfer | | origin\_address | address | The initiator of the transaction | -| origin\_address\_name | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| origin\_label | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| origin\_label\_subtype | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| origin\_label\_type | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | +| origin\_address\_name | string | [(see Labels section for details)](../../../labels/) | +| origin\_label | string | [(see Labels section for details)](../../../labels/) | +| origin\_label\_subtype | string | [(see Labels section for details)](../../../labels/) | +| origin\_label\_type | string | [(see Labels section for details)](../../../labels/) | | origin\_function\_name | string | Input function signature decoded to English name for the parent tx that kicked off this event, if applicable | | origin\_function\_signature | string | The function signature of contract call, if applicable | | from\_address | address | The sender of the event | -| from\_address\_name | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| from\_label | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| from\_label\_subtype | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| from\_label\_type | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | +| from\_address\_name | string | [(see Labels section for details)](../../../labels/) | +| from\_label | string | [(see Labels section for details)](../../../labels/) | +| from\_label\_subtype | string | [(see Labels section for details)](../../../labels/) | +| from\_label\_type | string | [(see Labels section for details)](../../../labels/) | | to\_address | address | The receiver of the transaction or contract being called | -| to\_address\_name | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| to\_label | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| to\_label\_subtype | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | -| to\_label\_type | string | [(see Labels section for details)](../../address-tags-and-labels/labels/) | +| to\_address\_name | string | [(see Labels section for details)](../../../labels/) | +| to\_label | string | [(see Labels section for details)](../../../labels/) | +| to\_label\_subtype | string | [(see Labels section for details)](../../../labels/) | +| to\_label\_type | string | [(see Labels section for details)](../../../labels/) | | event\_name | string | English decoded name for the event name. This could be a transfer, or any decoded log method or log event name | | event\_type | string | The english name for the type of event. This could be a native polygon event, token transfer, or contract methods calls/events. | | event\_id | string | The index/order of the event in the transaction | diff --git a/our-data/tables/polygon-tables/position-collected-fees.md b/our-data/archive/tables/polygon-tables/position-collected-fees.md similarity index 100% rename from our-data/tables/polygon-tables/position-collected-fees.md rename to our-data/archive/tables/polygon-tables/position-collected-fees.md diff --git a/our-data/tables/polygon-tables/swaps.md b/our-data/archive/tables/polygon-tables/swaps.md similarity index 100% rename from our-data/tables/polygon-tables/swaps.md rename to our-data/archive/tables/polygon-tables/swaps.md diff --git a/our-data/tables/polygon-tables/v3-resources.md b/our-data/archive/tables/polygon-tables/v3-resources.md similarity index 65% rename from our-data/tables/polygon-tables/v3-resources.md rename to our-data/archive/tables/polygon-tables/v3-resources.md index 3ba29e1..b64f4ed 100644 --- a/our-data/tables/polygon-tables/v3-resources.md +++ b/our-data/archive/tables/polygon-tables/v3-resources.md @@ -8,12 +8,12 @@ In the process of putting together this data for V3, we created a map of the V3 ### Pool -![](<../../../.gitbook/assets/Uniswap V3 - Pool.png>) +![](<../../../../.gitbook/assets/Uniswap V3 - Pool.png>) ### NF Position Manager -![](<../../../.gitbook/assets/Uniswap V3 - NonFungiblePositionManager.png>) +![](<../../../../.gitbook/assets/Uniswap V3 - NonFungiblePositionManager.png>) ### Factory -![](<../../../.gitbook/assets/Uniswap V3 - Factory.png>) +![](<../../../../.gitbook/assets/Uniswap V3 - Factory.png>) diff --git a/our-data/tables/solana-tables.md b/our-data/archive/tables/solana-tables.md similarity index 100% rename from our-data/tables/solana-tables.md rename to our-data/archive/tables/solana-tables.md diff --git a/our-data/tables/terra-tables/README.md b/our-data/archive/tables/terra-tables/README.md similarity index 100% rename from our-data/tables/terra-tables/README.md rename to our-data/archive/tables/terra-tables/README.md diff --git a/our-data/tables/terra-tables/terra-base-tables/README.md b/our-data/archive/tables/terra-tables/terra-base-tables/README.md similarity index 90% rename from our-data/tables/terra-tables/terra-base-tables/README.md rename to our-data/archive/tables/terra-tables/terra-base-tables/README.md index d4f5576..82487b1 100644 --- a/our-data/tables/terra-tables/terra-base-tables/README.md +++ b/our-data/archive/tables/terra-tables/terra-base-tables/README.md @@ -6,8 +6,8 @@ description: This page lists all the base tables for Terra The Terra base tables contains the table from the Raw Table side, it will be used to create the Starter Queries. -{% content-ref url="../../../address-tags-and-labels/labels/" %} -[labels](../../../address-tags-and-labels/labels/) +{% content-ref url="../../../../labels/" %} +[labels](../../../../labels/) {% endcontent-ref %} {% content-ref url="oracle-prices.md" %} diff --git a/our-data/tables/terra-tables/terra-base-tables/daily-balances.md b/our-data/archive/tables/terra-tables/terra-base-tables/daily-balances.md similarity index 84% rename from our-data/tables/terra-tables/terra-base-tables/daily-balances.md rename to our-data/archive/tables/terra-tables/terra-base-tables/daily-balances.md index 29b5235..bd9ab78 100644 --- a/our-data/tables/terra-tables/terra-base-tables/daily-balances.md +++ b/our-data/archive/tables/terra-tables/terra-base-tables/daily-balances.md @@ -1,6 +1,6 @@ # Daily Balances -Daily Balance shows the balance amount for each address. The label information can be found at [(see Labels section for details)](../../../address-tags-and-labels/labels/). +Daily Balance shows the balance amount for each address. The label information can be found at [(see Labels section for details)](../../../../labels/). ## Table Schema @@ -10,10 +10,10 @@ Daily Balance shows the balance amount for each address. The label information c | ----------------------- | ------- | -------------------------------------------------------------------------------------------------- | | `DATE` | date | The date time for this balance record | | `ADDRESS` | address | The balance address | -| `ADDRESS_LABEL_TYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `ADDRESS_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `ADDRESS_LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `ADDRESS_NAME` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | +| `ADDRESS_LABEL_TYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `ADDRESS_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `ADDRESS_LABEL` | text | [(see Labels section for details)](../../../../labels/) | +| `ADDRESS_NAME` | text | [(see Labels section for details)](../../../../labels/) | | `BALANCE` | number | The amount of the balance | | `BALANCE_USD` | number | The amount of the balance in USD, it is calculated by the hourly price multiple the balance amount | | `BALANCE_TYPE` | text | The balance type | diff --git a/our-data/tables/terra-tables/terra-base-tables/event-actions.md b/our-data/archive/tables/terra-tables/terra-base-tables/event-actions.md similarity index 97% rename from our-data/tables/terra-tables/terra-base-tables/event-actions.md rename to our-data/archive/tables/terra-tables/terra-base-tables/event-actions.md index a038e13..4dc5afa 100644 --- a/our-data/tables/terra-tables/terra-base-tables/event-actions.md +++ b/our-data/archive/tables/terra-tables/terra-base-tables/event-actions.md @@ -21,6 +21,6 @@ table name: `terra.event_actions` | `ACTION_INDEX` | number | Index for event actions | | `MSG_INDEX` | number | Message index, it is like the different steps for message, one message group can contain multiple message index values to deliver different information | | `ACTION_CONTRACT_ADDRESS` | text | Contract address that kicked off this event action | -| `CONTRACT_LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | +| `CONTRACT_LABEL` | text | [(see Labels section for details)](../../../../labels/) | | `ACTION_METHOD` | text | The action or method within an event | | `ACTION_LOG` | object | The log that provides detail (amounts, to, from, etc.) to an action or method | diff --git a/our-data/tables/terra-tables/terra-base-tables/labels.md b/our-data/archive/tables/terra-tables/terra-base-tables/labels.md similarity index 62% rename from our-data/tables/terra-tables/terra-base-tables/labels.md rename to our-data/archive/tables/terra-tables/terra-base-tables/labels.md index e05245e..3bbc1c4 100644 --- a/our-data/tables/terra-tables/terra-base-tables/labels.md +++ b/our-data/archive/tables/terra-tables/terra-base-tables/labels.md @@ -2,18 +2,18 @@ The labels table is based on the Flipside Event label data, currently we included 4 different projects for the labels: `terraswap`, `chai`, `mirror`, `anchor` -[(see Labels section for details)](../../../address-tags-and-labels/labels/) +[(see Labels section for details)](../../../../labels/) ## Table Schema **table name:** `terra.labels` -| Field | Type | Description | -| --------------- | ------- | ---------------------------------------------------------------------------- | -| `BLOCKCHAIN` | text | The blockchain name for this block | -| `ADDRESS` | address | The label address | -| `LABEL_TYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `ADDRESS_NAME` | text | The name of this address | +| Field | Type | Description | +| --------------- | ------- | ------------------------------------------------------- | +| `BLOCKCHAIN` | text | The blockchain name for this block | +| `ADDRESS` | address | The label address | +| `LABEL_TYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `LABEL` | text | [(see Labels section for details)](../../../../labels/) | +| `ADDRESS_NAME` | text | The name of this address | diff --git a/our-data/tables/terra-tables/terra-base-tables/oracle-prices.md b/our-data/archive/tables/terra-tables/terra-base-tables/oracle-prices.md similarity index 100% rename from our-data/tables/terra-tables/terra-base-tables/oracle-prices.md rename to our-data/archive/tables/terra-tables/terra-base-tables/oracle-prices.md diff --git a/our-data/tables/terra-tables/terra-base-tables/rewards.md b/our-data/archive/tables/terra-tables/terra-base-tables/rewards.md similarity index 91% rename from our-data/tables/terra-tables/terra-base-tables/rewards.md rename to our-data/archive/tables/terra-tables/terra-base-tables/rewards.md index 2b0c0f5..6be0f7a 100644 --- a/our-data/tables/terra-tables/terra-base-tables/rewards.md +++ b/our-data/archive/tables/terra-tables/terra-base-tables/rewards.md @@ -21,14 +21,14 @@ | `MSG_INDEX` | number | The index of message, within one message there are many messaged wrapped up and index will show the position of the message | | `ACTION` | text | Different actions for the reward, it can be `withdraw_validator_commission`or `withdraw_delegator_rewards` | | `VALIDATOR` | address | Validator address | -| `VALIDATOR_LABEL_TYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `VALIDATOR_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `VALIDATOR_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | +| `VALIDATOR_LABEL_TYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `VALIDATOR_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `VALIDATOR_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../../labels/) | | `VALIDATOR_ADDRESS_NAME` | text | Validator name linked to the address | | `DELEGATOR` | address | The address for the recipient to receive the reward | -| `DELEGATOR_LABEL_TYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `DELEGATOR_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `DELEGATOR_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | +| `DELEGATOR_LABEL_TYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `DELEGATOR_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `DELEGATOR_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../../labels/) | | `DELEGATOR_ADDRESS_NAME` | text | The recipient name linked to the address | | `EVENT_AMOUNT` | number | The amount of currency for this event | | `PRICE_USD` | number | The price of the token at current timestamp for this currency | diff --git a/our-data/tables/terra-tables/terra-base-tables/staking.md b/our-data/archive/tables/terra-tables/terra-base-tables/staking.md similarity index 57% rename from our-data/tables/terra-tables/terra-base-tables/staking.md rename to our-data/archive/tables/terra-tables/terra-base-tables/staking.md index 3c1d0b8..7e5b7ab 100644 --- a/our-data/tables/terra-tables/terra-base-tables/staking.md +++ b/our-data/archive/tables/terra-tables/terra-base-tables/staking.md @@ -6,26 +6,26 @@ Staking table listed the information about the users who staked the tokens into **table name:** `terra.staking` -| Field | Type | Description | -| ------------------------- | --------- | ---------------------------------------------------------------------------- | -| `BLOCKCHAIN` | text | Blockchain name, here is Terra | -| `CHAIN_ID` | text | The type of Blockchain | -| `TX_STATUS` | text | The transaction status for the staking | -| `BLOCK_ID` | number | Block number for this message events been recorded | -| `BLOCK_TIMESTAMP` | timestamp | Block time stamp for this message events been recorded | -| `TX_ID` | text | The unique transaction id | -| `ACTION` | text | The action taken for this transaction | -| `DELEGATOR_ADDRESS` | address | The address of the delegator for this staking event | -| `DELEGATOR_LABEL_TYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `DELEGATOR_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `DELEGATOR_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `DELEGATOR_ADDRESS_NAME` | text | Delegator name linked to the address | -| `VALIDATOR_ADDRESS` | address | The validator is the addresses to validate the delegation | -| `VALIDATOR_LABEL_TYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `VALIDATOR_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `VALIDATOR_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `VALIDATOR_ADDRESS_NAME` | text | Validator name linked to the address | -| `EVENT_AMOUNT` | number | The amount of currency for this event | -| `PRICE_USD` | number | The price of the token at current timestamp for this currency | -| `EVENT_AMOUNT_USD` | number | Event amount in USD | -| `CURRENCY` | text | The currency for this token | +| Field | Type | Description | +| ------------------------- | --------- | ------------------------------------------------------------- | +| `BLOCKCHAIN` | text | Blockchain name, here is Terra | +| `CHAIN_ID` | text | The type of Blockchain | +| `TX_STATUS` | text | The transaction status for the staking | +| `BLOCK_ID` | number | Block number for this message events been recorded | +| `BLOCK_TIMESTAMP` | timestamp | Block time stamp for this message events been recorded | +| `TX_ID` | text | The unique transaction id | +| `ACTION` | text | The action taken for this transaction | +| `DELEGATOR_ADDRESS` | address | The address of the delegator for this staking event | +| `DELEGATOR_LABEL_TYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `DELEGATOR_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `DELEGATOR_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../../labels/) | +| `DELEGATOR_ADDRESS_NAME` | text | Delegator name linked to the address | +| `VALIDATOR_ADDRESS` | address | The validator is the addresses to validate the delegation | +| `VALIDATOR_LABEL_TYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `VALIDATOR_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `VALIDATOR_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../../labels/) | +| `VALIDATOR_ADDRESS_NAME` | text | Validator name linked to the address | +| `EVENT_AMOUNT` | number | The amount of currency for this event | +| `PRICE_USD` | number | The price of the token at current timestamp for this currency | +| `EVENT_AMOUNT_USD` | number | Event amount in USD | +| `CURRENCY` | text | The currency for this token | diff --git a/our-data/tables/terra-tables/terra-base-tables/swap.md b/our-data/archive/tables/terra-tables/terra-base-tables/swap.md similarity index 100% rename from our-data/tables/terra-tables/terra-base-tables/swap.md rename to our-data/archive/tables/terra-tables/terra-base-tables/swap.md diff --git a/our-data/tables/terra-tables/terra-base-tables/tax-rate.md b/our-data/archive/tables/terra-tables/terra-base-tables/tax-rate.md similarity index 100% rename from our-data/tables/terra-tables/terra-base-tables/tax-rate.md rename to our-data/archive/tables/terra-tables/terra-base-tables/tax-rate.md diff --git a/our-data/tables/terra-tables/terra-base-tables/transfer-events.md b/our-data/archive/tables/terra-tables/terra-base-tables/transfer-events.md similarity index 88% rename from our-data/tables/terra-tables/terra-base-tables/transfer-events.md rename to our-data/archive/tables/terra-tables/terra-base-tables/transfer-events.md index 3116a08..6917e67 100644 --- a/our-data/tables/terra-tables/terra-base-tables/transfer-events.md +++ b/our-data/archive/tables/terra-tables/terra-base-tables/transfer-events.md @@ -20,18 +20,18 @@ table name: `terra.transfer_events` | `INITIAL_ACTION` | text | Initial action for a transfer event | | `CURRENT_ACTION` | text | Current action for a transfer event | | `SENDER` | text | Transfer sender | -| `SENDER_LABEL_TYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `SENDER_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `SENDER_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `SENDER_ADDRESS_NAME` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | +| `SENDER_LABEL_TYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `SENDER_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `SENDER_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../../labels/) | +| `SENDER_ADDRESS_NAME` | text | [(see Labels section for details)](../../../../labels/) | | `RECIPIENT` | text | Transfer recipient | -| `RECIPIENT_LABEL_TYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `RECIPIENT_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `RECIPIENT_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `RECIPIENT_ADDRESS_NAME` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | +| `RECIPIENT_LABEL_TYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `RECIPIENT_LABEL_SUBTYPE` | text | [(see Labels section for details)](../../../../labels/) | +| `RECIPIENT_ADDRESS_LABEL` | text | [(see Labels section for details)](../../../../labels/) | +| `RECIPIENT_ADDRESS_NAME` | text | [(see Labels section for details)](../../../../labels/) | | `CURRENCY` | text | The transfer currency | | `AMOUNT` | number | The transfer amount | | `AMOUNT_USD` | number | The transfer amount in USD, it is calculated by the hourly price multiplied by the transfer amount | | `MSG_SENDER` | text | The message sender, from message event types | | `CONTRACT_ADDRESS` | text | The contract address that is responsible for kicking off the transfer event, if applicable | -| `CONTRACT_LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | +| `CONTRACT_LABEL` | text | [(see Labels section for details)](../../../../labels/) | diff --git a/our-data/tables/terra-tables/terra-base-tables/validator-labels.md b/our-data/archive/tables/terra-tables/terra-base-tables/validator-labels.md similarity index 69% rename from our-data/tables/terra-tables/terra-base-tables/validator-labels.md rename to our-data/archive/tables/terra-tables/terra-base-tables/validator-labels.md index 180faf3..98b392d 100644 --- a/our-data/tables/terra-tables/terra-base-tables/validator-labels.md +++ b/our-data/archive/tables/terra-tables/terra-base-tables/validator-labels.md @@ -6,10 +6,10 @@ The Validators labels table is based on few different kind of Validator addresse **table name:** `terra.validator_labels` -| Field | Type | Description | -| ------------------- | ------- | ---------------------------------------------------------------------------- | -| `LABEL` | text | [(see Labels section for details)](../../../address-tags-and-labels/labels/) | -| `OPERATOR_ADDRESS` | address | The validator address (terravaloper) | -| `DELEGATOR_ADDRESS` | address | The delegator address of the Validator (terra) | -| `VP_ADDRESS` | address | The Validator address used for Voting Power (terravalcons) | +| Field | Type | Description | +| ------------------- | ------- | ---------------------------------------------------------- | +| `LABEL` | text | [(see Labels section for details)](../../../../labels/) | +| `OPERATOR_ADDRESS` | address | The validator address (terravaloper) | +| `DELEGATOR_ADDRESS` | address | The delegator address of the Validator (terra) | +| `VP_ADDRESS` | address | The Validator address used for Voting Power (terravalcons) | diff --git a/our-data/tables/terra-tables/terra-raw-tables/README.md b/our-data/archive/tables/terra-tables/terra-raw-tables/README.md similarity index 100% rename from our-data/tables/terra-tables/terra-raw-tables/README.md rename to our-data/archive/tables/terra-tables/terra-raw-tables/README.md diff --git a/our-data/tables/terra-tables/terra-raw-tables/blocks.md b/our-data/archive/tables/terra-tables/terra-raw-tables/blocks.md similarity index 100% rename from our-data/tables/terra-tables/terra-raw-tables/blocks.md rename to our-data/archive/tables/terra-tables/terra-raw-tables/blocks.md diff --git a/our-data/tables/terra-tables/terra-raw-tables/msg_events.md b/our-data/archive/tables/terra-tables/terra-raw-tables/msg_events.md similarity index 100% rename from our-data/tables/terra-tables/terra-raw-tables/msg_events.md rename to our-data/archive/tables/terra-tables/terra-raw-tables/msg_events.md diff --git a/our-data/tables/terra-tables/terra-raw-tables/msgs.md b/our-data/archive/tables/terra-tables/terra-raw-tables/msgs.md similarity index 100% rename from our-data/tables/terra-tables/terra-raw-tables/msgs.md rename to our-data/archive/tables/terra-tables/terra-raw-tables/msgs.md diff --git a/our-data/tables/terra-tables/terra-raw-tables/transactions.md b/our-data/archive/tables/terra-tables/terra-raw-tables/transactions.md similarity index 100% rename from our-data/tables/terra-tables/terra-raw-tables/transactions.md rename to our-data/archive/tables/terra-tables/terra-raw-tables/transactions.md diff --git a/our-data/tables/terra-tables/terra-raw-tables/transitions.md b/our-data/archive/tables/terra-tables/terra-raw-tables/transitions.md similarity index 100% rename from our-data/tables/terra-tables/terra-raw-tables/transitions.md rename to our-data/archive/tables/terra-tables/terra-raw-tables/transitions.md diff --git a/our-data/tables/terraswap-tables/README.md b/our-data/archive/tables/terraswap-tables/README.md similarity index 100% rename from our-data/tables/terraswap-tables/README.md rename to our-data/archive/tables/terraswap-tables/README.md diff --git a/our-data/tables/terraswap-tables/lp-actions-1.md b/our-data/archive/tables/terraswap-tables/lp-actions-1.md similarity index 100% rename from our-data/tables/terraswap-tables/lp-actions-1.md rename to our-data/archive/tables/terraswap-tables/lp-actions-1.md diff --git a/our-data/tables/terraswap-tables/lp-actions.md b/our-data/archive/tables/terraswap-tables/lp-actions.md similarity index 100% rename from our-data/tables/terraswap-tables/lp-actions.md rename to our-data/archive/tables/terraswap-tables/lp-actions.md diff --git a/our-data/tables/terraswap-tables/swap.md b/our-data/archive/tables/terraswap-tables/swap.md similarity index 100% rename from our-data/tables/terraswap-tables/swap.md rename to our-data/archive/tables/terraswap-tables/swap.md diff --git a/our-data/tables/thorchain-tables/README.md b/our-data/archive/tables/thorchain-tables/README.md similarity index 100% rename from our-data/tables/thorchain-tables/README.md rename to our-data/archive/tables/thorchain-tables/README.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/README.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/README.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/README.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/README.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/block-rewards.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/block-rewards.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/block-rewards.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/block-rewards.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/bond-actions.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/bond-actions.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/bond-actions.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/bond-actions.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/daily-earnings.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/daily-earnings.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/daily-earnings.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/daily-earnings.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/daily-pool-stats.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/daily-pool-stats.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/daily-pool-stats.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/daily-pool-stats.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/daily-tvl.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/daily-tvl.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/daily-tvl.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/daily-tvl.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/liquidity-actions.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/liquidity-actions.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/liquidity-actions.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/liquidity-actions.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/pool-block-balances.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/pool-block-balances.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/pool-block-balances.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/pool-block-balances.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/pool-block-fees.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/pool-block-fees.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/pool-block-fees.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/pool-block-fees.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/pool-block-statistics.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/pool-block-statistics.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/pool-block-statistics.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/pool-block-statistics.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/prices.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/prices.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/prices.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/prices.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/swaps.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/swaps.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/swaps.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/swaps.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/total-block-rewards.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/total-block-rewards.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/total-block-rewards.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/total-block-rewards.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/total-value-locked.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/total-value-locked.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/total-value-locked.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/total-value-locked.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/transfers.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/transfers.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/transfers.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/transfers.md diff --git a/our-data/tables/thorchain-tables/thorchain-base-table/upgrades.md b/our-data/archive/tables/thorchain-tables/thorchain-base-table/upgrades.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-base-table/upgrades.md rename to our-data/archive/tables/thorchain-tables/thorchain-base-table/upgrades.md diff --git a/our-data/tables/thorchain-tables/thorchain-core-tables.md b/our-data/archive/tables/thorchain-tables/thorchain-core-tables.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-core-tables.md rename to our-data/archive/tables/thorchain-tables/thorchain-core-tables.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/README.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/README.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/README.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/README.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/active-vault-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/active-vault-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/active-vault-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/active-vault-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/add-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/add-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/add-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/add-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/block-pool-depths.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/block-pool-depths.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/block-pool-depths.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/block-pool-depths.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/bond-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/bond-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/bond-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/bond-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/fee-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/fee-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/fee-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/fee-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/gas-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/gas-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/gas-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/gas-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/inactive-vault-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/inactive-vault-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/inactive-vault-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/inactive-vault-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/message-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/message-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/message-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/message-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/new-node-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/new-node-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/new-node-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/new-node-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/pending-liquidity-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/pending-liquidity-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/pending-liquidity-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/pending-liquidity-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/pool-balance-change-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/pool-balance-change-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/pool-balance-change-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/pool-balance-change-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/pool-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/pool-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/pool-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/pool-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/refund-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/refund-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/refund-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/refund-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/reserve-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/reserve-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/reserve-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/reserve-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/rewards-event-entries.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/rewards-event-entries.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/rewards-event-entries.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/rewards-event-entries.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/rewards-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/rewards-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/rewards-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/rewards-events.md diff --git a/our-data/tables/thorchain-tables/thorchain-raw-table/swap-events.md b/our-data/archive/tables/thorchain-tables/thorchain-raw-table/swap-events.md similarity index 100% rename from our-data/tables/thorchain-tables/thorchain-raw-table/swap-events.md rename to our-data/archive/tables/thorchain-tables/thorchain-raw-table/swap-events.md diff --git a/our-data/tables/uniswap-v3-tables/README.md b/our-data/archive/tables/uniswap-v3-tables/README.md similarity index 94% rename from our-data/tables/uniswap-v3-tables/README.md rename to our-data/archive/tables/uniswap-v3-tables/README.md index 1ba43ef..b1e44f0 100644 --- a/our-data/tables/uniswap-v3-tables/README.md +++ b/our-data/archive/tables/uniswap-v3-tables/README.md @@ -8,7 +8,7 @@ The public Github repo with Uniswap V3 model source code is [here](https://githu ### Tables -![](<../../../.gitbook/assets/Uniswap V3 - Copy of uniswapv3 silver\_tables.png>) +![](<../../../../.gitbook/assets/Uniswap V3 - Copy of uniswapv3 silver\_tables.png>) {% content-ref url="pools.md" %} [pools.md](pools.md) diff --git a/our-data/tables/uniswap-v3-tables/lp-actions.md b/our-data/archive/tables/uniswap-v3-tables/lp-actions.md similarity index 100% rename from our-data/tables/uniswap-v3-tables/lp-actions.md rename to our-data/archive/tables/uniswap-v3-tables/lp-actions.md diff --git a/our-data/tables/uniswap-v3-tables/pool-stats.md b/our-data/archive/tables/uniswap-v3-tables/pool-stats.md similarity index 100% rename from our-data/tables/uniswap-v3-tables/pool-stats.md rename to our-data/archive/tables/uniswap-v3-tables/pool-stats.md diff --git a/our-data/tables/uniswap-v3-tables/pools.md b/our-data/archive/tables/uniswap-v3-tables/pools.md similarity index 100% rename from our-data/tables/uniswap-v3-tables/pools.md rename to our-data/archive/tables/uniswap-v3-tables/pools.md diff --git a/our-data/tables/uniswap-v3-tables/positions.md b/our-data/archive/tables/uniswap-v3-tables/positions.md similarity index 100% rename from our-data/tables/uniswap-v3-tables/positions.md rename to our-data/archive/tables/uniswap-v3-tables/positions.md diff --git a/our-data/data-models.md b/our-data/data-models.md new file mode 100644 index 0000000..42fdccc --- /dev/null +++ b/our-data/data-models.md @@ -0,0 +1,30 @@ +--- +description: >- + How we design our data structures for accessibility and performance using the + Star Schema approach. +--- + +# Data Modeling Approach + +### Our Data Modeling Approach + +Flipside models on-chain data around a common set of principles known as the [star schema](https://en.wikipedia.org/wiki/Star\_schema), an industry-standard model for relational data warehouses. + +A star schema is a data modeling technique commonly used in data warehousing and business intelligence to organize and represent data in a way that is easily accessible and understandable for end-users. The schema consists of a central fact table surrounded by dimension tables that provide additional context to the data in the fact table. The star schema design helps users quickly and easily analyze data by: + +* reducing the complexity of the data structure +* enabling clear and meaningful data visualization +* improving query performance + +This approach requires modelers to classify their tables as either **dimension** or **fact** tables. + +_**Fact tables**_ store observations or events, and can be blocks, transactions, mints, swaps, etc. If you were modeling sales for a restaurant chain, for example, each sale might be represented by a row in a fact table. + +_**Dimension ("dim") tables**_ describe entities—the things you analyze. Entities can include labels, prices, decimals, tags, etc. Extending the restaurant metaphor: if each individual sale is a fact, then which restaurant the sale occurred in would be a dimension, describing that fact. + +The key here is that: + +* _**Facts**_ support summarization ("what is the total number of sales?") +* _**Dimensions**_ support filtering and grouping ("what are the sales totals grouped by restaurant?") + +This kind of schema design is incredibly popular, and we see it as a key part of our strategy to provide the most accessible and performant blockchain data possible. diff --git a/our-data/data-models/README.md b/our-data/data-models/README.md deleted file mode 100644 index b1c3ece..0000000 --- a/our-data/data-models/README.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -description: >- - The Data Models section provides an overview of Flipside's approach to - blockchain data schemas. ---- - -# Data Model Overview - -Flipside's community models on-chain data around a common set of principles from the 'star schema' approach, widely adopted by relational data warehouses. - diff --git a/our-data/data-models/facts-and-dimensions.md b/our-data/data-models/facts-and-dimensions.md deleted file mode 100644 index 66aab67..0000000 --- a/our-data/data-models/facts-and-dimensions.md +++ /dev/null @@ -1,23 +0,0 @@ -# Facts and Dimensions - -What are facts and dimensions? - -Facts and dimensions are a part of what is called a star schema. Star schema is a mature modeling approach widely adopted by relational data warehouses. It requires modelers to classify their model tables as either dimension or fact. - -_**Fact tables**_ store observations or events, and can be blocks, transactions, mints, swaps, etc. - -_**Dimension tables**_ describe entities—the things you analyze. Entities can include labels, prices, decimals, tags, etc - -The key here is that: - -* _**Dimensions**_ support filtering and grouping -* _**Facts**_ support summarization - -This type of modeling is a logical design technique used to structure data so that it is intuitive to users and delivers fast query performance. What makes the star schema stand out is its simplicity and ability to be understood by users. - -The schema works by dividing data into measurements and the “who, what, where, when, why, and how” descriptive context. Broadly, these two groups are facts and dimensions. - -Lets do a crypto transaction for an example - -* The amount you spent and how many items you bought would be considered a fact, but what exchange rate and what blockchain would be considered dimensions. -* Once these two groups have been established, we can connect them by the unique transaction number associated with your specific purchase. diff --git a/our-data/data-table-documentation.md b/our-data/data-table-documentation.md new file mode 100644 index 0000000..7a43ada --- /dev/null +++ b/our-data/data-table-documentation.md @@ -0,0 +1,25 @@ +--- +description: Looking for specific database, schema, and table details? Look no further. +--- + +# Data Table Documentation + +Our data documentation is kept up to date _as changes are deployed_, so check here for the very latest details on each of our covered chains: + +* [Arbitrum](https://flipsidecrypto.github.io/arbitrum-models/#!/overview) +* [Avalanche](https://flipsidecrypto.github.io/avalanche-models/#!/overview) +* [Axelar](https://flipsidecrypto.github.io/axelar-models/#!/overview) —  +* [Binance Smart Chain](https://flipsidecrypto.github.io/bsc-models/#!/overview) +* [Cosmos](https://flipsidecrypto.github.io/cosmos-models/#!/overview) —  +* Crosschain Data +* [Ethereum](https://flipsidecrypto.github.io/ethereum-models/#!/overview) +* [Flow](https://flipsidecrypto.github.io/flow-models/#!/overview) —  +* [Gnosis](https://flipsidecrypto.github.io/gnosis-models/#!/overview) +* [Near](https://flipsidecrypto.github.io/near-models/#!/overview) —  +* [Optimism](https://flipsidecrypto.github.io/optimism-models/#!/overview) +* [Osmosis](https://flipsidecrypto.github.io/osmosis-models/#!/overview) —  +* [Polygon](https://flipsidecrypto.github.io/polygon-models/#!/overview) +* [Solana](https://flipsidecrypto.github.io/solana-models/#!/overview) — +* Terra +* Thorchain + diff --git a/our-data/address-tags-and-labels/featured-tags-and-sql-examples.md b/our-data/featured-tags-and-sql-examples/README.md similarity index 88% rename from our-data/address-tags-and-labels/featured-tags-and-sql-examples.md rename to our-data/featured-tags-and-sql-examples/README.md index 10dbc09..4a5002a 100644 --- a/our-data/address-tags-and-labels/featured-tags-and-sql-examples.md +++ b/our-data/featured-tags-and-sql-examples/README.md @@ -1,8 +1,16 @@ -# Featured Tags & SQL Examples +--- +description: >- + Want to see what interesting addresses are up to? Have a list of addresses you + want to analyze without pasting them into your where clause? Tags are for you. +--- + +# Tags Tags can be specific and provable, e.g. "OpenSea user", or simply a tool to group addresses and clean up your code. Your tags. Your rules. -Check back often as our list of tags is constantly being updated!\ +Check back often as our list of tags is constantly being updated! + +[`crosschain.core.address_tags` table docs](../archive/tables/crosschain-tables/crosschain-address-tags.md)\ \ Don't see the perfect tag? [Add your own! ](how-to-add-your-own-tags.md#how-to-add-tags) @@ -10,14 +18,14 @@ Don't see the perfect tag? [Add your own! ](how-to-add-your-own-tags.md#how-to-a ## Table of Contents -| Tag Type | -| --------------------------------------------------------------------------------- | -| [contract](featured-tags-and-sql-examples.md#contract) | -| [cex (centralized exchange)](featured-tags-and-sql-examples.md#cex) | -| [dex (decentralized exchange)](featured-tags-and-sql-examples.md#dex) | -| [nft](featured-tags-and-sql-examples.md#nft) | -| [activity (general behavior)](featured-tags-and-sql-examples.md#activity) | -| [wallet (token contents of an address)](featured-tags-and-sql-examples.md#wallet) | +| Tag Type | +| -------------------------------------------------- | +| [contract](./#contract) | +| [cex (centralized exchange)](./#cex) | +| [dex (decentralized exchange)](./#dex) | +| [nft](./#nft) | +| [activity (general behavior)](./#activity) | +| [wallet (token contents of an address)](./#wallet) | ### Contract @@ -42,7 +50,7 @@ where and creator = 'flipside' -[back to top](featured-tags-and-sql-examples.md#table-of-contents) +[back to top](./#table-of-contents) ### CEX @@ -68,7 +76,7 @@ group by tag_name order by num_addresses desc ``` -[back to top](featured-tags-and-sql-examples.md#table-of-contents) +[back to top](./#table-of-contents) ### DEX @@ -92,7 +100,7 @@ where and blockchain = 'ethereum' ``` -[back to top](featured-tags-and-sql-examples.md#table-of-contents) +[back to top](./#table-of-contents) ### NFT @@ -120,7 +128,7 @@ group by tag_name order by num_addresses desc ``` -[back to top](featured-tags-and-sql-examples.md#table-of-contents) +[back to top](./#table-of-contents) ### Activity @@ -149,7 +157,7 @@ where and creator = 'flipside' -[back to top](featured-tags-and-sql-examples.md#table-of-contents) +[back to top](./#table-of-contents) ### Wallet @@ -191,6 +199,6 @@ group by tag_name order by num_addresses desc ``` -[back to top](featured-tags-and-sql-examples.md#table-of-contents) +[back to top](./#table-of-contents) ### diff --git a/our-data/address-tags-and-labels/how-to-add-your-own-tags.md b/our-data/featured-tags-and-sql-examples/how-to-add-your-own-tags.md similarity index 97% rename from our-data/address-tags-and-labels/how-to-add-your-own-tags.md rename to our-data/featured-tags-and-sql-examples/how-to-add-your-own-tags.md index eb8de2d..2a58d36 100644 --- a/our-data/address-tags-and-labels/how-to-add-your-own-tags.md +++ b/our-data/featured-tags-and-sql-examples/how-to-add-your-own-tags.md @@ -1,8 +1,8 @@ -# Tags +# How to Add Your Own Tags Tags identify traits or behaviors that belong to an address. -For a table of all tagged addresses see [the Crosschain schema](../tables/crosschain-tables/crosschain-address-tags.md). +For a table of all tagged addresses see [the Crosschain schema](../archive/tables/crosschain-tables/crosschain-address-tags.md). Do you often copy/paste lists of addresses into your queries? Tags are for you. Tags can be specific and provable, e.g. "OpenSea user", or simply a tool to group addresses and clean up your code. @@ -37,7 +37,7 @@ Using tag_\__type you can pull all celebrities tagged by the Flipside community, ## The tags table -The data for our tags is stored in the data table: [crosschain.core.address\_tags](../tables/crosschain-tables/crosschain-address-tags.md). \ +The data for our tags is stored in the data table: [crosschain.core.address\_tags](../archive/tables/crosschain-tables/crosschain-address-tags.md). \ | Column Name | Data type | Description | diff --git a/our-data/tutorials/hex-to-integer-function.md b/our-data/hex-to-integer-function.md similarity index 100% rename from our-data/tutorials/hex-to-integer-function.md rename to our-data/hex-to-integer-function.md diff --git a/our-data/address-tags-and-labels/labels/README.md b/our-data/labels/README.md similarity index 84% rename from our-data/address-tags-and-labels/labels/README.md rename to our-data/labels/README.md index c12004c..f897693 100644 --- a/our-data/address-tags-and-labels/labels/README.md +++ b/our-data/labels/README.md @@ -1,3 +1,9 @@ +--- +description: >- + Want to see what known entities like CEX, DEX, dApps, or NFT contracts are up + to? Labels can help! +--- + # Labels Labels identify known addresses that are associated with a CEX, DEX, NFT project, liquidity pool, or other entity. @@ -8,6 +14,8 @@ Labels are a "source of truth" added by Flipside core contributors across all ch \ Each known address receives only one label. Not every address has a label. +``[`crosschain.core.address_labels` table docs](../archive/tables/crosschain-tables/crosschain-address-labels.md) + ## Label Types @@ -25,13 +33,13 @@ There are 10 label types within any blockchain. 9. ****[**token** (Token Contracts)](token-label-type.md) 10. ****[**flotsam** (Junk or Other)](flotsam-label-type.md) -See [the Crosschain schema](../../tables/crosschain-tables/crosschain-address-labels.md) for the table containing all labeled addresses. +See [the Crosschain schema](../archive/tables/crosschain-tables/crosschain-address-labels.md) for the table containing all labeled addresses. Flipside applies a 2-level hierarchy to all labeled addresses using 4 field attributes. -![](<../../../.gitbook/assets/Velocity Documentation - Labels.png>) +![](<../../.gitbook/assets/Velocity Documentation - Labels.png>) | creator | Name of the creator of the label | | --------------------- | ----------------------------------------------------------------------------------------------- | diff --git a/our-data/address-tags-and-labels/labels/cex-label-type.md b/our-data/labels/cex-label-type.md similarity index 100% rename from our-data/address-tags-and-labels/labels/cex-label-type.md rename to our-data/labels/cex-label-type.md diff --git a/our-data/address-tags-and-labels/labels/chadmin-label-type.md b/our-data/labels/chadmin-label-type.md similarity index 100% rename from our-data/address-tags-and-labels/labels/chadmin-label-type.md rename to our-data/labels/chadmin-label-type.md diff --git a/our-data/address-tags-and-labels/labels/defi-label-type.md b/our-data/labels/defi-label-type.md similarity index 100% rename from our-data/address-tags-and-labels/labels/defi-label-type.md rename to our-data/labels/defi-label-type.md diff --git a/our-data/address-tags-and-labels/labels/dex-label-type.md b/our-data/labels/dex-label-type.md similarity index 100% rename from our-data/address-tags-and-labels/labels/dex-label-type.md rename to our-data/labels/dex-label-type.md diff --git a/our-data/address-tags-and-labels/labels/flotsam-label-type.md b/our-data/labels/flotsam-label-type.md similarity index 100% rename from our-data/address-tags-and-labels/labels/flotsam-label-type.md rename to our-data/labels/flotsam-label-type.md diff --git a/our-data/address-tags-and-labels/labels/layer2-label-type.md b/our-data/labels/layer2-label-type.md similarity index 100% rename from our-data/address-tags-and-labels/labels/layer2-label-type.md rename to our-data/labels/layer2-label-type.md diff --git a/our-data/address-tags-and-labels/labels/nft-label-type.md b/our-data/labels/nft-label-type.md similarity index 100% rename from our-data/address-tags-and-labels/labels/nft-label-type.md rename to our-data/labels/nft-label-type.md diff --git a/our-data/address-tags-and-labels/labels/operator-label-type.md b/our-data/labels/operator-label-type.md similarity index 100% rename from our-data/address-tags-and-labels/labels/operator-label-type.md rename to our-data/labels/operator-label-type.md diff --git a/our-data/address-tags-and-labels/labels/other-label-type.md b/our-data/labels/other-label-type.md similarity index 100% rename from our-data/address-tags-and-labels/labels/other-label-type.md rename to our-data/labels/other-label-type.md diff --git a/our-data/address-tags-and-labels/labels/token-label-type.md b/our-data/labels/token-label-type.md similarity index 100% rename from our-data/address-tags-and-labels/labels/token-label-type.md rename to our-data/labels/token-label-type.md diff --git a/our-data/tables/polygon-tables/polygon-transactions.md b/our-data/tables/polygon-tables/polygon-transactions.md deleted file mode 100644 index 549cecb..0000000 --- a/our-data/tables/polygon-tables/polygon-transactions.md +++ /dev/null @@ -1,42 +0,0 @@ -# Polygon Transactions - -{% hint style="warning" %} -These are legacy Polygon tables. See [Polygon 2.0](../polygon-2.0-tables.md) for up-to-date Polygon models. -{% endhint %} - -Polygon transactions exist within the polygon schema, as `polygon.transactions` . - -Transactions contain top-level summary information not found in `polygon.udm_events`, for example, transaction fees and gas. - -## Table Schema - -`polygon.transactions` - -| Field | Type | Description | -| -------------------- | ---------------------------------------------- | ----------------------------------------------------------------------------- | -| block\_id | number | The block height this event was recorded at. | -| block\_timestamp | timestamp | UTC block timestamp for parent block | -| tx\_id | string | The hash (unique identifier) of the transaction. | -| tx\_position | string | The position of the transaction in the block. | -| nonce | number | The number of transactions sent from the `from_address.` | -| from\_address | address | The sender/initiator of the transaction. | -| from\_address\_name | [label](../../address-tags-and-labels/labels/) | [(see label's data model for details)](../../address-tags-and-labels/labels/) | -| from\_label | [label](../../address-tags-and-labels/labels/) | [(see label's data model for details)](../../address-tags-and-labels/labels/) | -| from\_label\_subtype | [label](../../address-tags-and-labels/labels/) | [(see label's data model for details)](../../address-tags-and-labels/labels/) | -| from\_label\_type | [label](../../address-tags-and-labels/labels/) | [(see label's data model for details)](../../address-tags-and-labels/labels/) | -| to\_address | text | The recipient of the transaction, or contract being called. | -| to\_addres\_name | [label](../../address-tags-and-labels/labels/) | [(see label's data model for details)](../../address-tags-and-labels/labels/) | -| to\_label | [label](../../address-tags-and-labels/labels/) | [(see label's data model for details)](../../address-tags-and-labels/labels/) | -| to\_label\_subtype | [label](../../address-tags-and-labels/labels/) | [(see label's data model for details)](../../address-tags-and-labels/labels/) | -| to\_label\_type | [label](../../address-tags-and-labels/labels/) | [(see label's data model for details)](../../address-tags-and-labels/labels/) | -| symbol | text | The project symbol (i.e. ERC-20 transaction), if applicable. | -| function\_signature | string | The function signature of the contract call, if applicable. | -| function\_name | string | The English decoded name of the function signature, if applicable. | -| gas\_price | number | The gas price at the time of this transaction. | -| gas\_limit | number | The gas limit specified in this transaction. | -| gas\_used | number | The amount of gas used by this transaction. | -| fee | number | The transaction fee calculated from the gas price and the gas used. | -| fee\_usd | number | The USD equivalent fee at the time of the transaction. | -| success | text | The success state of this transaction execution. | -| event\_count | number | The number of events contained within this transaction. | - diff --git a/our-data/tutorials/README.md b/our-data/tutorials/README.md index fd5279c..5bed2f1 100644 --- a/our-data/tutorials/README.md +++ b/our-data/tutorials/README.md @@ -1,4 +1,4 @@ -# Data Tutorials +# Video Tutorials Learn more about our data structures for specific blockchains with these articles and video tutorials. You'll also learn helpful tips for starting your analyses and working with blockchain data in SQL. @@ -8,10 +8,6 @@ Learn more about our data structures for specific blockchains with these article [overview-of-schemas-and-tables.md](overview-of-schemas-and-tables.md) {% endcontent-ref %} -{% content-ref url="algorand-tutorials.md" %} -[algorand-tutorials.md](algorand-tutorials.md) -{% endcontent-ref %} - {% content-ref url="ethereum-tutorials/" %} [ethereum-tutorials](ethereum-tutorials/) {% endcontent-ref %} diff --git a/our-data/tutorials/getting-started-with-dai-events.md b/our-data/tutorials/getting-started-with-dai-events.md index 4ffe6a8..a068f24 100644 --- a/our-data/tutorials/getting-started-with-dai-events.md +++ b/our-data/tutorials/getting-started-with-dai-events.md @@ -3,7 +3,7 @@ This guide provides an introduction to exploring Dai related events by using the`ethereum.udm_events` table over a series of simple queries that explore the data. {% hint style="info" %} -Note: this tutorial uses deprecated Ethereum tables. See the new [Maker DAO](../tables/ethereum-maker-dao-tables.md) curated tables. +Note: this tutorial uses deprecated Ethereum tables. See the new [Maker DAO](../archive/tables/ethereum-maker-dao-tables.md) curated tables. {% endhint %} Let's familiarize ourselves with the table by first looking at the types of events that can be queried for `Dai` @@ -54,7 +54,7 @@ ORDER BY metric_date ASC ![](<../../.gitbook/assets/Screen Shot 2020-11-08 at 8.29.00 PM.png>) -We can break this query down even further by leveraging [Flipside's labels](../address-tags-and-labels/labels/). Let's calculate the amount of DAI that is flowing to centralized exchanges using the `distributor_cex` label sub-type. +We can break this query down even further by leveraging [Flipside's labels](../labels/). Let's calculate the amount of DAI that is flowing to centralized exchanges using the `distributor_cex` label sub-type. ```sql SELECT diff --git a/our-data/using-snowflake-sql.md b/our-data/using-snowflake-sql.md new file mode 100644 index 0000000..794fea2 --- /dev/null +++ b/our-data/using-snowflake-sql.md @@ -0,0 +1,15 @@ +--- +description: Getting familiar with our SQL dialect. +--- + +# Using Snowflake SQL + +If you're familiar with common SQL dialects like Postgres or MySQL, you'll find that while there are a few specific differences, the basics will be very familiar, as the Snowflake SQL dialect is ANSI SQL compliant. ([More on SQL standards and interoperability](https://en.wikipedia.org/wiki/SQL#Interoperability\_and\_standardization).) + +Here's a roundup of [some of the key differences](https://towardsdatascience.com/from-postgres-to-snowflake-f4b403548066) people run into when switching from Postgres to Snowflake that we found helpful. In particular: + +* Filtering in Snowflake must be done with CASE statements. +* No support for DISTINCT ON, so people use window functions, generally. + +To help navigate this all of this, Snowflake also maintains a comprehensive [SQL reference](https://docs.snowflake.com/en/sql-reference-commands.html), and many Snowflake-specific functions are available. (Crypto analysts often find their [JSON parsing functions](https://docs.snowflake.com/en/sql-reference/functions-semistructured.html) can be particularly helpful.) + diff --git a/our-data/writing-efficient-queries.md b/our-data/writing-efficient-queries.md new file mode 100644 index 0000000..ba1d102 --- /dev/null +++ b/our-data/writing-efficient-queries.md @@ -0,0 +1,12 @@ +--- +description: How to write queries that return results quickly. +--- + +# Writing Efficient Queries + +A few basic techniques: + +* **Date Filtering:** when querying fact tables, or any table with a large number of rows, it's best to filter your query to a small date range by adding a "where" clause, something like this: \ + `WHERE block_timestamp >= CURRENT_DATE - interval '1 day'` — this is especially helpful if you're just getting started exploring a particular table, are looking for quick sample data, etc. +* **Select Only Columns You Need**: instead of using `SELECT *` every time, try selecting only the particular columns required to get the results you need — this optimization can often be applied after you're done making charts, dashboards etc., when you know definitively which columns you're really using, and will yield faster results for viewers of your work. + diff --git a/shroomdk-sdk/community-showcase.md b/shroomdk-sdk/community-showcase.md index 2e734e2..900467b 100644 --- a/shroomdk-sdk/community-showcase.md +++ b/shroomdk-sdk/community-showcase.md @@ -1,3 +1,7 @@ +--- +description: Examples of projects people have built with ShroomDK! +--- + # Community Showcase _Apps, data science, advanced analytics — the crypto space wants to see what you're creating._ diff --git a/shroomdk-sdk/examples.md b/shroomdk-sdk/examples.md index 8076ffa..09404a9 100644 --- a/shroomdk-sdk/examples.md +++ b/shroomdk-sdk/examples.md @@ -1,29 +1,13 @@ -# Examples +--- +description: Examples to help solve common problems, like paginating through results. +--- -_Share a code example with our community by submitting a_ [_pull request_](https://github.com/FlipsideCrypto/gitbook/) _for this page or sharing in_ [_Discord_](https://discord.gg/ZmU3jQuu6W)_._ +# Example Code -__ - -#### Contents - -| Basic Code Examples | -| ---------------------------------------------------------------------------------- | -| [Query Pagination](examples.md#query-pagination) | -| [Query Pagination - Get All Records](examples.md#query-pagination-get-all-records) | -| | - -| Templates & Walkthroughs | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [Basic React App](https://github.com/FlipsideCrypto/sdk/tree/main/examples/js/react-app) | -| [Python Notebook - SDK Intro & Features](https://github.com/FlipsideCrypto/sdk/tree/main/examples/python/notebooks) | -| [R Markdown Repo](https://github.com/FlipsideCrypto/sdk/tree/main/examples/r) \| [A Real Bored Ape Yacht Club Analysis](https://science.flipsidecrypto.xyz/content/cde48707-2e25-45e8-bd1f-451482c4efed/shroomDK\_BAYC\_example.html) | - -### Query Pagination +### 1. Query Pagination All query result sets return a maximum of 1,000,000 rows. The entire query result set is cached in accordance with the query’s TTL and subsets can be retrieved by specifying the page size and page number. All without rerunning the initial query and depleting your query run quota. - - By default, all query runs will be set to the following if pagination is not specified. | variable | default value | @@ -149,7 +133,7 @@ Updating the pageNumber does NOT re-execute the query and therefore does not ded {% endtab %} {% endtabs %} -### Query Pagination - Get All Records +### 2. Query Pagination - Get All Records Retrieve all records up to the 1,000,000 row limit. @@ -229,3 +213,5 @@ df = querying_pagination(df_query) ``` {% endtab %} {% endtabs %} + +_If you have an example you think would be helpful for others: please share with the community by submitting a_ [_pull request_](https://github.com/FlipsideCrypto/gitbook/) _for this page, or sharing in_ [_Discord_](https://discord.gg/ZmU3jQuu6W)_._ diff --git a/shroomdk-sdk/get-started.md b/shroomdk-sdk/get-started.md deleted file mode 100644 index 8d9ca9f..0000000 --- a/shroomdk-sdk/get-started.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -description: Your API key to the most comprehensive blockchain data in crypto ---- - -# 🍄 Get Started - -Get access to the most comprehensive blockchain data in crypto for analysts, developers, and data scientists. - -### 1. Get your API key - -Go to [https://sdk.flipsidecrypto.xyz ](https://sdk.flipsidecrypto.xyz)to mint your **free** ShroomDK NFT. After minting, your API Key will be revealed and can be plugged into the SDKs / API. - - - -### 2. Choose your stack - -#### SDKs - -| Language | Version | Status | -| --------------- | ------- | ------------------------------------------------------------------------------------- | -| ✅ JS/TypeScript | 1.1.1 | ![](https://github.com/FlipsideCrypto/sdk/actions/workflows/ci\_js.yml/badge.svg) | -| ✅ Python | 1.0.2 | ![](https://github.com/FlipsideCrypto/sdk/actions/workflows/ci\_python.yml/badge.svg) | -| ✅ R | 0.1.1 | | - -Want a different SDK? Please let us know in [Discord](https://discord.gg/ZmU3jQuu6W). Want to create your own SDK? we'd be happy to showcase it here. - -**REST API** - -You can also query data with our [REST API](rest-api.md) directly. - - - -### 3. Get inspired - -Explore our data in the [Flipside app](https://app.flipsidecrypto.com/), check out SDK [code examples](examples.md), and see what people in our community are [creating](community-showcase.md). - - - -### 4. Connect & create - -Introduce yourself :wave: in the SDK [Discord](https://discord.gg/ZmU3jQuu6W) channels, ask questions and share what you're working on. - -
- - - -### 5. Share - -Tag [@flipsidecrypto](https://twitter.com/flipsidecrypto/), share in [Discord](https://discord.gg/ZmU3jQuu6W), and add your work to our [Community Showcase](community-showcase.md) — apps, data science, advanced analytics — the crypto space wants to see what you're creating. diff --git a/shroomdk-sdk/get-started/README.md b/shroomdk-sdk/get-started/README.md new file mode 100644 index 0000000..94ab5d5 --- /dev/null +++ b/shroomdk-sdk/get-started/README.md @@ -0,0 +1,39 @@ +--- +description: Your API key to the most comprehensive blockchain data in crypto +--- + +# Getting Started + +Here's how to get programmatic access to the most comprehensive blockchain data in crypto for analysts, developers, and data scientists. + +## 1. Mint the free NFT + +Go to the [ShroomDK page ](https://sdk.flipsidecrypto.xyz)to mint your **free** ShroomDK NFT. + +After minting, your API Key will be revealed, and can be plugged into the SDKs / API. + +## 2. Choose your SDK + +| Language | Version | Walkthrough Link | +| --------------- | ------- | ------------------------------------------------------ | +| ✅ JS/TypeScript | 1.1.1 | [Getting Started with JS/TS](javascript-typescript.md) | +| ✅ Python | 1.0.2 | [Getting Started with Python](python.md) | +| ✅ R | 0.1.1 | [Getting Started with R](r.md) | + +Want an SDK for another language? Or want to create your own SDK? Please reach out in [Discord](https://discord.gg/ZmU3jQuu6W)! + +Alternately, you can also query data from our [REST API](rest-api.md). + +## 3. Get inspired + +Explore our data in the [Flipside app](https://app.flipsidecrypto.com/), check out SDK [code examples](../examples.md), and see what people in our community are [creating](../community-showcase.md). + +## 4. Connect & create + +Introduce yourself in the SDK [Discord](https://discord.gg/ZmU3jQuu6W) channels, ask questions and share what you're working on.: + +

Dedicated ShroomDK channels in our Discord host a vibrant community of creators.

+ +## 5. Share your work + +Tag [@flipsidecrypto](https://twitter.com/flipsidecrypto/), share in [Discord](https://discord.gg/ZmU3jQuu6W), and add your work to our [Community Showcase](../community-showcase.md) — apps, data science, advanced analytics — the crypto space wants to see what you're creating. diff --git a/shroomdk-sdk/javascript-typescript.md b/shroomdk-sdk/get-started/javascript-typescript.md similarity index 100% rename from shroomdk-sdk/javascript-typescript.md rename to shroomdk-sdk/get-started/javascript-typescript.md diff --git a/shroomdk-sdk/python.md b/shroomdk-sdk/get-started/python.md similarity index 100% rename from shroomdk-sdk/python.md rename to shroomdk-sdk/get-started/python.md diff --git a/shroomdk-sdk/r.md b/shroomdk-sdk/get-started/r.md similarity index 99% rename from shroomdk-sdk/r.md rename to shroomdk-sdk/get-started/r.md index 9c0d334..b404cbe 100644 --- a/shroomdk-sdk/r.md +++ b/shroomdk-sdk/get-started/r.md @@ -40,7 +40,7 @@ Documentation can be viewed within RStudio with `?auto_paginate_query` for new p | maxrows | Flipside Crypto ShroomDK maximum rows in query, default 1,000,000 | | value |

data frame of up to 1M rows,
see ?clean_query for more details on column classes

| -For detailed examples using exclusively auto\_paginate\_query() see the [Examples](examples.md). +For detailed examples using exclusively auto\_paginate\_query() see the [Examples](../examples.md). ``` # example diff --git a/shroomdk-sdk/rest-api.md b/shroomdk-sdk/get-started/rest-api.md similarity index 88% rename from shroomdk-sdk/rest-api.md rename to shroomdk-sdk/get-started/rest-api.md index f1a316e..9c6e03a 100644 --- a/shroomdk-sdk/rest-api.md +++ b/shroomdk-sdk/get-started/rest-api.md @@ -19,16 +19,16 @@ There are two endpoints in the API. The following endpoint will queue up the execution of a query. If results already exist the query will not be executed. The endpoint returns a `token` that can be plugged into the `Get Query Results` endpoint to retrieve your data. -{% swagger src="../.gitbook/assets/rest_api_2022-08-31.yml" path="/queries" method="post" %} -[rest_api_2022-08-31.yml](../.gitbook/assets/rest_api_2022-08-31.yml) +{% swagger src="../../.gitbook/assets/rest_api_2022-08-31.yml" path="/queries" method="post" %} +[rest_api_2022-08-31.yml](../../.gitbook/assets/rest_api_2022-08-31.yml) {% endswagger %} ### Get Query Results This endpoint takes as input a `token` from a `Create Query` response. -{% swagger src="../.gitbook/assets/rest_api_2022-08-31.yml" path="/queries/{token}" method="get" %} -[rest_api_2022-08-31.yml](../.gitbook/assets/rest_api_2022-08-31.yml) +{% swagger src="../../.gitbook/assets/rest_api_2022-08-31.yml" path="/queries/{token}" method="get" %} +[rest_api_2022-08-31.yml](../../.gitbook/assets/rest_api_2022-08-31.yml) {% endswagger %} ### Example in Python: @@ -116,6 +116,6 @@ By default, the endpoint will return up to 100k records. More details on query pagination here: -{% content-ref url="examples.md" %} -[examples.md](examples.md) +{% content-ref url="../examples.md" %} +[examples.md](../examples.md) {% endcontent-ref %} diff --git a/shroomdk-sdk/rate-limits.md b/shroomdk-sdk/rate-limits.md index 6d23008..3afcb92 100644 --- a/shroomdk-sdk/rate-limits.md +++ b/shroomdk-sdk/rate-limits.md @@ -1,3 +1,7 @@ +--- +description: Rate limits for the API help us deliver consistent performance for all users. +--- + # Rate Limits {% hint style="info" %} diff --git a/shroomdk-sdk/templates-and-walkthroughs.md b/shroomdk-sdk/templates-and-walkthroughs.md new file mode 100644 index 0000000..bf25e31 --- /dev/null +++ b/shroomdk-sdk/templates-and-walkthroughs.md @@ -0,0 +1,9 @@ +--- +description: Example apps and templates to help you get started quickly. +--- + +# Templates & Walkthroughs + +* [Basic React App](https://github.com/FlipsideCrypto/sdk/tree/main/examples/js/react-app) +* [Python Notebook - SDK Intro & Features](https://github.com/FlipsideCrypto/sdk/tree/main/examples/python/notebooks) +* [R Markdown Repo](https://github.com/FlipsideCrypto/sdk/tree/main/examples/r) | [A Real Bored Ape Yacht Club Analysis](https://science.flipsidecrypto.xyz/content/cde48707-2e25-45e8-bd1f-451482c4efed/shroomDK\_BAYC\_example.html) diff --git a/velocity/getting-started-with-the-flipside-app.md b/velocity/getting-started-with-the-flipside-app.md deleted file mode 100644 index a6104a2..0000000 --- a/velocity/getting-started-with-the-flipside-app.md +++ /dev/null @@ -1,5 +0,0 @@ -# Getting Started with the Flipside App - -Access our data with the free Flipside App [here](https://app.flipsidecrypto.com/). - -{% embed url="https://www.youtube.com/watch?v=MDc1baNj6OE" %} diff --git a/velocity/parameterized-queries.md b/velocity/parameterized-queries.md deleted file mode 100644 index 331a16d..0000000 --- a/velocity/parameterized-queries.md +++ /dev/null @@ -1,3 +0,0 @@ -# Parameterized Queries - -{% embed url="https://www.youtube.com/watch?v=8KYx9kdwzvY" %} diff --git a/velocity/query-editor-shortcuts.md b/velocity/query-editor-shortcuts.md deleted file mode 100644 index 90f3c0e..0000000 --- a/velocity/query-editor-shortcuts.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -description: This page contains all of the available keyboard shortcuts to use i Velocity. ---- - -# Query Editor Shortcuts - - - -| Function | Windows | Linux | Mac | iPad Compatible | Category | Explanation | -| ------------------------------------------------ | ------------------------------------- | ------------------------------------- | ------------------------------------- | ---------------- | ------------- | -------------------------------------------------------------------------------------------------------------------- | -| Delete Line | ctrl + shift + k | ctrl + shift + k | cmd + shift + k | Y | Basic Editing | | -| Move Line Up / Down | alt + up or down | alt + up or down | option + up or down | Y | Basic Editing | | -| Duplicate Line Above / Below | shift + alt + up or down | shift + alt + up or down | shift + option + up or down | Y | Basic Editing | | -| Cut line | ctrl + x | N/A | cmd + x | N | Basic Editing | | -| Cut selection | ctrl + x | ctrl + x | cmd + x | Y | Basic Editing | | -| Copy line (nothing selected) | ctrl + c | N/A | cmd + c | N | Basic Editing | | -| Copy selection | ctrl + c | ctrl + c | cmd + c | Y | Basic Editing | | -| Paste | ctrl + v | ctrl + v | cmd + v | Y | Basic Editing | | -| Select rest of line from cursor | ctrl + shift + down | ctrl + shift + down | ctrl + shift + e | ctrl + shift + e | Basic Editing | | -| Delete next character | del | del | ctrl + d | Y | Basic Editing | | -| Backspace whole word | ctrl + backspace | ctrl + backspace | option + backspace | Y | Basic Editing | | -| Delete line from cursor | N/A | N/A | ctrl + k | Y | Basic Editing | Deletes to end of line from current cursor location. | -| Select current line | alt + l | alt + l | ctrl + l | Y | Basic Editing | Continuing to press will select the next line down | -| Move single char forward | N/A | N/A | ctrl + t | Y | Basic Editing | This will take the character directly behind the cursor and move it forward 1 spot for each press. Useful for typos. | -| Select single line above starting from cursor | N/A | N/A | ctrl + shift + p | Y | Basic Editing | | -| Select single line below starting from cursor | N/A | N/A | ctrl + shift + n | Y | Basic Editing | | -| Backspace line from cursor | N/A | ctrl + shift + backspace | cmd + delete | Y | Basic Editing | | -| Delete only commmented text | alt + backspace | N/A | N/A | N/A | Basic Editing | This will leave uncommented text untouched | -| Toggle line comment | ctrl + / | ctrl + / | cmd + / | Y | Basic Editing | | -| Toggle block comment | shift + alt + a | shift + alt + a | shift + option + a | Y | Basic Editing | | -| Open suggestion dropdown | ctrl + space | ctrl + space | ctrl + space | N | Basic Editing | | -| Move sidebar to other side of editor | ctrl + shift + x | ctrl + shift + x | N/A | N/A | Editor Tools | | -| Escape button | Esc | Esc | Esc | cmd + . | Editor Tools | | -| Run Query | ctrl + enter | ctrl + enter | cmd + return | Y | Editor Tools | | -| Create new line above | N/A | N/A | ctrl + o | Y | Formatting | | -| Indent / outdent line | ctrl + ] or \[ | ctrl + ] or \[ | cmd + ] or \[ | Y | Formatting | | -| Go to matching bracket | ctrl + shift + \\ | ctrl + shift + \\ | cmd + shift + \\ | Y | Navigation | When cursor is on an open or close bracket (Velocity will show it as green/lightly highlighted) | -| Go to beginning of line | Home | Home | fn + left | ctrl + a | Navigation | | -| Go to end of line | End | End | fn + right | N | Navigation | | -| Go to beginning of file | ctrl + Home | ctrl + Home | shift + option + < | Y | Navigation | | -| Go to end of file | ctrl + End | ctrl + End | shift + option + > | Y | Navigation | | -| Collapse / uncollapse region | ctrl + shift + \[ or ] | ctrl + shift + \[ or ] | cmd + option + \[ or ] | Y | Navigation | When a \\/ carrot appears next to the line number, the related query lines can be collapsed | -| Search and Replace | ctrl + f | ctrl + f | cmd + f | Y | Navigation | If user has text highlighted when using this command, it will search for the selection. | -| Search for next | ctrl + g | ctrl + g | cmd + g | Y | Navigation | If user has nothing selected, search bar will pop up. If user has a selection, cursor will jump to next instance. | -| Undo cursor move | ctrl + u | ctrl + u | cmd + u | Y | Navigation | If user clicks somewhere else, this will bring the cursor back to where it just was | -| Select next character / grow or shrink selection | shift + right or left | shift + right or left | shift + right or left | Y | Navigation | User can start a selection or use this shortcut to expand a current selection | -| Select next word / block | shift + (ctrl OR alt) + right or left | shift + (ctrl OR alt) + right or left | shift + (ctrl OR alt) + right or left | Y | Navigation | User can start a selection or use this shortcut to expand a current selection | -| Select all | ctrl + a | ctrl + a | cmd + a | Y | Navigation | | -| Go to line prompt | alt + g | alt + g | option + g | Y | Navigation | | -| Move cursor full word / block | ctrl + left or right | ctrl + left or right | option + left or right | Y | Navigation | |