Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate data-tables and v2 engine files #2

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .gitbook/assets/2021-11-03 16-59-42 (1) (1) (1).gif
Binary file not shown.
Binary file removed .gitbook/assets/2021-11-03 16-59-42 (1) (1) (2).gif
Binary file not shown.
Binary file removed .gitbook/assets/2021-11-03 16-59-42 (1) (1).gif
Binary file not shown.
Binary file removed .gitbook/assets/image (13) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed .gitbook/assets/image (13) (1) (1) (1) (2).png
Binary file not shown.
Binary file removed .gitbook/assets/image (13) (1) (1) (1).png
Binary file not shown.
Binary file removed .gitbook/assets/image (19) (1) (1) (1).png
Binary file not shown.
Binary file removed .gitbook/assets/image (19) (1) (1) (2).png
Binary file not shown.
Binary file removed .gitbook/assets/image (19) (1) (1).png
Binary file not shown.
Binary file modified .gitbook/assets/image (19).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed .gitbook/assets/image (27) (1) (1).png
Binary file not shown.
Binary file removed .gitbook/assets/image (27) (1) (2) (1).png
Binary file not shown.
Binary file removed .gitbook/assets/image (27) (1) (2) (2).png
Binary file not shown.
Binary file removed .gitbook/assets/image (27) (1) (2).png
Binary file not shown.
Binary file removed .gitbook/assets/image (27) (1).png
Binary file not shown.
Binary file removed .gitbook/assets/image (27) (2).png
Binary file not shown.
Binary file modified .gitbook/assets/image (27).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (42).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (43).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (44).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (45).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (46).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (47).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (48).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (49).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (50).png
Binary file modified .gitbook/assets/image (51).png
Binary file modified .gitbook/assets/image (52).png
Binary file modified .gitbook/assets/image (53).png
Binary file modified .gitbook/assets/image (54).png
Binary file modified .gitbook/assets/image (55).png
Binary file modified .gitbook/assets/image (56).png
Binary file modified .gitbook/assets/image (57).png
Binary file modified .gitbook/assets/image (58).png
Binary file modified .gitbook/assets/image (59).png
Binary file modified .gitbook/assets/image (60).png
Binary file added .gitbook/assets/image (61).png
Binary file added .gitbook/assets/image (62).png
74 changes: 37 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,81 +1,81 @@
---
说明: 欢迎使用Dune
description: Welcome to Dune
---

# Dune介绍
# Introduction to Dune

## 简介
## Introduction

**Dune是一款强大的区块链研究工具。通过Dune你可以查询,导出和可视化区块链上浩如烟海的数据。Dune让公共的区块链数据对每个人都触手可及,从而使其有了无限的可能。该文档将会帮你解答类似如下的问题:**
**Dune is a powerful tool for blockchain research. Dune gives you all the tools to query, extract, and visualize vast amounts of data from the blockchain. Dune is unlocking the power of public blockchain data by making it accessible to everyone. This documentation will help you answer questions like:**

