Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into nikola-bozin-txfusi…
Browse files Browse the repository at this point in the history
…on-utility-functions
  • Loading branch information
nikola-bozin-txfusion committed Jun 30, 2024
2 parents 73b69b8 + c1f8801 commit fcb2715
Show file tree
Hide file tree
Showing 48 changed files with 231 additions and 139 deletions.
10 changes: 0 additions & 10 deletions .changeset/giant-kings-film.md

This file was deleted.

90 changes: 33 additions & 57 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion site/pages/docs/ethers-migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ const data = encodeDeployData({ // [!code hl]
}) // [!code hl]
```

> Note: viem concatinates the contract bytecode onto the ABI encoded data.
> Note: viem concatenates the contract bytecode onto the ABI encoded data.
### Interface.encodeErrorResult

Expand Down
2 changes: 1 addition & 1 deletion site/pages/docs/glossary/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Re-exported from [ABIType](https://abitype.dev/api/types#abifunction).

## `AbiParameter`

`inputs` and `ouputs` item for ABI functions, events, and errors.
`inputs` and `outputs` item for ABI functions, events, and errors.

Re-exported from [ABIType](https://abitype.dev/api/types#abiparameter).

Expand Down
2 changes: 1 addition & 1 deletion site/pages/docs/migration-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ import {
} from 'viem'
```

### Utilties: `isAddress` & `getAddress` perform checksum validation
### Utilities: `isAddress` & `getAddress` perform checksum validation

The `isAddress` utility function now performs checksum validation by default.

Expand Down
2 changes: 1 addition & 1 deletion site/pages/docs/utilities/toFunctionSignature.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Returns the signature for a given function definition.
Returns the signature for a given function definition.

:::tip
This only returns the **functon signature**. If you need the **full human-readable definition**, check out ABIType's [`formatAbiItem`](https://abitype.dev/api/human#formatabiitem-1).
This only returns the **function signature**. If you need the **full human-readable definition**, check out ABIType's [`formatAbiItem`](https://abitype.dev/api/human#formatabiitem-1).
:::

## Install
Expand Down
2 changes: 1 addition & 1 deletion site/pages/experimental/eip5792/sendCalls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const walletClient = createWalletClient({

`string`

The identifier can be any arbitrary string. The only requirement is that for a given session, consumers should be able to call `getCallsStatus` with this identifier to retreive a batch call status and call receipts.
The identifier can be any arbitrary string. The only requirement is that for a given session, consumers should be able to call `getCallsStatus` with this identifier to retrieve a batch call status and call receipts.

## Parameters

Expand Down
2 changes: 1 addition & 1 deletion site/pages/experimental/eip5792/writeContracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const walletClient = createWalletClient({

`string`

The identifier can be any arbitrary string. The only requirement is that for a given session, consumers should be able to call `getCallsStatus` with this identifier to retreive a batch call status and call receipts.
The identifier can be any arbitrary string. The only requirement is that for a given session, consumers should be able to call `getCallsStatus` with this identifier to retrieve a batch call status and call receipts.

## Parameters

Expand Down
2 changes: 1 addition & 1 deletion site/pages/zksync/actions/estimateGasL1ToL2.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const gas = await walletClient.estimateGasL1ToL2({

- **Type:** `Account | Address`

Address of the paymaster account that will pay the gass. The `paymasterInput` field is required with this one.
Address of the paymaster account that will pay the gas. The `paymasterInput` field is required with this one.

```ts
const gas = await walletClient.estimateGasL1ToL2({
Expand Down
Loading

0 comments on commit fcb2715

Please sign in to comment.