Skip to content
Merged
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
4 changes: 2 additions & 2 deletions components/TokenListTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import tokenlist from '@eth-optimism/tokenlist'
const explorers = {
'1': 'https://etherscan.io',
'5': 'https://goerli.etherscan.io',
'10': 'https://optimistic.etherscan.io',
'10': 'https://explorer.optimism.io',
'420': 'https://goerli-optimism.etherscan.io',
'11155111': 'https://sepolia.etherscan.io/',
'11155420': 'https://sepolia-optimism.etherscan.io/',
'11155420': 'https://testnet-explorer.optimism.io/',
}

export function TokenListTable({
Expand Down
2 changes: 1 addition & 1 deletion pages/app-developers/bridging/custom-bridge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ You **must** deploy your bridge to OP Sepolia before it can be added to the Supe
You can explore several examples of custom bridges for OP Mainnet:

* [NFT Bridge](https://github.com/ethereum-optimism/optimism/blob/v1.1.4/packages/contracts-bedrock/src/L1/L1ERC721Bridge.sol)
* [L2 DAI Token Bridge](https://optimistic.etherscan.io/address/0x467194771dae2967aef3ecbedd3bf9a310c76c65#code) and [deployed addresses](https://github.com/ethereum-optimism/ethereum-optimism.github.io/blob/master/data/DAI/data.json)
* [L2 DAI Token Bridge](https://explorer.optimism.io/address/0x467194771dae2967aef3ecbedd3bf9a310c76c65#code) and [deployed addresses](https://github.com/ethereum-optimism/ethereum-optimism.github.io/blob/master/data/DAI/data.json)
* [SNX Bridge](https://github.com/ethereum-optimism/ethereum-optimism.github.io/blob/master/data/SNX/data.json)
2 changes: 1 addition & 1 deletion pages/app-developers/building-apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ If you need ETH on OP Sepolia for testing purposes, [you can use this faucet](ht

## Interacting with contracts on OP Stack chains

We have Hardhat's Greeter contract on OP Sepolia at address [0x9d334aFBa83865E67a9219830ADA57aaA9406681](https://sepolia-optimism.etherscan.io/address/0x9d334aFBa83865E67a9219830ADA57aaA9406681#code).
We have Hardhat's Greeter contract on OP Sepolia at address [0x9d334aFBa83865E67a9219830ADA57aaA9406681](https://testnet-explorer.optimism.io/address/0x9d334aFBa83865E67a9219830ADA57aaA9406681#code).
You can verify your development stack configuration by interacting with it.

## Development stacks
Expand Down
2 changes: 1 addition & 1 deletion pages/app-developers/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ If you are already familiar with [building on the OP Stack](/stack/getting-start

<Card title="Build Tools" href="/app-developers/tools/build" icon={<img src="/img/icons/shapes.svg" />} />

<Card title="OP Mainnet Explorer" href="https://optimistic.etherscan.io/" icon={<img src="/img/icons/shapes.svg" />} />
<Card title="OP Mainnet Explorer" href="https://explorer.optimism.io/" icon={<img src="/img/icons/shapes.svg" />} />
</Cards>

## Data and dashboards
Expand Down
2 changes: 1 addition & 1 deletion pages/app-developers/tools/build/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"block-explorer": {
"title": "OP Mainnet explorer",
"href": "https://optimistic.etherscan.io/",
"href": "https://explorer.optimism.io/",
"newWindow": true
}
}
2 changes: 1 addition & 1 deletion pages/app-developers/tools/build/block-explorers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Blockscout also has some OP-Mainnet-specific features:

## Etherscan

We have Etherscan explorers for the [OP Mainnet](https://explorer.optimism.io) and the [OP Sepolia](https://sepolia-optimistic.etherscan.io/).
We have Etherscan explorers for the [OP Mainnet](https://explorer.optimism.io) and the [OP Sepolia](https://testnet-explorer.optimism.io/).
Etherscan has lots of tools to help you debug transactions.

Optimistic Etherscan has all the tools you expect from Etherscan, such as:
Expand Down
2 changes: 1 addition & 1 deletion pages/app-developers/tools/build/oracles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ It can also calculate the total cost of a transaction for you before you send it
This contract is a predeploy at address `0x420000000000000000000000000000000000000F`:

* [On OP Mainnet](https://explorer.optimism.io/address/0x420000000000000000000000000000000000000F#readContract)
* [On OP Sepolia](https://sepolia-optimistic.etherscan.io/address/0x420000000000000000000000000000000000000F)
* [On OP Sepolia](https://testnet-explorer.optimism.io/address/0x420000000000000000000000000000000000000F)

This is a push Oracle.
OP Mainnet (and the testnets) updates the gas price parameters onchain whenever those parameters change.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ You can use the [Superchain Faucet](https://console.optimism.io/faucet?utm_sourc
## Review the contracts
You're about to use two contracts that have already been deployed to Sepolia and OP Sepolia, the `Greeter` contracts.
You can review the source code for the L1 `Greeter` contract [here on Etherscan](https://sepolia.etherscan.io/address/0x31A6Dd971306bb72f2ffF771bF30b1B98dB8B2c5#code).
You can review the source code for the L2 `Greeter` contract [here on Etherscan](https://sepolia-optimism.etherscan.io/address/0x5DE8a2957eddb140567fF90ba5d57bc9769f3055#code).
You can review the source code for the L2 `Greeter` contract [here on Etherscan](https://testnet-explorer.optimism.io/address/0x5DE8a2957eddb140567fF90ba5d57bc9769f3055#code).
Both contracts have exactly the same source code.

Feel free to review the source code for these two contracts now if you'd like.
Expand Down Expand Up @@ -100,7 +100,7 @@ This same function can be used to wait for a message to be relayed from L1 to L2
{<h3>Check the L2 Greeter</h3>}

After a few minutes, you should see the greeting on the L2 `Greeter` contract change to the greeting you set.
Open up the [L2 `Greeter` contract on OP Sepolia Etherscan](https://sepolia-optimism.etherscan.io/address/0x5DE8a2957eddb140567fF90ba5d57bc9769f3055#readContract) and click the "Read Contract" button.
Open up the [L2 `Greeter` contract on OP Sepolia Etherscan](https://testnet-explorer.optimism.io/address/0x5DE8a2957eddb140567fF90ba5d57bc9769f3055#readContract) and click the "Read Contract" button.
Paste your address into the field next to the "greeting" function and click the "Query" button.
You should see the message you sent from L1.

Expand All @@ -124,7 +124,7 @@ You'll do this by sending two transactions on Sepolia, one proving transaction a
{<h3>Connect to Etherscan</h3>}

Just like before, sending a message to the L1 `Greeter` contract via the L2 `Greeter` contract requires that you call the `sendGreeting` function.
Open up the [L2 `Greeter` contract on OP Sepolia Etherscan](https://sepolia-optimism.etherscan.io/address/0x5DE8a2957eddb140567fF90ba5d57bc9769f3055#writeContract) and click the "Connect to Web3" button.
Open up the [L2 `Greeter` contract on OP Sepolia Etherscan](https://testnet-explorer.optimism.io/address/0x5DE8a2957eddb140567fF90ba5d57bc9769f3055#writeContract) and click the "Connect to Web3" button.

{<h3>Send your greeting</h3>}

Expand Down
2 changes: 1 addition & 1 deletion pages/operators/node-operators/json-rpc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ There are several OP Mainnet components with an RPC API, which are reviewed in t

<Callout type="warning">
Use [`eth_gasPrice`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gasprice) instead of `rollup_gasPrices` for the L2 gas price.
For the L1 gas price, you can call the [`GasPriceOracle`'s `l1BaseFee` function](https://optimistic.etherscan.io/address/0x420000000000000000000000000000000000000F#readProxyContract#F11).
For the L1 gas price, you can call the [`GasPriceOracle`'s `l1BaseFee` function](https://explorer.optimism.io/address/0x420000000000000000000000000000000000000F#readProxyContract#F11).
If you want to estimate the cost of a transaction, you can [use the SDK](/app-developers/tutorials/transactions/sdk-estimate-costs).
</Callout>

Expand Down
16 changes: 8 additions & 8 deletions pages/stack/smart-contracts/smart-contracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ valid state root of the layer 2.
There are two main ways to upgrade L1 contracts:

* [`op-deployer`](/stack/smart-contracts/op-deployer-upgrade): a simple tool to upgrade your contracts.
* [`superchain-ops`](/stack/smart-contracts/superchain-ops-guide): a workflow for chains that require security council signing or a more secure upgrade path.
* [`superchain-ops`](/stack/smart-contracts/superchain-ops-guide): a workflow for chains that require security council signing or a more secure upgrade path.

### Official releases

Expand Down Expand Up @@ -309,7 +309,7 @@ future hardforks, not the activation of said hardforks.

<Callout type="info">
The Protocol Version only applies to the Protocol specifications with the
[Superchain Targets](https://specs.optimism.io/protocol/superchain-upgrades.html?utm_source=op-docs&utm_medium=docs#superchain-target)
[Superchain Targets](https://specs.optimism.io/protocol/superchain-upgrades.html?utm_source=op-docs\&utm_medium=docs#superchain-target)
specified within. This versioning is independent of the Semver versioning
used in OP Stack smart contracts, and the Semver-versioned reference software
of the OP-Stack. This is an optional feature.
Expand Down Expand Up @@ -684,7 +684,7 @@ The `SchemaRegistry` predeploy implements the global attestation schemas for the
* **Deprecated:** no
* **Proxied:** yes

The SchemaRegistry works alongside the Ethereum Attestation Service (EAS) to enable attestations. See [Build Decentralized Identity Apps with Attestations](https://community.optimism.io/identity/about-attestations?utm_source=op-docs&utm_medium=docs) for more details on schemas and usage.
The SchemaRegistry works alongside the Ethereum Attestation Service (EAS) to enable attestations. See [Build Decentralized Identity Apps with Attestations](https://community.optimism.io/identity/about-attestations?utm_source=op-docs\&utm_medium=docs) for more details on schemas and usage.

### EAS (Ethereum Attestation Service)

Expand All @@ -701,10 +701,10 @@ The `EAS` predeploy implements the Ethereum Attestation Service protocol.

EAS contracts are deployed on these networks:

| Network | Attestation Contract | Schema Registry Contract |
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| OP Sepolia | [0x4200000000000000000000000000000000000021](https://sepolia-optimism.etherscan.io/address/0x4200000000000000000000000000000000000021) | [0x4200000000000000000000000000000000000020](https://sepolia-optimism.etherscan.io/address/0x4200000000000000000000000000000000000020) |
| OP Mainnet | [0x4200000000000000000000000000000000000021](https://optimistic.etherscan.io/address/0x4200000000000000000000000000000000000021) | [0x4200000000000000000000000000000000000020](https://optimistic.etherscan.io/address/0x4200000000000000000000000000000000000020) |
| Network | Attestation Contract | Schema Registry Contract |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| OP Sepolia | [0x4200000000000000000000000000000000000021](https://testnet-explorer.optimism.io/address/0x4200000000000000000000000000000000000021) | [0x4200000000000000000000000000000000000020](https://testnet-explorer.optimism.io/address/0x4200000000000000000000000000000000000020) |
| OP Mainnet | [0x4200000000000000000000000000000000000021](https://explorer.optimism.io/address/0x4200000000000000000000000000000000000021) | [0x4200000000000000000000000000000000000020](https://explorer.optimism.io/address/0x4200000000000000000000000000000000000020) |

### How to use EAS

Expand All @@ -728,7 +728,7 @@ Attestations made via EAS can be indexed through the following tools:
* [Ponder Graph](https://github.com/ethereum-attestation-service/eas-ponder-graph)
* [Open Source Indexer](https://github.com/ethereum-attestation-service/eas-indexing-service)

For more information on working with attestations, see [Build Decentralized Identity Apps with Attestations](https://community.optimism.io/identity/about-attestations?utm_source=op-docs&utm_medium=docs).
For more information on working with attestations, see [Build Decentralized Identity Apps with Attestations](https://community.optimism.io/identity/about-attestations?utm_source=op-docs\&utm_medium=docs).

### BeaconBlockRoot

Expand Down
8 changes: 4 additions & 4 deletions pages/stack/transactions/deposit-flow.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Information is encapsulated in lower layer packets on the sending side and then
It uses these parameters:

* `_to`, the destination address, is the messenger on the other side.
In the case of deposits, this is always [`0x4200000000000000000000000000000000000007`](https://sepolia-optimism.etherscan.io/address/0x4200000000000000000000000000000000000007).
In the case of deposits, this is always [`0x4200000000000000000000000000000000000007`](https://testnet-explorer.optimism.io/address/0x4200000000000000000000000000000000000007).
* `_gasLimit`, the gas limit.
This value is calculated using [the `baseGas` function](https://github.com/ethereum-optimism/optimism/blob/62c7f3b05a70027b30054d4c8974f44000606fb7/packages/contracts-bedrock/contracts/universal/CrossDomainMessenger.sol#L442-L471).
* `_value`, the ETH that is sent with the message.
Expand Down Expand Up @@ -105,7 +105,7 @@ It is possible to replay a failed deposit, possibly with more gas.
You'll send transactions on L1 that trigger actions on L2. Make sure you're using the correct RPC URLs for each step.
</Callout>

To see how replays work, you can use [this contract on OP Sepolia](https://sepolia-optimism.etherscan.io/address/0xEF60cF6C6D0C1c755be104843bb72CDa3D778630#code).
To see how replays work, you can use [this contract on OP Sepolia](https://testnet-explorer.optimism.io/address/0xEF60cF6C6D0C1c755be104843bb72CDa3D778630#code).

1. Call `stopChanges`, using this Foundry command:

Expand Down Expand Up @@ -155,11 +155,11 @@ To see how replays work, you can use [this contract on OP Sepolia](https://sepol

**Method A: Using Etherscan Internal Transactions**

Look in [the internal transactions of the destination contract](https://sepolia-optimism.etherscan.io/address/0xEF60cF6C6D0C1c755be104843bb72CDa3D778630#internaltx), and select the latest one that appears as a failure. It should be a call to `L2CrossDomainMessenger` at address `0x420...007`.
Look in [the internal transactions of the destination contract](https://testnet-explorer.optimism.io/address/0xEF60cF6C6D0C1c755be104843bb72CDa3D778630#internaltx), and select the latest one that appears as a failure. It should be a call to `L2CrossDomainMessenger` at address `0x420...007`.

**Method B: Using Contract Events (if internal transactions aren't visible)**

If you can't see internal transactions on Etherscan, check the [L2CrossDomainMessenger contract events](https://sepolia-optimism.etherscan.io/address/0x4200000000000000000000000000000000000007#events) and look for `FailedRelayedMessage` events with your contract address.
If you can't see internal transactions on Etherscan, check the [L2CrossDomainMessenger contract events](https://testnet-explorer.optimism.io/address/0x4200000000000000000000000000000000000007#events) and look for `FailedRelayedMessage` events with your contract address.

**Method C: Using cast to query failed messages**

Expand Down
4 changes: 2 additions & 2 deletions pages/superchain/networks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This reference guide provides a listing of the different OP Stack networks and p
| Network Name | `OP Mainnet` |
| Chain ID | `10` |
| Currency Symbol<sup>1</sup> | ETH |
| Explorer | [https://optimistic.etherscan.io](https://optimistic.etherscan.io) |
| Explorer | [https://explorer.optimism.io](https://explorer.optimism.io) |
| Public RPC URL | [https://mainnet.optimism.io](https://mainnet.optimism.io) |
| Sequencer URL<sup>2</sup> | [https://mainnet-sequencer.optimism.io](https://mainnet-sequencer.optimism.io) |
| Contract Addresses | Refer to the [Contract Addresses page](/superchain/addresses#mainnet) |
Expand All @@ -49,7 +49,7 @@ This reference guide provides a listing of the different OP Stack networks and p
| Network Name | `OP Sepolia` |
| Chain ID | `11155420` |
| Currency Symbol<sup>1</sup> | ETH |
| Explorer | [https://sepolia-optimistic.etherscan.io](https://sepolia-optimistic.etherscan.io) |
| Explorer | [https://testnet-explorer.optimism.io](https://testnet-explorer.optimism.io) |
| Public RPC URL | [https://sepolia.optimism.io](https://sepolia.optimism.io) |
| Sequencer URL<sup>2</sup> | [https://sepolia-sequencer.optimism.io](https://sepolia-sequencer.optimism.io) |
| Contract Addresses | Refer to the [Contract Addresses page](/superchain/addresses#testnet-sepolia) |
Expand Down
10 changes: 5 additions & 5 deletions pages/superchain/privileged-roles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ The L2 Proxy Admin is an address that can be used to upgrade most OP Stack chain
read the descriptions above for more details.
</Callout>

* **Optimism Governed Chains on Ethereum**: [`0x6B1BAE59D09fCcbdDB6C6cceb07B7279367C4E3b`](https://optimistic.etherscan.io/address/0x6B1BAE59D09fCcbdDB6C6cceb07B7279367C4E3b)
* **Optimism Governed Chains on Sepolia:** [`0x2FC3ffc903729a0f03966b917003800B145F67F3`](https://sepolia-optimism.etherscan.io/address/0x2FC3ffc903729a0f03966b917003800B145F67F3)
* **Optimism Governed Chains on Ethereum**: [`0x6B1BAE59D09fCcbdDB6C6cceb07B7279367C4E3b`](https://explorer.optimism.io/address/0x6B1BAE59D09fCcbdDB6C6cceb07B7279367C4E3b)
* **Optimism Governed Chains on Sepolia:** [`0x2FC3ffc903729a0f03966b917003800B145F67F3`](https://testnet-explorer.optimism.io/address/0x2FC3ffc903729a0f03966b917003800B145F67F3)


## System Config Owner
Expand Down Expand Up @@ -206,9 +206,9 @@ The Mint Manager Owner is an address that controls the [`MintManager`](https://g

### Mitigations

* Mint Manager Owner is a 3-of-5 [multisig](https://optimistic.etherscan.io/address/0x2a82ae142b2e62cb7d10b55e323acb1cab663a26#readProxyContract).
* Mint Manager Owner is a 3-of-5 [multisig](https://explorer.optimism.io/address/0x2a82ae142b2e62cb7d10b55e323acb1cab663a26#readProxyContract).

### Addresses

* **Ethereum**: [`0x2a82ae142b2e62cb7d10b55e323acb1cab663a26`](https://optimistic.etherscan.io/address/0x2a82ae142b2e62cb7d10b55e323acb1cab663a26)
* **Sepolia**: [`0x5c4e7ba1e219e47948e6e3f55019a647ba501005`](https://optimistic.etherscan.io/address/0x5c4e7ba1e219e47948e6e3f55019a647ba501005)
* **Ethereum**: [`0x2a82ae142b2e62cb7d10b55e323acb1cab663a26`](https://explorer.optimism.io/address/0x2a82ae142b2e62cb7d10b55e323acb1cab663a26)
* **Sepolia**: [`0x5c4e7ba1e219e47948e6e3f55019a647ba501005`](https://explorer.optimism.io/address/0x5c4e7ba1e219e47948e6e3f55019a647ba501005)
Loading