[Uniswap每天的交易资金有多少?](https://dune.xyz/queries/3)
[How much volume flows through Uniswap each day?](https://dune.xyz/queries/3)

[哪家去中心交易所的交易额最高?](https://dune.xyz/queries/1847)
[Which Dex has the highest volume?](https://dune.xyz/queries/1847)

[重要的稳定币有什么链上行为?](https://dune.xyz/hagaetc/stablecoins)
[How are important Stablecoins behaving today?](https://dune.xyz/hagaetc/stablecoins)

## Dune基础
## Dune Basics

#### Dune应用
#### Dune App

理解[查询](./#queries), [可视化](duneapp/visualizations/)和 [仪表盘](duneapp/dashboards.md)的概念将对你畅游Dune很有帮助。 他们是你通往区块链信息大门的基础区块。作为一名区块链分析师,你可以查询数据信息,可视化你的结果,然后进一步用仪表盘来讲述你的内容。
While navigating Dune, it helps to have a good understanding of [queries](./#queries), [visualizations](duneapp/visualizations/), and [dashboards](duneapp/dashboards.md). These are the basic building blocks that act as your portal to the world's blockchain information. As a blockchain analyst, you can create custom queries to fetch data, visualize the results of these queries, and then tell stories with your data using dashboards.

#### Dune的数据可视化
#### Data available on Dune

在屏幕背后,Dune将晦涩的数据转换成容易阅读的数据表。使用SQL查询,你能准确得筛选出你需要的信息。
Behind the scenes, Dune transforms difficult-to-access data into human-readable tables. Using SQL queries, you can query for exactly the information you need.

Dune既提供原始区块链数据也提供已解码的数据。只有有用户向我们提出了合约解码的需求,我们才提供对应的解码数据。 你可以在这里提交解码需求[网页](https://dune.xyz/contracts/new).\
Dune has raw blockchain data and decoded blockchain data available. Decoded data is only available if somebody signaled to us before that a contract needs to be decoded. You can signal a decoding request to us via our [website](https://dune.xyz/contracts/new).\
\
目前你可以查询以下的链上数据 **Ethereum, Polygon, Binance Smart Chain, Optimism** **Gnosis Chain**.
You can currently query data from **Ethereum, Polygon, Binance Smart Chain, Optimism** and **Gnosis Chain**.

Dune提取区块链上我们索引的时间和内部调用,我们不规定和存储数据。
Dune picks up events and internal calls from the blockchains we index, we don't have state/storage data.

## 查询
## Queries

Dune将区块链的数据聚合到易于检索的数据库中。通过查询,你可以限定输出哪些数据。
Dune aggregates blockchain data into SQL databases that can be easily queried. Queries are used to specify what data from the blockchain should be returned.

你也许想了解 _今天所有去中心化交易所的交易额_, 或者 _今年稳定币的铸造数量_。 不管是哪个问题,你都可以通过查询来解答。
Maybe you want to know _all the Dex trades that happened today_, or the _total value of stablecoins minted this year_. Whatever the question, the answer likely starts with a Dune query.

查询同时返回数据的行和列 (与传统的SQL查询类似),你可以用来可视化展示。
Queries return rows and columns of data (same as traditional SQL queries) that can later be visualized and presented.

![Screen Shot 2021-04-22 at 9 56 34 AM](https://user-images.githubusercontent.com/76178256/115726979-357d1380-a351-11eb-83ee-16f0d57c6ecb.png)

一名区块链分析师(比如你)可以有很多途径开始一条查询:
There are a few ways that a blockchain analyst (ie. you!) can get started running queries:

1. 使用Dune的 _抽象表_ 来查询常用数据表。这是最简单的也是最常用的使用Dune的方式。一些常用的抽象表包括`dex.trades``lending.borrow``stablecoin.transfer` (你可以在这里找到完整的抽象表列表[这里](https://github.com/duneanalytics/abstractions))
2. 查询区块、日志和交易在内的原始以太坊数据。
3. 中心化交易所的数据也是可以查询的。通过使用`prices.usd`可以迅速的返回几乎任意一种加密货币的价格。
1. Use Dune _abstractions_ to query commonly used data tables. This is the simplest and most common way to use Dune. Some popular abstractions include `dex.trades`, `lending.borrow`, and `stablecoin.transfer` (you can find a complete list of abstractions [here](https://github.com/duneanalytics/abstractions))
2. Query the raw ethereum data including blocks, logs, and transactions.
3. It is also possible to query centralized exchange data. Use `prices.usd` to quickly return the price of almost any cryptoasset

## 可视化
## Visualizations

表中的数据 (行和列)有时不易阅读。结果的可视化可以更清晰准确地展示信息。
Data presented in table form (rows and columns) can be difficult to read. Visualizations take the results of a query and present the information in a clear & precise way.

你可以开始通过可视化来讲述你的内容。通过Dune你可以轻松地将:
You can use visualizations to begin to tell a story with your data. With Dune visualizations it is easy to transform this:

![Screen Shot 2021-04-22 at 10 59 48 AM](https://user-images.githubusercontent.com/76178256/115737269-fa331280-a359-11eb-9a31-c0dfe4b038e6.png)

转化为:
Into this:

![Screen Shot 2021-04-22 at 11 01 02 AM](https://user-images.githubusercontent.com/76178256/115737692-5b5ae600-a35a-11eb-8145-bdcf9396cd03.png)

这个柱状图清晰地展示了最高的交易量发生在4月19日,同时帮助观众了解了时间趋势。
The bar chart visualization makes it clear that April 19th had the highest transfer volume, and helps the audience see the trend over time.

Dune提供了可是展示数据的一系列的可视化选择,包括柱状图,面积图,线图,饼图等等。
Dune offers a variety of visualizations that you can use to visually present data including bar charts, area charts, line charts, pie charts, and more.

## 仪表盘
## Dashboards

使用精心设计的视觉展示,聪明的区块链分析师可以讲述关于特定数据组的内容。例如,在下文中,[仪表盘](https://dune.xyz/hagaetc/dex-metrics) 顶部展示了'Dex'在增长。观众来可以通过下面的展示发现,哪些去中心化交易所的交易额是较高的,最终通过累积的柱状图来能发现随时间变化的趋势。只需要看这一个仪表盘,观众就能清楚地看到整个DEX市场的情况。
Using carefully planned visuals, a clever blockchain analyst can tell a story about a particular group of data. For example, in the below[ dashboard](https://dune.xyz/hagaetc/dex-metrics) it is clear at the top that 'Dex' as a category is growing. Below, the audience sees which dex's are the most popular by volume, and finally can view a stacked bar chart that shows changes over time. By just looking at this single dashboard, the audience sees a clear picture of the entire DEX market.

![Screen Shot 2021-04-23 at 10 51 25 AM](https://user-images.githubusercontent.com/76178256/115889404-e7841080-a421-11eb-9e30-8d43e58e28f4.png)

## Dune需要协作
## Dune is a collaborative effort

Dune默认所有查询和数据库都是公开的。
On Dune, all queries and datasets are public by default.

这引入了一个有趣的动态,在这个动态中,用户可以轻松地分叉和混合其他创建者的查询,并在他们的知识基础上进行构建。另一方面,每次编写新查询时,你都会参与查询贡献,帮助人们查询Dune上的数据。Dune社区通过不断改进的查询范围获得共同成功,你可以轻松查询所需的统计信息。
This introduces an interesting dynamic in which you, the user, can fork and remix the queries of other creators with ease and build on top of their knowledge. On the other side, every time you write a new query, you contribute to the collection of queries that help people query for data on dune. That way, the Dune Community succeeds together through an ever improving range of queries that allow you to easily query for just the stats you need.

如果你对查询的隐私性有需求, 你可以订阅[pro Plan](https://dune.xyz/pricing)
If you do need Privacy for your Queries, the [pro Plan](https://dune.xyz/pricing) has got you covered.

加入我们 [Discord社区](https://discord.gg/BJBHFR6sdy) 来获得我们团队和社区的帮助。
Join our [Community Discord](https://discord.gg/BJBHFR6sdy) to get world class support from our team and the community.

如果有任何反馈意见,不管是功能需求还是报告错误,你都可以在这里提交[这里](https://feedback.dune.xyz/).
If you have any feedback, whether feature requests or bug reports, you can submit it [here](https://feedback.dune.xyz/).
142 changes: 71 additions & 71 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,100 +1,100 @@
# Table of contents

* [Dune介绍](README.md)

## 关于Dune <a href="#about" id="about"></a>

* [使用案例](about/usecases/README.md)
* [项目仪表盘](about/usecases/project-dashboards.md)
* [细分仪表盘](about/usecases/sector-dashboards.md)
* [生态仪表盘](about/usecases/ecosystem-dashboards.md)
* [教程](about/tutorials/README.md)
* [网络课程](about/tutorials/our-network-course.md)
* [Dune指南](about/tutorials/dune-guides/README.md)
* [查询技巧](about/tutorials/dune-guides/tips.md)
* [SQL指南](about/tutorials/sql-guides.md)
* [视频教程](about/tutorials/video-series.md)
* [查询模板](about/tutorials/queries/README.md)
* [钱包的ETH余额](about/tutorials/queries/eth-balance-of-a-wallet.md)
* [钱包交易的原始数据](about/tutorials/queries/tx-wallet.md)
* [钱包的矿工费指标](about/tutorials/queries/gas-metrics-per-wallet.md)
* [价格查询](about/tutorials/queries/price-queries.md)
* [代币随时间的总供应量](about/tutorials/queries/supply.md)
* [一段时间的用户和交易量](about/tutorials/queries/untitled-6.md)
* [交易事件中代币的美元价格](about/tutorials/queries/untitled-3.md)
* [Uniswap代币的美元价格](about/tutorials/queries/untitled-2.md)
* [一段时间内一个钱包的代币(和美元价值)](about/tutorials/queries/untitled-1.md)

## 数据表

* [数据表](data-tables/data-tables/README.md)
* [Introduction to Dune](README.md)

## About Dune <a href="#about" id="about"></a>

* [Use Cases](about/usecases/README.md)
* [Project Dashboards](about/usecases/project-dashboards.md)
* [Sector Dashboards](about/usecases/sector-dashboards.md)
* [Ecosystem Dashboards](about/usecases/ecosystem-dashboards.md)
* [Tutorials](about/tutorials/README.md)
* [Our Network course](about/tutorials/our-network-course.md)
* [Dune Guides](about/tutorials/dune-guides/README.md)
* [Tips for querying](about/tutorials/dune-guides/tips.md)
* [SQL guides](about/tutorials/sql-guides.md)
* [Video Series](about/tutorials/video-series.md)
* [Query templates](about/tutorials/queries/README.md)
* [ETH Balance of a wallet](about/tutorials/queries/eth-balance-of-a-wallet.md)
* [raw transactions per wallet](about/tutorials/queries/tx-wallet.md)
* [gas metrics per wallet](about/tutorials/queries/gas-metrics-per-wallet.md)
* [price queries](about/tutorials/queries/price-queries.md)
* [total supply over time of a token](about/tutorials/queries/supply.md)
* [Users and amount over a trailing period](about/tutorials/queries/untitled-6.md)
* [USD value of token utilised for an event](about/tutorials/queries/untitled-3.md)
* [USD price for a token from Uniswap](about/tutorials/queries/untitled-2.md)
* [Token (and USD value) per token over time for an address](about/tutorials/queries/untitled-1.md)

## Data Tables

* [Data tables](data-tables/data-tables/README.md)
* [nft.trades](data-tables/data-tables/nft.trading.md)
* [原始数据](data-tables/data-tables/raw-data/README.md)
* [以太坊数据](data-tables/data-tables/raw-data/ethereum-data.md)
* [xDai数据](data-tables/data-tables/raw-data/xdai-data.md)
* [已解码数据](data-tables/data-tables/decoded-data.md)
* [代币标准](data-tables/data-tables/special-tables.md)
* [ERC-20代币余额](data-tables/data-tables/erc-20-balances.md)
* [抽象表](data-tables/data-tables/abstractions.md)
* [用户生成表](data-tables/data-tables/user-generated.md)
* [价格表](data-tables/data-tables/prices.md)
* [标签](data-tables/data-tables/labels.md)
* [Solana数据](data-tables/data-tables/solana-data/README.md)
* [更新日志](data-tables/data-tables/solana-data/changelog.md)
* [第三方数据](data-tables/data-tables/community-data/README.md)
* [Raw Data](data-tables/data-tables/raw-data/README.md)
* [Ethereum data](data-tables/data-tables/raw-data/ethereum-data.md)
* [xDai Data](data-tables/data-tables/raw-data/xdai-data.md)
* [Decoded Data](data-tables/data-tables/decoded-data.md)
* [Token standards](data-tables/data-tables/special-tables.md)
* [ERC-20 balances](data-tables/data-tables/erc-20-balances.md)
* [Abstractions](data-tables/data-tables/abstractions.md)
* [User Generated](data-tables/data-tables/user-generated.md)
* [Prices](data-tables/data-tables/prices.md)
* [Labels](data-tables/data-tables/labels.md)
* [Solana Data](data-tables/data-tables/solana-data/README.md)
* [Changelog](data-tables/data-tables/solana-data/changelog.md)
* [Third Party Data](data-tables/data-tables/community-data/README.md)
* [Flashbots](data-tables/data-tables/community-data/flashbots.md)

## Dune V2 (beta)
## Dune Engine V2 (beta)

* [Dune V2介绍](dune-engine-v2-beta/dunes-new-query-engine.md)
* [查询引擎](dune-engine-v2-beta/query-engine.md)
* [Dune V2抽象表](dune-engine-v2-beta/abstractions-in-dunev2.md)
* [Dune V2 Intro](dune-engine-v2-beta/dunes-new-query-engine.md)
* [Query Engine](dune-engine-v2-beta/query-engine.md)
* [Abstractions in Dune V2](dune-engine-v2-beta/abstractions-in-dunev2.md)

## Dune App <a href="#duneapp" id="duneapp"></a>

* [查询编辑器](duneapp/query-editor.md)
* [可视化](duneapp/visualizations/README.md)
* [图表](duneapp/visualizations/graphs.md)
* [计数器](duneapp/visualizations/counters.md)
* [饼图](duneapp/visualizations/pie-charts.md)
* [仪表盘](duneapp/dashboards.md)
* [参数](duneapp/parameters.md)
* [添加新合约](duneapp/adding-new-contracts.md)
* [Query Editor](duneapp/query-editor.md)
* [Visualizations](duneapp/visualizations/README.md)
* [Graphs](duneapp/visualizations/graphs.md)
* [Counters](duneapp/visualizations/counters.md)
* [Pie Charts](duneapp/visualizations/pie-charts.md)
* [Dashboards](duneapp/dashboards.md)
* [Parameters](duneapp/parameters.md)
* [Adding new contracts](duneapp/adding-new-contracts.md)

## Onboarding

* [入门Dune](onboarding/onboarding-to-dune.md)
* [Onboarding to Dune](onboarding/onboarding-to-dune.md)

## 赏金计划
## Bounties

* [Wizard需求计划](bounties/wizard-request-program.md)
* [Wizard Request Program](bounties/wizard-request-program.md)

## 跨网站使用Dune图表 <a href="#sharing" id="sharing"></a>
## Dune Charts across the web <a href="#sharing" id="sharing"></a>

* [内容归属](sharing/attribution.md)
* [嵌入第三方平台](sharing/embeds/README.md)
* [Attribution](sharing/attribution.md)
* [Embeds](sharing/embeds/README.md)
* [Discord](sharing/embeds/discord.md)
* [Twitter](sharing/embeds/twitter.md)
* [Webpages](sharing/embeds/webpages.md)
* [Mirror.xyz](sharing/embeds/mirror.xyz.md)
* [Known Issues](sharing/embeds/known-issues.md)

## 资源
## Resources

* [Press Kit](resources/press-kit.md)

## FAQ

* [Dune是如何获取数据的?](faq/how-does-dune-get-its-data.md)
* [Dune有API吗?](faq/does-dune-have-an-api.md)
* [Dune有代币吗?](faq/does-dune-have-a-token.md)
* [查询结果如何刷新?](faq/how-are-results-refreshing.md)
* [How does Dune get it's data ?](faq/how-does-dune-get-its-data.md)
* [Does Dune have an API?](faq/does-dune-have-an-api.md)
* [Does Dune have a Token?](faq/does-dune-have-a-token.md)
* [How are results refreshing?](faq/how-are-results-refreshing.md)

## 更新日志
## Changelog

* [Dune的变化](changelog/dune-changes/README.md)
* [2021年3月](changelog/dune-changes/march-2021.md)
* [2020年8月](changelog/dune-changes/august-2020.md)
* [2020年3月](changelog/dune-changes/march-2020.md)
* [2020年1月](changelog/dune-changes/january-2020.md)
* [2019年10月](changelog/dune-changes/october-2019.md)
* [Changes to Dune](changelog/dune-changes/README.md)
* [March 2021](changelog/dune-changes/march-2021.md)
* [August 2020](changelog/dune-changes/august-2020.md)
* [March 2020](changelog/dune-changes/march-2020.md)
* [January 2020](changelog/dune-changes/january-2020.md)
* [October 2019](changelog/dune-changes/october-2019.md)
Loading