Skip to content

Commit dc6f275

Browse files
authored
Update styling for agglayer, pp, and overview (0xPolygon#2600)
* Update styling for agglayer, pp, and overview * Update pessimistic-proof.md Fix links to agglayer to use absolute paths
1 parent d5616ff commit dc6f275

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

docs/agglayer/architecture/pessimistic-proof.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@ The AggLayer uses per-chain pessimistic proofs to ensure a complete view of all
2121
For any cross-chain token transfer to be finalized such that the token may be withdrawn on the underlying L1, a valid pessimistic proof must be generated. Each chain connected to the AggLayer is required to provide some of the inputs necessary for building a valid pessimistic proof.
2222

2323
!!! note
24-
For more on how the AggLayer settles bridge claims to the underlying L1, see: [Unified Bridge](#)
24+
For more on how the Agglayer settles bridge claims to the underlying L1, see: [Unified Bridge](/agglayer/architecture/unified-bridge/)
2525

2626
## Token State
27-
28-
=======
2927
Each chain maintains a data structure called a **Local Exit Tree**, which contains only the messages and token transfers originating from it. In the unified bridge, Ethereum holds a **Global Exit Root**, which represents a tree containing all of the Local Exit Roots of chains integrated with the AggLayer.
3028

3129
!!! note
32-
For a **detailed breakdown** of all data used by the AggLayer, refer to the **[Unified Bridge: Data Structures](../../agglayer/architecture/unified-bridge.md#unified-bridge-data-structures)** section.
30+
For a detailed breakdown of all data used by the Agglayer, see: [Unified Bridge: Data Structures](/agglayer/architecture/unified-bridge.md#unified-bridge-data-structures)
3331

3432
In a simple token transfer, the source chain’s **Local Exit Tree** is used to reduce the balance of available tokens on its **Local Balance Tree**.
3533

@@ -63,7 +61,6 @@ The first statement ensures that each chain has reached its latest state accordi
6361
If the computation performed within the pessimistic proof is consistent, a valid proof is generated.
6462

6563
!!! note
66-
The AggLayer v0.2 allows rollups and validiums built with Polygon CDK to use the legacy settlement mechanism without generating a pessimistic proof.
67-
64+
The Agglayer v0.2 allows rollups and validiums built with Polygon CDK to use the legacy settlement mechanism without generating a pessimistic proof.
6865

6966
![Pessimistic Proof Sequence](../../img/agglayer/pessimistic-proof-sequence.svg)

docs/agglayer/architecture/unified-bridge.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,15 @@ When the **Mainnet Exit Root** is updated in `PolygonZkEVMBridgeV2.sol`, the con
4141
## Bridge Service
4242

4343
### Chain Indexer Framework
44-
- An EVM blockchain data indexer that parses, sorts, and organizes blockchain data for the **Bridge Service API**.
45-
- Each Agglayer-connected chain has its own indexer instance.
46-
44+
An EVM blockchain data indexer that parses, sorts, and organizes blockchain data for the **Bridge Service API**. Each Agglayer-connected chain has its own indexer instance.
4745

4846
### Transaction API
4947
- Provides details of a bridge transaction initiated by or incoming to a user’s wallet address.
5048

5149
**API Endpoints:**
52-
=======
53-
- **Testnet:**
50+
**Testnet:**
5451
`https://api-gateway.polygon.technology/api/v3/transactions/testnet?userAddress={userAddress}`
55-
- **Mainnet:**
52+
**Mainnet:**
5653
`https://api-gateway.polygon.technology/api/v3/transactions/mainnet?userAddress={userAddress}`
5754

5855
### Proof Generation API

docs/agglayer/overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,30 @@ hide:
2121
</div>
2222
</div>
2323

24-
<div class="hero-left" style="text-align: center;">
24+
<div class="hero-left" style="max-width: 85%; margin: 0 auto; padding: 20px; text-align: left;">
2525
<p class="hero-subtext">The Agglayer is an in-development interoperability protocol that allows for trustless, cross-chain token transfers and message-passing, as well as more complex operations. The safety of the Agglayer is provided by ZK proofs.</p>
2626
<p class="hero-subtext">The latest version of the Agglayer (v0.2) connects chains built with Polygon CDK, a developer toolkit for designing ZK-powered Layer 2s. Coming versions will support interoperability among additional blockchain architectures, including existing L2s, appchains, and non-EVM chains.</p>
2727
</div>
2828

2929
<div class="grid-container">
3030
<div class="grid-item">
31-
<a href="agglayer/architecture/overview.md">
31+
<a href="/agglayer/architecture/overview/">
3232
<div class="product-list-item-header">
3333
<div class="feature-card-heading">Agglayer Architecture</div>
3434
</div>
3535
<p class="feature-paragraph">A high-level overview of the Agglayer’s components and their functions</p>
3636
</a>
3737
</div>
3838
<div class="grid-item">
39-
<a href="../crosschain-interop/crosschain-interop.md">
39+
<a href="/agglayer/crosschain-interop/crosschain-interop/">
4040
<div class="product-list-item-header">
4141
<div class="feature-card-heading">Cross-chain Interop</div>
4242
</div>
4343
<p class="feature-paragraph">Learn how to use <code>bridgeAndCall()</code> for cross-chain interactions</p>
4444
</a>
4545
</div>
4646
<div class="grid-item">
47-
<a href="agglayer/architecture/pessimistic-proof.md">
47+
<a href="/agglayer/architecture/pessimistic-proof/">
4848
<div class="product-list-item-header">
4949
<div class="feature-card-heading">Pessimistic Proof</div>
5050
</div>

0 commit comments

Comments
 (0)