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 site/pages/op-stack/actions/estimateFinalizeWithdrawalGas.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const hash = await client.estimateFinalizeWithdrawalGas({
- **Type:** `Address`
- **Default:** `targetChain.contracts.portal[chainId].address`

The address of the [Optimism Portal contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal.sol). Defaults to the Optimism Portal contract specified on the `targetChain`.
The address of the [Optimism Portal contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal2.sol). Defaults to the Optimism Portal contract specified on the `targetChain`.

If a `portalAddress` is provided, the `targetChain` parameter becomes optional.

Expand Down Expand Up @@ -223,4 +223,4 @@ const hash = await client.estimateFinalizeWithdrawalGas({
withdrawal: { /* ... */ }, // [!code focus]
targetChain: optimism,
})
```
```
4 changes: 2 additions & 2 deletions site/pages/op-stack/actions/estimateProveWithdrawalGas.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const hash = await client.estimateProveWithdrawalGas({
- **Type:** `Address`
- **Default:** `targetChain.contracts.portal[chainId].address`

The address of the [Optimism Portal contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal.sol). Defaults to the Optimism Portal contract specified on the `targetChain`.
The address of the [Optimism Portal contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal2.sol). Defaults to the Optimism Portal contract specified on the `targetChain`.

If a `portalAddress` is provided, the `targetChain` parameter becomes optional.

Expand Down Expand Up @@ -275,4 +275,4 @@ const hash = await client.estimateProveWithdrawalGas({
withdrawal: { /* ... */ }, // [!code focus]
targetChain: optimism,
})
```
```
4 changes: 2 additions & 2 deletions site/pages/op-stack/actions/getTimeToFinalize.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const { seconds, timestamp } = await publicClientL1.getTimeToFinalize({
- **Type:** `Address`
- **Default:** `targetChain.contracts.l2OutputOracle[chainId].address`

The address of the [L2 Output Oracle contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/L2OutputOracle.sol). Defaults to the L2 Output Oracle contract specified on the `targetChain`.
The address of the [L2 Output Oracle contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal2.sol). Defaults to the L2 Output Oracle contract specified on the `targetChain`.

If a `l2OutputOracleAddress` is provided, the `targetChain` parameter becomes optional.

Expand All @@ -117,4 +117,4 @@ const { seconds } = await publicClientL1.getTimeToFinalize({
l2OutputOracleAddress: '0xbEb5Fc579115071764c7423A4f12eDde41f106Ed',
portalAddress: '0xbEb5Fc579115071764c7423A4f12eDde41f106Ed' // [!code focus]
})
```
```
4 changes: 2 additions & 2 deletions site/pages/op-stack/actions/getTimeToProve.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const time = await publicClientL1.getTimeToProve({
- **Type:** `Address`
- **Default:** `targetChain.contracts.l2OutputOracle[chainId].address`

The address of the [L2 Output Oracle contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/L2OutputOracle.sol). Defaults to the L2 Output Oracle contract specified on the `targetChain`.
The address of the [L2 Output Oracle contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal2.sol). Defaults to the L2 Output Oracle contract specified on the `targetChain`.

If a `l2OutputOracleAddress` is provided, the `targetChain` parameter becomes optional.

Expand All @@ -112,4 +112,4 @@ const time = await publicClientL1.getTimeToProve({
l2BlockNumber,
l2OutputOracleAddress: '0xbEb5Fc579115071764c7423A4f12eDde41f106Ed' // [!code focus]
})
```
```
6 changes: 3 additions & 3 deletions site/pages/op-stack/actions/getWithdrawalStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const status = await publicClientL1.getWithdrawalStatus({
- **Type:** `Address`
- **Default:** `targetChain.contracts.l2OutputOracle[chainId].address`

The address of the [L2 Output Oracle contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/L2OutputOracle.sol). Defaults to the L2 Output Oracle contract specified on the `targetChain`.
The address of the [L2 Output Oracle contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal2.sol). Defaults to the L2 Output Oracle contract specified on the `targetChain`.

If a `l2OutputOracleAddress` is provided, the `targetChain` parameter becomes optional.

Expand All @@ -96,7 +96,7 @@ const status = await publicClientL1.getWithdrawalStatus({
- **Type:** `Address`
- **Default:** `targetChain.contracts.portal[chainId].address`

The address of the [Portal contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal.sol). Defaults to the L2 Output Oracle contract specified on the `targetChain`.
The address of the [Portal contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal2.sol). Defaults to the L2 Output Oracle contract specified on the `targetChain`.

If a `portalAddress` is provided, the `targetChain` parameter becomes optional.

Expand All @@ -106,4 +106,4 @@ const status = await publicClientL1.getWithdrawalStatus({
l2OutputOracleAddress: '0xbEb5Fc579115071764c7423A4f12eDde41f106Ed',
portalAddress: '0xbEb5Fc579115071764c7423A4f12eDde41f106Ed' // [!code focus]
})
```
```