Skip to content

Smart contract overview update #808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Jul 30, 2024
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
2 changes: 1 addition & 1 deletion pages/builders/chain-operators/deploy/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ contracts that are deployed when the chain is created.
Standard OP Stack chains should only use governance approved and audited
smart contracts. The monorepo has them tagged with the following pattern
`op-contracts/vX.X.X` and you can review the release notes for details on the
changes. Read more about the details on our [Smart Contract Release Section](/stack/protocol/rollup/smart-contracts#releases).
changes. Read more about the details on our [Smart Contract Release Section](/stack/smart-contracts#official-releases).
</Callout>

## Sequencer Node
Expand Down
7 changes: 6 additions & 1 deletion pages/builders/chain-operators/self-hosted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ There are two main steps to get started building your own self-hosted OP Chain:
To work with OP Chains, you'll need to understand the fundamental components of OP Chains.

* **Chain Architecture**: OP Chains use execution and consensus clients as well as the OP Stack's privileged roles. For more details, see the [Chain Architecture](/builders/chain-operators/architecture) guide.
* **Smart Contracts**: OP Chains use several smart contracts on the L1 blockchain to manage aspects of the Rollup. Each OP Stack chain has its own set of [L1 smart contracts](/stack/protocol/rollup/smart-contracts#l1-contracts) and [L2 contracts or predeploys](/stack/protocol/rollup/smart-contracts#l2-contracts-predeploys) that are deployed when the chain is created.
* **Smart Contracts**: OP Chains use several smart contracts on the L1
blockchain to manage aspects of the Rollup. Each OP Stack chain has its own
set of [L1 smart contracts](/stack/smart-contracts#layer-1-contracts),
[L2 predeploy contracts](/stack/smart-contracts#layer-2-contracts-predeploys),
and [L2 preinstall contracts](/builders/chain-operators/features/preinstalls).
that are deployed when the chain is created.
* **Preinstalls**: OP Chains come with [preinstalled core contracts](/builders/chain-operators/features/preinstalls), making them usable as soon as a chain is initialized on the OP Stack.

<Callout type="info">
Expand Down
2 changes: 1 addition & 1 deletion pages/chain/addresses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { L2ContractTable } from '@/components/L2ContractTable'
# Contract Addresses

This reference guide lists all the contract addresses for Mainnet and Testnet, as found on the [superchain-registry](https://github.com/ethereum-optimism/superchain-registry/tree/main).
See the [Smart Contracts Overview](/stack/protocol/rollup/smart-contracts) for high-level details and access to the source code.
See the [Smart Contracts Overview](/stack/smart-contracts) for high-level details and access to the source code.

<Callout>
This page is automatically generated from packages in the [superchain-registry](https://github.com/ethereum-optimism/superchain-registry/tree/main) which keeps the content synched and up-to-date.
Expand Down
2 changes: 1 addition & 1 deletion pages/connect/contribute/style-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ Content types help manage technical content by defining the purpose and common s

| Document type | Purpose | Examples |
| ------------------ | ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------- |
| Overviews | General introduction to a product or feature, provides a happy-path for readers | [Smart Contract Overview](/stack/protocol/rollup/smart-contracts) |
| Overviews | General introduction to a product or feature, provides a happy-path for readers | [Smart Contract Overview](/stack/smart-contracts) |
| Guides | Explain what things are and how they work | [Standard Bridge Guide](/builders/app-developers/bridging/standard-bridge) |
| Quick Start Guides | Briefly explain how to "minimally" get started with a product, often in 30 minutes or less | [Superchain App Quick Start](/builders/app-developers/quick-start) |
| Tutorials | Provide task-oriented guidance with step-by-step "learn by doing" instructions | [Bridging ERC-20 tokens with the Optimism SDK](/builders/app-developers/tutorials/cross-dom-bridge-erc20) |
Expand Down
1 change: 1 addition & 0 deletions pages/stack/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"getting-started": "Getting Started: OP Stack",
"differences": "Differences Between Ethereum and OP Stack Chains",
"components": "OP Stack Components",
"smart-contracts": "Smart Contracts",
"explainer": "Superchain Explainer",
"design-principles": "Design Philosophy & Principles",
"protocol": "Protocol",
Expand Down
1 change: 0 additions & 1 deletion pages/stack/protocol/rollup/_meta.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"overview": "Rollup Overview",
"smart-contracts": "Smart Contracts",
"deposit-flow": "Deposit Flow",
"transaction-flow": "Transaction Flow",
"withdrawal-flow": "Withdrawal Flow"
Expand Down
Loading
Loading