Skip to content
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 delegation-toolkit/concepts/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ You can deploy the contracts using any method, but the toolkit provides a conven
This function requires a Viem [Public Client](https://viem.sh/docs/clients/public.html), [Wallet Client](https://viem.sh/docs/clients/wallet.html), and [Chain](https://viem.sh/docs/glossary/types#chain)
to deploy the contracts and resolve the `DeleGatorEnvironment`.

Your wallet must have sufficient native token balance to deploy the contracts.
Your wallet must have a sufficient native token balance to deploy the contracts.

<Tabs>
<TabItem value="example.ts">
Expand Down
2 changes: 1 addition & 1 deletion delegation-toolkit/get-started/delegation-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ A root delegation is a delegation that doesn't derive its authority from another
Alice is delegating her own authority away, as opposed to *redelegating* permissions she received from a previous delegation.

This example passes an empty `caveats` array, which means Bob can perform any action on Alice's behalf. We recommend [restricting the delegation](../how-to/create-delegation/restrict-delegation.md) by adding caveat enforcers.
For example, Alice can delegate the ability to sepnd her USDC to Bob, limiting the amount to 100 USDC.
For example, Alice can delegate the ability to spend her USDC to Bob, limiting the amount to 100 USDC.

:::warning Important

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const caveats = caveatBuilder
"transfer(address,uint256)"
])
// limitedCalls accepts a number.
// This caveat restricts the caller to only use the delegation one time.
// This caveat restricts the caller to only use the delegation once.
.addCaveat("limitedCalls", 1)
.build();
```
Expand Down
2 changes: 1 addition & 1 deletion delegation-toolkit/how-to/redeem-delegation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import TabItem from "@theme/TabItem";
# Redeem a delegation

A delegate can redeem a delegation by submitting either a user operation or a regular transaction,
depending on whether the delegate is a MetaMask smart account or externally owned account (EOA).
depending on whether the delegate is a MetaMask smart account or an externally owned account (EOA).

The redeem transaction is sent to the `DelegationManager` contract, which validates the delegation and executes actions on the delegator's behalf.
To prepare the calldata for the redeem transaction, use the [`redeemDelegation`](../reference/api/delegation.md#redeemdelegation) utility function.
Expand Down
2 changes: 1 addition & 1 deletion delegation-toolkit/reference/caveats.md
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ caveatBuilder.addCaveat("ownershipTransfer",
## `redeemer`

Limits the addresses that can redeem the delegation.
This caveat is designed for restricting smart contracts or EOAs lacking delegation support,
This caveat is designed to restrict smart contracts or EOAs lacking delegation support,
and can be placed anywhere in the delegation chain to restrict the redeemer.

:::note
Expand Down
2 changes: 1 addition & 1 deletion developer-tools/dashboard/how-to/dashboard-stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This data is crucial for optimizing your applications and ensuring they run smoo
- **Last 24 Hours** - The last fully completed 24 consecutive hours.
This is the default.
- **Last 7 Days** - The last fully completed seven consecutive days.
A day appears once it has completed.
A day appears once it has been completed.
- **Last 30 Days** - The last fully completed 30 days.
A day appears once it has completed.

Expand Down
2 changes: 1 addition & 1 deletion docs/whats-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ of the [MetaMask developer page](https://metamask.io/developer/).
- Documented [Snaps custom name resolution](/snaps/features/custom-name-resolution).
([#924](https://github.com/MetaMask/metamask-docs/pull/924))
- Deprecated `snaps-types` and `snaps-ui` packages and updated
[Snaps tutorials](/snaps/learn/tutorials/gas-estimation) to match latest tooling.
[Snaps tutorials](/snaps/learn/tutorials/gas-estimation) to match the latest tooling.
([#1206](https://github.com/MetaMask/metamask-docs/pull/1206) and
[#1210](https://github.com/MetaMask/metamask-docs/pull/1210))
- Documented new [Snaps custom UI](/snaps/features/custom-ui) components and improved examples.
Expand Down
2 changes: 1 addition & 1 deletion sdk/guides/use-deeplinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ https://metamask.app.link/send/0x0000000@137?value=1e16
This deeplink starts the process of sending a transaction in the native currency.
If the chain ID is specified, the MetaMask mobile app automatically switches to the correct network.

The example displays the confirmation screen to send 0.01 POL (`1e16` wei) in Polygon (chain ID `137`) to recipient address `0x0000000`.
The example displays the confirmation screen to send 0.01 POL (`1e16` wei) in Polygon (chain ID `137`) to the recipient address `0x0000000`.

### Path parameters

Expand Down
2 changes: 1 addition & 1 deletion services/how-to/interact-with-erc-20-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ If `fromBlock` and `toBlock` are omitted, `eth_getLogs` returns the _entire_ cha

:::

This request tells the blockchain to retrieve event logs related to address `0x6B175474E89094C44Da98b954EedeAC495271d0F` emitted in block `0x91F37C` that matches topics `0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef`, `0x000000000000000000000000ee25e1ba53c225d250861c8e5a9a3e0fe19c790e` and `0x000000000000000000000000dfbaf3e4c7496dad574a1b842bc85b402bdc298d`.
This request tells the blockchain to retrieve event logs related to address `0x6B175474E89094C44Da98b954EedeAC495271d0F` emitted in block `0x91F37C` that match topics `0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef`, `0x000000000000000000000000ee25e1ba53c225d250861c8e5a9a3e0fe19c790e` and `0x000000000000000000000000dfbaf3e4c7496dad574a1b842bc85b402bdc298d`.

The response returned for this request is an array of events. In this example, only one event for one address matches the specified topics.

Expand Down
2 changes: 1 addition & 1 deletion snaps/features/cron-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ requires the user to enter their password if the wallet is locked.
This interaction can be confusing to the user, since the Snap accesses the data in the background
without the user being aware.

If the cron job requires access to encrypted state, use
If the cron job requires access to encrypted data, use
[`snap_getClientStatus`](../reference/snaps-api.md#snap_getclientstatus) to ensure that MetaMask is
unlocked before accessing state.
This will prevent an unexpected password request, improving the user's experience.
Expand Down
2 changes: 1 addition & 1 deletion snaps/features/custom-ui/user-defined-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const Insight = ({ from, to }) => {
## Return a list

To return a list of elements, you can use an array.
In the following example, the `Accounts` components receives an array of accounts as props, and uses
In the following example, the `Accounts` component receives an array of accounts as props, and uses
the array to display a list of accounts using `Array.map`:

```jsx title="Accounts.jsx"
Expand Down
Loading