From b2000991d87bd155b782b0eb540b2c5b1e6ec632 Mon Sep 17 00:00:00 2001 From: godlin Date: Wed, 20 Sep 2023 23:52:23 +0200 Subject: [PATCH] Enhanced prerequisites explanation --- docs/quickstart/quickstart_chains/ethereum-uniswap.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/quickstart/quickstart_chains/ethereum-uniswap.md b/docs/quickstart/quickstart_chains/ethereum-uniswap.md index 6f449e85adf..3d27e0cb14c 100644 --- a/docs/quickstart/quickstart_chains/ethereum-uniswap.md +++ b/docs/quickstart/quickstart_chains/ethereum-uniswap.md @@ -6,8 +6,6 @@ Within the domain of DeFi, the objective of indexing Uniswap entities is both cr The objective of this article is to offer a detailed, step-by-step guide on setting up a SubQuery indexer for Uniswap data indexing. We will comprehensively cover the necessary configurations and delve into the intricacies of the underlying logic. -Previously, in the [1. Create a New Project](../quickstart.md) section, you must have noted [3 key files](../quickstart.md#_3-make-changes-to-your-project). Let's begin updating them one by one. - ## Setting Up the Indexer In this Uniswap indexing project, our main focus is on configuring the indexer to exclusively capture logs generated by three specific types of Uniswap smart contracts: @@ -24,7 +22,7 @@ To gain a deeper understanding of how these core mechanisms work, you can refer We suggest starting with the [Ethereum Gravatar example](./ethereum-gravatar). The Ethereum Uniswap project is a lot more complicated and introduces some more advanced concepts ::: -Let's explore the setup for each of these smart contracts to get a complete grasp of their specifics. +In the earlier section titled "Create a New Project" (refer to [quickstart.md](../quickstart.md)), you should have taken note of three crucial files. To initiate the setup of a project from scratch, you can proceed to follow the steps outlined in the [initialization description](../quickstart.md#2-initialise-a-new-subquery-project). As a prerequisite, you will need to generate types from the ABI files of each smart contract. You can obtain these ABI files by searching for the ABIs of the mentioned smart contract addresses on Etherscan. For instance, you can locate the ABI for **UniswapV3Factory** at the bottom of [this page](https://etherscan.io/address/0x1F98431c8aD98523631AE4a59f267346ea31F984#code). Additionally, you can kickstart your project by using the EVM Scaffolding approach (detailed [here](../quickstart.md#evm-project-scaffolding)). You'll find all the relevant events to be scaffolded in the documentation for each type of smart contract, as described in sections [1](#1-configuring-the-manifest-file), [2](#1-configuring-the-manifest-file-1), and [3](#1configuring-the-manifest-file). ::: tip Note The code snippets provided further have been simplified for clarity. You can find the full and detailed code [here](https://github.com/subquery/ethereum-subql-starter/tree/main/Ethereum/ethereum-uniswap-v3) to see all the intricate details.