Skip to content

Commit 07809fa

Browse files
authored
Merge branch 'main' into fix-2196
2 parents 43cbf7e + f7c521c commit 07809fa

File tree

1,395 files changed

+121941
-22125
lines changed

Some content is hidden

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

1,395 files changed

+121941
-22125
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,3 @@ Fixes #
1111
## Preview
1212

1313
<!-- Provide a PR preview link to the page(s) changed. -->
14-
15-
## Checklist
16-
17-
Complete this checklist before merging your PR:
18-
19-
- [ ] If this PR contains a major change to the documentation content, I have added an entry to the top of the ["What's new?"](https://github.com/MetaMask/metamask-docs/blob/main/docs/whats-new.md) page.
20-
- [ ] The proposed changes have been reviewed and approved by a member of the documentation team.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121
npm-debug.log*
2222
.vercel
2323
.envrc
24-
.env
24+
.env
25+
.integrationBuilderCache

CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ To contribute changes:
7979
> - If you delete, rename, or move a documentation file, add a
8080
> [redirect](https://vercel.com/docs/edge-network/redirects#configuration-redirects).
8181
> - See additional instructions for [updating the interactive API reference](#update-the-interactive-api-reference).
82-
> - If the PR contains a major change to the documentation content, add an entry to the top of
83-
> the ["What's new?"](docs/whats-new.md) page.
8482
8583
5. [Preview your changes locally](https://docs-template.consensys.net/contribute/preview) to check
8684
that the changes render correctly.

delegation-toolkit/concepts/delegation/caveat-enforcers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ for common restriction patterns, including:
160160
- Restricting token transfers and approvals.
161161
- Limiting execution frequency.
162162

163-
For other restriction patterns, you can also [create custom caveat enforcers](../../tutorials/create-custom-caveat-enforcer.md) by implementing the `ICaveatEnforcer` interface.
163+
For other restriction patterns, you can also [create custom caveat enforcers](/tutorials/create-custom-caveat-enforcer) by implementing the `ICaveatEnforcer` interface.
164164

165165
## Attenuating authority with redelegations
166166

delegation-toolkit/get-started/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This page provides instructions to install and set up the MetaMask Delegation To
1717
- Install [Yarn](https://yarnpkg.com/),
1818
[npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm), or another package manager.
1919
- If you plan to use any smart contracts (for example, to
20-
[create a custom caveat enforcer](../tutorials/create-custom-caveat-enforcer.md)),
20+
[create a custom caveat enforcer](/tutorials/create-custom-caveat-enforcer)),
2121
install [Foundry](https://book.getfoundry.sh/getting-started/installation).
2222

2323
## Steps
@@ -33,7 +33,7 @@ npm install @metamask/delegation-toolkit
3333
### 2. (Optional) Install the contracts
3434

3535
If you plan to extend the Delegation Framework smart contracts (for example, to
36-
[create a custom caveat enforcer](../tutorials/create-custom-caveat-enforcer.md)), install
36+
[create a custom caveat enforcer](/tutorials/create-custom-caveat-enforcer)), install
3737
the contract package using Foundry's command-line tool, Forge:
3838

3939
```bash

delegation-toolkit/get-started/smart-account-quickstart/eip7702.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,4 @@ const userOperationHash = await bundlerClient.sendUserOperation({
158158

159159
- To grant specific permissions to other accounts from your smart account, [create a delegation](../../guides/delegation/execute-on-smart-accounts-behalf.md).
160160
- To quickly bootstrap a MetaMask Smart Accounts project, [use the CLI](../use-the-cli.md).
161-
- You can also [use MetaMask SDK to upgrade a MetaMask account to a smart account](/sdk/tutorials/upgrade-eoa-to-smart-account).
161+
- You can also [use MetaMask SDK to upgrade a MetaMask account to a smart account](/tutorials/upgrade-eoa-to-smart-account).

delegation-toolkit/guides/delegation/restrict-delegation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,5 @@ const delegation = createDelegation({
105105
});
106106
```
107107

108-
For more specific or custom control, you can also [create custom caveat enforcers](../../tutorials/create-custom-caveat-enforcer.md)
108+
For more specific or custom control, you can also [create custom caveat enforcers](/tutorials/create-custom-caveat-enforcer)
109109
and add them to the caveat builder.

delegation-toolkit/reference/api/experimental-actions/bundler-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Objects in the `calls` array also require the following parameters:
3131
| Name | Type | Required | Description |
3232
| ---- | ---- | -------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
3333
| `delegationManager` | `0x${string}` | Yes | The address of Delegation Manager. |
34-
| `permissionsContext` | `0x${string}` | Yes | Encoded calldata for redeeming delegations. If you're not using ERC-7715, you can use the [`redeemDelegation`](../delegation.md#redeemdelegation) utility function to generate the calldata manually. |
34+
| `permissionsContext` | `0x${string}` | Yes | Encoded calldata for redeeming delegations. If you're not using ERC-7715, you can use the [`redeemDelegations`](../delegation.md#redeemdelegations) utility function to generate the calldata manually. |
3535

3636
### Example
3737

delegation-toolkit/reference/api/experimental-actions/wallet-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ This function has the same parameters, and it also requires the following parame
101101
| Name | Type | Required | Description |
102102
| ---- | ---- | -------- |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
103103
| `delegationManager` | `0x${string}` | Yes | The address of the Delegation Manager. |
104-
| `permissionsContext` | `0x${string}` | Yes | Encoded calldata for redeeming delegations. If you're not using ERC-7715, you can use the [`redeemDelegation`](../delegation.md#redeemdelegation) utility function to generate the calldata manually. |
104+
| `permissionsContext` | `0x${string}` | Yes | Encoded calldata for redeeming delegations. If you're not using ERC-7715, you can use the [`redeemDelegations`](../delegation.md#redeemdelegations) utility function to generate the calldata manually. |
105105

106106
### Example
107107

delegation-toolkit/tutorials/_category_.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)