Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 3c7875a

Browse files
authored
Merge pull request #201 from 1inch/spot-price-aggregator/patch-deployment-guide
[SC-1106] Patch deployment guide for SpotPriceAggregator
2 parents 79eed12 + 223d28a commit 3c7875a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/spot-price-aggregator/oracle-deployment-guide.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This section provides a comprehensive guide on deploying an oracle, including th
4444
### Step 5: Deploying Oracles
4545

4646
5. **Deploy Oracles:**
47-
- Use the deploy script located at `deploy/commands/simple-deploy.js`.
47+
- Use the deploy script located at `deploy/commands/simple-deploy.js`. You can find a description of the script and how to use it in the [scripts description](https://github.com/1inch/spot-price-aggregator/blob/master/deploy/README.md).
4848
- Configure the `PARAMS` object for each protocol you wish to deploy an oracle for. The parameters include:
4949
- **contractName**: Name of the contract from the `contracts/oracles/` directory.
5050
- **args**: Arguments required by the contract (See contract's constructor).
@@ -55,10 +55,10 @@ This section provides a comprehensive guide on deploying an oracle, including th
5555
### Step 6: Deploying Wrappers
5656

5757
6. **Deploy Wrappers:**
58-
- Follow similar steps as step 5 to deploy necessary wrappers. You can find it in the `contracts/wrappers/` directory.
58+
- Follow similar steps as step 5 to deploy necessary wrappers and `MultiWrapper`. You can find different wrappers in the `contracts/wrappers/` directory. After `MultiWrapper` is deployed, it will be possible to edit these lists of wrappers.
5959

6060
### Step 7: Deploying OffchainOracle
6161

6262
7. **Deploy OffchainOracle:**
63-
- Follow similar steps as step 5 to deploy the `OffchainOracle`. Make sure to include the deployed oracles (from step 5), wrappers (from step 6) and specifying the tokens you wish to use as connectors for price discovery. After `OffchainOracle` is deployed, it will be possible to edit these lists of oracles, wrappers and connectors.
63+
- Follow similar steps as step 5 to deploy the `OffchainOracle`. Make sure to include the deployed oracles (from step 5), `MultiWrapper` with wrappers (from step 6) and specifying the tokens you wish to use as connectors for price discovery. After `OffchainOracle` is deployed, it will be possible to edit these lists of oracles and connectors.
6464

0 commit comments

Comments
 (0)