Skip to content

Commit a51f7af

Browse files
Merge pull request #44 from OpenZeppelin/chore/link-validation
Chore/link validation
2 parents aadd7cf + d9b61f6 commit a51f7af

File tree

306 files changed

+1856
-1879
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

306 files changed

+1856
-1879
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ next-env.d.ts
2929
old-docs
3030
.claude
3131
TODO.md
32+
broken-links.md
3233

3334
# Local Netlify folder
3435
.netlify

content/community-contracts/account-modules.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ ERC-7579 defines a standardized interface for modular smart accounts. This stand
1010

1111
### Accounts
1212

13-
OpenZeppelin offers an implementation of an [`AccountERC7579`](/community-contracts/api/account#AccountERC7579) contract that allows installing modules compliant with this standard. There’s also an [`AccountERC7579Hooked`](/community-contracts/api/account#AccountERC7579Hooked) variant that supports installation of hooks. Like [most accounts](/contracts/5.x/accounts#handling-initialization), an instance should define an initializer function where the first module that controls the account will be set:
13+
OpenZeppelin offers an implementation of an [`AccountERC7579`](/contracts/5.x/api/account#AccountERC7579) contract that allows installing modules compliant with this standard. There’s also an [`AccountERC7579Hooked`](/contracts/5.x/api/account#AccountERC7579Hooked) variant that supports installation of hooks. Like [most accounts](/contracts/5.x/accounts#handling-initialization), an instance should define an initializer function where the first module that controls the account will be set:
1414

1515
<include cwd lang='solidity'>./examples/account/MyAccountERC7579.sol</include>
1616

1717
<Callout>
18-
For simplicity, the [`AccountERC7579Hooked`](/community-contracts/api/account#AccountERC7579Hooked) only supports a single hook. A common workaround is to install a [single hook with a multiplexer pattern](https://github.com/rhinestonewtf/core-modules/blob/7afffccb44d73dbaca2481e7b92bce0621ea6449/src/HookMultiPlexer/HookMultiPlexer.sol) to extend the functionality to multiple hooks.
18+
For simplicity, the [`AccountERC7579Hooked`](/contracts/5.x/api/account#AccountERC7579Hooked) only supports a single hook. A common workaround is to install a [single hook with a multiplexer pattern](https://github.com/rhinestonewtf/core-modules/blob/7afffccb44d73dbaca2481e7b92bce0621ea6449/src/HookMultiPlexer/HookMultiPlexer.sol) to extend the functionality to multiple hooks.
1919
</Callout>
2020

2121
### Modules

content/community-contracts/api/account.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2381,7 +2381,7 @@ Clears all selectors.
23812381

23822382
<Callout type="warn">
23832383
This function has unbounded gas costs and may become uncallable if the set grows too large.
2384-
See [`EnumerableSetExtended.clear`](utils#EnumerableSetExtended-clear-struct-EnumerableSetExtended-Bytes32x2Set-).
2384+
See [`EnumerableSetExtended.clear`](./utils#EnumerableSetExtended-clear-struct-EnumerableSetExtended-Bytes32x2Set-).
23852385
</Callout>
23862386

23872387
</div>

content/community-contracts/api/crosschain.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,14 +210,14 @@ This function revert if:
210210
chain.
211211
* someone tries re-execute a message that was already successfully delivered. This includes gateways that call
212212
this function a second time with a message that was already executed.
213-
* the execution of the message (on the [`IERC7786Receiver`](interfaces#IERC7786Receiver) receiver) is successful but fails to return the
213+
* the execution of the message (on the [`IERC7786Receiver`](./interfaces#IERC7786Receiver) receiver) is successful but fails to return the
214214
executed value.
215215

216216
This function does not revert if:
217217

218218
* A known gateway delivers a message for the first time, and that message was already executed. In that case
219219
the message is NOT re-executed, and the correct "magic value" is returned.
220-
* The execution of the message (on the [`IERC7786Receiver`](interfaces#IERC7786Receiver) receiver) reverts. In that case a [`ERC7786OpenBridge.ExecutionFailed`](#ERC7786OpenBridge-ExecutionFailed-bytes32-)
220+
* The execution of the message (on the [`IERC7786Receiver`](./interfaces#IERC7786Receiver) receiver) reverts. In that case a [`ERC7786OpenBridge.ExecutionFailed`](#ERC7786OpenBridge-ExecutionFailed-bytes32-)
221221
event is emitted.
222222

223223
This function emits:
@@ -736,7 +736,7 @@ import "@openzeppelin/community-contracts/crosschain/axelar/AxelarGatewayAdapter
736736

737737
Implementation of an ERC-7786 gateway destination adapter for the Axelar Network in dual mode.
738738

739-
The contract implements AxelarExecutable's [`ERC7579DelayedExecutor._execute`](account#ERC7579DelayedExecutor-_execute-address-bytes32-bytes32-bytes-) function to execute the message, converting Axelar's native
739+
The contract implements AxelarExecutable's [`ERC7579DelayedExecutor._execute`](./account#ERC7579DelayedExecutor-_execute-address-bytes32-bytes32-bytes-) function to execute the message, converting Axelar's native
740740
workflow into the standard ERC-7786.
741741

742742
<Callout>
@@ -965,9 +965,9 @@ Endpoint for creating a new message. If the message requires further (gateway sp
965965
it can be sent to the destination chain, then a non-zero `outboxId` must be returned. Otherwise, the
966966
message MUST be sent and this function must return 0.
967967

968-
* MUST emit a [`IERC7786GatewaySource.MessageSent`](interfaces#IERC7786GatewaySource-MessageSent-bytes32-bytes-bytes-bytes-uint256-bytes---) event.
968+
* MUST emit a [`IERC7786GatewaySource.MessageSent`](./interfaces#IERC7786GatewaySource-MessageSent-bytes32-bytes-bytes-bytes-uint256-bytes---) event.
969969

970-
If any of the `attributes` is not supported, this function SHOULD revert with an [`IERC7786GatewaySource.UnsupportedAttribute`](interfaces#IERC7786GatewaySource-UnsupportedAttribute-bytes4-) error.
970+
If any of the `attributes` is not supported, this function SHOULD revert with an [`IERC7786GatewaySource.UnsupportedAttribute`](./interfaces#IERC7786GatewaySource-UnsupportedAttribute-bytes4-) error.
971971
Other errors SHOULD revert with errors not specified in ERC-7786.
972972

973973
</div>
@@ -1723,9 +1723,9 @@ Endpoint for creating a new message. If the message requires further (gateway sp
17231723
it can be sent to the destination chain, then a non-zero `outboxId` must be returned. Otherwise, the
17241724
message MUST be sent and this function must return 0.
17251725

1726-
* MUST emit a [`IERC7786GatewaySource.MessageSent`](interfaces#IERC7786GatewaySource-MessageSent-bytes32-bytes-bytes-bytes-uint256-bytes---) event.
1726+
* MUST emit a [`IERC7786GatewaySource.MessageSent`](./interfaces#IERC7786GatewaySource-MessageSent-bytes32-bytes-bytes-bytes-uint256-bytes---) event.
17271727

1728-
If any of the `attributes` is not supported, this function SHOULD revert with an [`IERC7786GatewaySource.UnsupportedAttribute`](interfaces#IERC7786GatewaySource-UnsupportedAttribute-bytes4-) error.
1728+
If any of the `attributes` is not supported, this function SHOULD revert with an [`IERC7786GatewaySource.UnsupportedAttribute`](./interfaces#IERC7786GatewaySource-UnsupportedAttribute-bytes4-) error.
17291729
Other errors SHOULD revert with errors not specified in ERC-7786.
17301730

17311731
</div>

0 commit comments

Comments
 (0)