Skip to content

Commit 11c8436

Browse files
committed
Strip /contracts and use correct tag in URL
1 parent f54c74c commit 11c8436

16 files changed

Lines changed: 157 additions & 137 deletions

File tree

content/community-contracts/api/access.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ This directory contains utility contracts to restrict access control in smart co
1717

1818
## `AccessManagerLight`
1919

20-
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/v0.0.1/contracts/access/manager/AccessManagerLight.sol">
20+
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/master/contracts/access/manager/AccessManagerLight.sol">
2121
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-github-icon lucide-github"><path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/><path d="M9 18c-4.51 2-5-2-7-2"/></svg>
2222
</a>
2323

2424
</div>
2525

2626
```solidity
27-
import "@openzeppelin/community-contracts/contracts/access/manager/AccessManagerLight.sol";
27+
import "@openzeppelin/community-contracts/access/manager/AccessManagerLight.sol";
2828
```
2929

3030
Light version of an AccessManager contract that defines `bytes8` roles

content/community-contracts/api/account.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

content/community-contracts/api/crosschain.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ Developers can access interoperability protocols through gateway adapters. The l
2727

2828
## `ERC7786OpenBridge`
2929

30-
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/v0.0.1/contracts/crosschain/ERC7786OpenBridge.sol">
30+
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/master/contracts/crosschain/ERC7786OpenBridge.sol">
3131
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-github-icon lucide-github"><path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/><path d="M9 18c-4.51 2-5-2-7-2"/></svg>
3232
</a>
3333

3434
</div>
3535

3636
```solidity
37-
import "@openzeppelin/community-contracts/contracts/crosschain/ERC7786OpenBridge.sol";
37+
import "@openzeppelin/community-contracts/crosschain/ERC7786OpenBridge.sol";
3838
```
3939

4040
N of M gateway: Sends your message through M independent gateways. It will be delivered to the recipient by an
@@ -747,14 +747,14 @@ Recovery method in case value is ever received through [`ERC7786OpenBridge.recei
747747

748748
## `AxelarGatewayAdapter`
749749

750-
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/v0.0.1/contracts/crosschain/axelar/AxelarGatewayAdapter.sol">
750+
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/master/contracts/crosschain/axelar/AxelarGatewayAdapter.sol">
751751
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-github-icon lucide-github"><path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/><path d="M9 18c-4.51 2-5-2-7-2"/></svg>
752752
</a>
753753

754754
</div>
755755

756756
```solidity
757-
import "@openzeppelin/community-contracts/contracts/crosschain/axelar/AxelarGatewayAdapter.sol";
757+
import "@openzeppelin/community-contracts/crosschain/axelar/AxelarGatewayAdapter.sol";
758758
```
759759

760760
Implementation of an ERC-7786 gateway destination adapter for the Axelar Network in dual mode.
@@ -1237,14 +1237,14 @@ A chain equivalence has been registered.
12371237

12381238
## `ERC7786Attributes`
12391239

1240-
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/v0.0.1/contracts/crosschain/utils/ERC7786Attributes.sol">
1240+
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/master/contracts/crosschain/utils/ERC7786Attributes.sol">
12411241
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-github-icon lucide-github"><path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/><path d="M9 18c-4.51 2-5-2-7-2"/></svg>
12421242
</a>
12431243

12441244
</div>
12451245

12461246
```solidity
1247-
import "@openzeppelin/community-contracts/contracts/crosschain/utils/ERC7786Attributes.sol";
1247+
import "@openzeppelin/community-contracts/crosschain/utils/ERC7786Attributes.sol";
12481248
```
12491249

12501250
Library of helper to parse/process ERC-7786 attributes
@@ -1279,14 +1279,14 @@ Parse the `requestRelay(uint256,uint256,address)` (0x4cbb573a) attribute into it
12791279

12801280
## `WormholeGatewayAdapter`
12811281

1282-
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/v0.0.1/contracts/crosschain/wormhole/WormholeGatewayAdapter.sol">
1282+
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/master/contracts/crosschain/wormhole/WormholeGatewayAdapter.sol">
12831283
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-github-icon lucide-github"><path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/><path d="M9 18c-4.51 2-5-2-7-2"/></svg>
12841284
</a>
12851285

12861286
</div>
12871287

12881288
```solidity
1289-
import "@openzeppelin/community-contracts/contracts/crosschain/wormhole/WormholeGatewayAdapter.sol";
1289+
import "@openzeppelin/community-contracts/crosschain/wormhole/WormholeGatewayAdapter.sol";
12901290
```
12911291

12921292
An ERC-7786 compliant adapter to send and receive messages via Wormhole.

content/community-contracts/api/governance.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ This directory includes extensions and utilities for on-chain governance.
1717

1818
## `TimelockControllerEnumerable`
1919

20-
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/v0.0.1/contracts/governance/TimelockControllerEnumerable.sol">
20+
<a target="_blank" style={{marginTop: "1.5em"}} href="https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/master/contracts/governance/TimelockControllerEnumerable.sol">
2121
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-github-icon lucide-github"><path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/><path d="M9 18c-4.51 2-5-2-7-2"/></svg>
2222
</a>
2323

2424
</div>
2525

2626
```solidity
27-
import "@openzeppelin/community-contracts/contracts/governance/TimelockControllerEnumerable.sol";
27+
import "@openzeppelin/community-contracts/governance/TimelockControllerEnumerable.sol";
2828
```
2929

3030
Extends the TimelockController to allow for enumerable operations

0 commit comments

Comments
 (0)