Skip to content

Commit

Permalink
Update arbitrum-one.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aasseman authored Sep 10, 2024
1 parent bb2f3aa commit 178dbe6
Showing 1 changed file with 33 additions and 20 deletions.
53 changes: 33 additions & 20 deletions docs/networks/arbitrum-one.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ Network information can be found at https://thegraph.com/explorer?chain=arbitrum

## Latest Releases

| Component | Release |
| --------------- | ---------------------------------------------------------------------------- |
| contracts | [1.11.1](https://github.com/graphprotocol/contracts/releases/tag/v1.11.1) |
| indexer-agent | [0.21.4](https://github.com/graphprotocol/indexer/releases/tag/v0.21.4) |
| indexer-cli | [0.21.4](https://github.com/graphprotocol/indexer/releases/tag/v0.21.4) |
| indexer-service | [0.21.4](https://github.com/graphprotocol/indexer/releases/tag/v0.21.4) |
| graph-node | [0.35.1](https://github.com/graphprotocol/graph-node/releases/tag/v0.35.1) |
| Component | Release |
| ------------------ | ---------------------------------------------------------------------------------- |
| contracts | [1.11.1](https://github.com/graphprotocol/contracts/releases/tag/v1.11.1) |
| indexer-agent | [0.21.4](https://github.com/graphprotocol/indexer/releases/tag/v0.21.4) |
| indexer-cli | [0.21.4](https://github.com/graphprotocol/indexer/releases/tag/v0.21.4) |
| indexer-service-rs | [1.0.0-rc.6](https://github.com/graphprotocol/indexer-rs/releases/tag/v1.0.0-rc.6) |
| tap-agent | [1.0.0-rc.6](https://github.com/graphprotocol/indexer-rs/releases/tag/v1.0.0-rc.6) |
| graph-node | [0.35.1](https://github.com/graphprotocol/graph-node/releases/tag/v0.35.1) |

## Network Parameters

Expand All @@ -21,14 +22,16 @@ Network information can be found at https://thegraph.com/explorer?chain=arbitrum

## Contracts & accounts

| Name | Address |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| Name | Address |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------- |
| Graph Token (GRT) | [`0x9623063377AD1B27544C965cCd7342f7EA7e88C7`](https://arbiscan.io/address/0x9623063377AD1B27544C965cCd7342f7EA7e88C7) |
| Staking | [`0x00669A4CF01450B64E8A2A20E9b1FCB71E61eF03`](https://arbiscan.io/address/0x00669A4CF01450B64E8A2A20E9b1FCB71E61eF03) |
| Data Edge | [`0x633bb9790d7c4c59991cebd377c0ed6501a35ebe`](https://arbiscan.io/address/0x633bb9790d7c4c59991cebd377c0ed6501a35ebe) |
| Block Oracle Owner | [`0x5f49491e965895ded343af13389ee45ef60ed793`](https://arbiscan.io/address/0x5f49491e965895ded343af13389ee45ef60ed793) |
| TAP Escrow | [`0x8f477709eF277d4A880801D01A140a9CF88bA0d3`](https://arbiscan.io/address/0x8f477709eF277d4A880801D01A140a9CF88bA0d3) |

Other network contracts can be found in [graphprotocol/contracts](https://github.com/graphprotocol/contracts/blob/dev/addresses.json#L752).
Other network contracts can be found in [graphprotocol/contracts](https://github.com/graphprotocol/contracts/blob/dev/addresses.json#L752) and
[semiotic-ai/timeline-aggregation-protocol-contracts](https://github.com/semiotic-ai/timeline-aggregation-protocol-contracts/blob/main/addresses.json).

## Configuration

Expand All @@ -46,6 +49,7 @@ Other network contracts can be found in [graphprotocol/contracts](https://github
| `INDEXER_AGENT_GATEWAY_ENDPOINT` | `--gateway-endpoint` | `https://gateway-arbitrum.network.thegraph.com/` |
| `INDEXER_AGENT_GAS_PRICE_MAX` | `--gas-price-max` | `50` |
| `INDEXER_AGENT_EPOCH_SUBGRAPH_ENDPOINT` | `--epoch-subgraph-endpoint` | `https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/4KFYqUWRTZQ9gn7GPHC6YQ2q15chJfVrX43ezYcwkgxB` |
| `INDEXER_AGENT_TAP_SUBGRAPH_ENDPOINT` | `--tap-subgraph-endpoint` | `https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/4sukbNVTzGELnhdnpyPqsf1QqtzNHEYKKmJkgaT8z6M1` |


In order to avoid collecting or claiming query fees below a certain threshold
Expand All @@ -58,16 +62,25 @@ option can be used.
| `INDEXER_AGENT_REBATE_CLAIM_BATCH_THRESHOLD` | `--rebate-claim-batch-threshold` | Minimum total rebates (in GRT) before a batched claim is processed (Default: 5) |
| `INDEXER_AGENT_VOUCHER_EXPIRATION` | `--voucher-expiration` | Time (in seconds) to permanently delete vouchers with too few query fees (Default: 2160) |

### Indexer Service

| Environment Variable | CLI Argument | Value |
| --------------------------------------------- | ------------------------------- | ---------------------------------------------------------------------------------------- |
| `INDEXER_SERVICE_ETHEREUM` | `--ethereum` | An Arbitrum mainnet node/provider |
| `INDEXER_SERVICE_INDEXER_ADDRESS` | `--indexer-address` | Ethereum address of mainnet indexer |
| `INDEXER_SERVICE_MNEMONIC` | `--mnemonic` | Ethereum mnemonic for mainnet operator |
| `INDEXER_SERVICE_NETWORK_SUBGRAPH_DEPLOYMENT` | `--network-subgraph-deployment` | `QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY` |
| `INDEXER_SERVICE_NETWORK_SUBGRAPH_ENDPOINT` | `--network-subgraph-endpoint` | `https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/DZz4kDTdmzWLWsV373w2bSmoar3umKKH9y82SUKr5qmp` |
| `INDEXER_SERVICE_CLIENT_SIGNER_ADDRESS` | `--client-signer-address` | `0xc483960d4D58eabc434Dc88a620AdFd883D6Dd4e` |
### Indexer Service rs *and* TAP Agent

They are configured using a TOML file provided with `--config`. You should start with [the minimal config example](https://github.com/graphprotocol/indexer-rs/blob/main/config/minimal-config-example.toml). You can find the full config [here](https://github.com/graphprotocol/indexer-rs/blob/main/config/maximal-config-example.toml) and the default values
[here](https://github.com/graphprotocol/indexer-rs/blob/main/config/default_values.toml).

| Variable | Value |
| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `indexer.indexer_address` | Ethereum address of testnet indexer |
| `indexer.operator_mnemonic` | Ethereum mnemonic for testnet operator |
| `subgraphs.network.deployment_id` | `QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY` |
| `subgraphs.network.query_url` | `https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/DZz4kDTdmzWLWsV373w2bSmoar3umKKH9y82SUKr5qmp` |
| `subgraphs.escrow.deployment_id` | `QmUhiH6Z5xo6o3GNzsSvqpGKLmCt6w5WzKQ1yHk6C8AA8S` |
| `subgraphs.escrow.query_url` | `https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/4sukbNVTzGELnhdnpyPqsf1QqtzNHEYKKmJkgaT8z6M1` |
| `tap.sender_aggregator_endpoints` | `0xDDE4cfFd3D9052A9cb618fC05a1Cd02be1f2F467 = https://tap-aggregator.network.thegraph.com` |

Notes:
- You can supply those nested values using environment variables as such: `indexer.indexer_address` -> `INDEXER_SERVICE_INDEXER__INDEXER_ADDRESS` (mind the double `_`)
- `tap.sender_aggregator_endpoints` takes a key-value list of sender address + TAP aggregator pairs. Your indexer will accept business only from the senders you add in
that list. The value provided in the table above only lists the E&N gateway for now.

### Graph Node

Expand Down

0 comments on commit 178dbe6

Please sign in to comment.