Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: deposit transaction (op stack) #1479

Merged
merged 30 commits into from
Dec 2, 2023
Merged

feat: deposit transaction (op stack) #1479

merged 30 commits into from
Dec 2, 2023

Conversation

jxom
Copy link
Member

@jxom jxom commented Nov 10, 2023

PR-Codex overview

This PR focuses on making various updates and improvements across different files in the codebase.

Detailed summary

  • Updated createEventFilter.ts and createContractEventFilter.ts to include a new strict parameter.
  • Updated estimateContractL1Gas.test.ts to modify the expected value in a test case.
  • Added new functions parseEventLogs and parseGwei to index.test.ts.
  • Updated chainConfig.ts to import and include serializers.
  • Added new files vite.config.ts and tsconfig.node.json in the op-stack_deposit example.
  • Updated .env.example to include new environment variables related to Optimism.
  • Updated index.ts to export parseEventLogs function.
  • Updated chain.ts files to include sourceId in the chain definitions.
  • Updated formatters.ts to import and use new types related to block and transaction.
  • Updated waitForTransactionReceipt.ts to handle error conditions.
  • Updated package.json in the op-stack_deposit example to include new dependencies and scripts.
  • Updated formatters.test-d.ts to import and use new types related to block and transaction.
  • Updated zora.ts, optimism.ts, base.ts, zoraTestnet.ts, optimismGoerli.ts, zoraSepolia.ts, baseGoerli.ts, optimismSepolia.ts to include sourceId in the chain definitions.
  • Updated index.ts to export types related to block and transaction.
  • Updated contract.ts to include new types related to chain and target chain.
  • Updated estimateFeesPerGas.ts to import and use new types related to chain.
  • Added new files tsconfig.json and tsconfig.node.json in the op-stack_deposit example.
  • Updated chains.ts to export new chain definitions.

The following files were skipped due to too many changes: site/docs/actions/wallet/prepareTransactionRequest.md, src/actions/public/waitForTransactionReceipt.test.ts, src/chains/definitions/baseSepolia.ts, src/chains/opStack/utils/getSourceHash.test.ts, test/src/constants.ts, src/clients/decorators/wallet.ts, src/chains/opStack/decorators/walletL1.test.ts, src/clients/decorators/public.ts, src/actions/wallet/deployContract.ts, src/actions/public/estimateMaxPriorityFeePerGas.ts, src/types/chain.ts, src/chains/opStack/utils/getL2TransactionHashes.ts, src/types/utils.ts, src/chains/opStack/utils/extractTransactionDepositedLogs.ts, src/chains/opStack/actions/estimateL1Gas.ts, src/chains/opStack/types/block.ts, test/globalSetup.ts, site/op-stack/utilities/fromOpaqueData.md, src/chains/opStack/decorators/public.test.ts, src/chains/opStack/actions/estimateL1Fee.test.ts, src/chains/opStack/actions/estimateTotalGas.test.ts, src/chains/opStack/actions/estimateTotalFee.test.ts, src/chains/opStack/utils/getL2TransactionHashes.test.ts, src/actions/wallet/signTransaction.ts, src/actions/wallet/sendTransaction.ts, site/op-stack/utilities/getL2TransactionHashes.md, src/chains/opStack/actions/estimateL1Fee.ts, src/actions/public/simulateContract.ts, src/chains/opStack/utils/fromOpaqueData.ts, src/chains/opStack/actions/estimateL1Gas.test.ts, site/op-stack/utilities/extractTransactionDepositedLogs.md, src/chains/opStack/utils/getL2TransactionHash.test.ts, site/op-stack/utilities/parseTransaction.md, site/op-stack/client.md, src/chains/opStack/utils/getL2TransactionHash.ts, src/actions/wallet/writeContract.ts, site/.vitepress/sidebar.ts, src/chains/opStack/utils/getSourceHash.ts, site/op-stack/utilities/getL2TransactionHash.md, src/chains/opStack/utils/fromOpaqueData.test.ts, src/actions/public/getFilterLogs.ts, src/actions/public/getLogs.ts, test/src/opStack.ts, site/op-stack/utilities/getSourceHash.md, src/chains/opStack/types.ts, src/actions/public/getFilterChanges.ts, site/op-stack/utilities/serializeTransaction.md, src/chains/opStack/serializers.ts, src/chains/opStack/formatters.test.ts, src/chains/opStack/parsers.ts, src/chains/opStack/decorators/walletL1.ts, src/chains/opStack/index.ts, examples/op-stack_deposit/index.tsx, src/chains/opStack/decorators/public.ts, src/chains/opStack/parsers.test.ts, src/utils/abi/parseEventLogs.ts, src/actions/wallet/prepareTransactionRequest.test.ts, src/chains/opStack/actions/buildDepositTransaction.ts, src/chains/opStack/serializers.test.ts, site/op-stack/actions/buildDepositTransaction.md, src/chains/opStack/actions/depositTransaction.ts, src/chains/opStack/actions/depositTransaction.test.ts, src/utils/abi/parseEventLogs.test.ts, src/chains/opStack/abis.ts, src/actions/wallet/prepareTransactionRequest.ts, site/docs/contract/parseEventLogs.md, site/op-stack/actions/depositTransaction.md, site/op-stack/guides/deposits.md, src/chains/opStack/actions/buildDepositTransaction.test.ts, src/chains/opStack/utils/extractTransactionDepositedLogs.test.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

changeset-bot bot commented Nov 10, 2023

⚠️ No Changeset found

Latest commit: ad8cea1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Nov 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
viem ✅ Ready (Inspect) Visit Preview Dec 2, 2023 8:02am

@jxom jxom marked this pull request as ready for review November 14, 2023 21:15
@jxom jxom changed the title wip: deposit transaction (op stack) feat: deposit transaction (op stack) Nov 14, 2023
@jxom jxom marked this pull request as draft November 15, 2023 01:54
@jxom jxom changed the title feat: deposit transaction (op stack) wip: deposit transaction (op stack) Nov 15, 2023
@jxom jxom merged commit 468a4ae into beta Dec 2, 2023
2 of 4 checks passed
@jxom jxom deleted the jxom/opstack-deposit branch December 2, 2023 08:01
jxom added a commit that referenced this pull request Jan 3, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (#1574)

* feat: export getProof from root and from actions (#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* chore: version

* refactor: getContract client args

* chore: migration guide

* docs

* chore: changeset

---------

Co-authored-by: moxey.eth <jakemoxey@gmail.com>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit that referenced this pull request Jan 10, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (#1574)

* feat: export getProof from root and from actions (#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit that referenced this pull request Jan 11, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (#1574)

* feat: export getProof from root and from actions (#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit that referenced this pull request Jan 11, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (#1574)

* feat: export getProof from root and from actions (#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit that referenced this pull request Jan 11, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (#1574)

* feat: export getProof from root and from actions (#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit that referenced this pull request Jan 11, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (#1574)

* feat: export getProof from root and from actions (#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit to eigerco/viem that referenced this pull request Jan 11, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (wevm#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (wevm#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (wevm#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (wevm#1574)

* feat: export getProof from root and from actions (wevm#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (wevm#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (wevm#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (wevm#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit to eigerco/viem that referenced this pull request Jan 11, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (wevm#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (wevm#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (wevm#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (wevm#1574)

* feat: export getProof from root and from actions (wevm#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (wevm#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (wevm#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (wevm#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit to eigerco/viem that referenced this pull request Jan 15, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (wevm#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (wevm#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (wevm#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (wevm#1574)

* feat: export getProof from root and from actions (wevm#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (wevm#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (wevm#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (wevm#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit to eigerco/viem that referenced this pull request Jan 15, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (wevm#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (wevm#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (wevm#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (wevm#1574)

* feat: export getProof from root and from actions (wevm#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (wevm#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (wevm#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (wevm#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit to eigerco/viem that referenced this pull request Jan 18, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (wevm#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (wevm#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (wevm#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (wevm#1574)

* feat: export getProof from root and from actions (wevm#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (wevm#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (wevm#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (wevm#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit to eigerco/viem that referenced this pull request Jan 18, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (wevm#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (wevm#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (wevm#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (wevm#1574)

* feat: export getProof from root and from actions (wevm#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (wevm#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (wevm#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (wevm#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit that referenced this pull request Jan 23, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (#1574)

* feat: export getProof from root and from actions (#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit that referenced this pull request Jan 23, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (#1574)

* feat: export getProof from root and from actions (#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit to eigerco/viem that referenced this pull request Jan 23, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (wevm#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (wevm#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (wevm#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (wevm#1574)

* feat: export getProof from root and from actions (wevm#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (wevm#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (wevm#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (wevm#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit to eigerco/viem that referenced this pull request Jan 23, 2024
* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (wevm#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (wevm#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (wevm#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (wevm#1574)

* feat: export getProof from root and from actions (wevm#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (wevm#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (wevm#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (wevm#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
jxom added a commit that referenced this pull request Jan 28, 2024
* Applied zkSync changes onto main.

* Added documentation.

* chore: tweaks

* Small fixes

* feat: vocs (#1675)

* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (#1574)

* feat: export getProof from root and from actions (#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>

* feat: vocs (#1675)

* chore: canary

* chore: export types

* chore: remove unecessary type export

* chore: export version

* refactor: contract types

* chore: export

* refactor: generics

* refactor: contract types

* refactor: multicall types

* test: multicall types

* refactor: multicall response

* test: multicall types

* refactor: multicall results

* chore: export type

* chore: prettify type

* refactor: contract types

* refactor: contract function generics

* refactor: contract function args generic tweaks

* chore: prettify chain

* chore: update changeset

* chore: remove version export

* chore: restore version

* fix: type error

* refactor: abi types

* wip: types

* wip: types

* chore: fix type test

* chore: checkpoint

* fix: explicit undefined

* chore: ignore changes

* chore: export types

* refactor: simulate contract return type

* fix: transport generic

* refactor: eventName generics

* refactor: simplify poll options

* refactor: consolidate poll options

* fix: test

* chore: update snapshots

* ci: update version in snapshot

* ci: tweak

* chore: export abis

* chore: update snapshot

* chore: update snap

* chore: fix imports

* chore: enter alpha

* chore: update

* chore: add timeout

* chore: types

* chore: bump version

* chore: export types

* fix: type exports

* chore: bump version

* chore: clean up write contract types

* chore: bump version

* chore: update multicall type

* chore: bump version

* chore: version

* chore: export type

* chore: version

* chore: version

* ci: bump release timeout

* chore: version

* feat: refactor getContract

* docs: getContract

* chore: remove entrypoints

* chore: remove note

* fix

* fix: simulateContract account type

* fix

* chore: version

* refactor: chain

* chore: bump abitype

* chore: bump version

* chore: snaps

* docs: chains

* chore: snaps

* chore: snaps

* chore: bump version

* chore: add missing type

* chore: bump version

* test: update snaps

* chore: prettify chain

* refactor: defineChain

* refactor: defineChain type

* chore: remove

* docs: defineChain

* fix: downstream type error

* chore: beta

* chore: remove deprecated things

* docs: chains

* chore: update snaps

* refactor: contract function types

* chore: bump version

* feat: opstack (fees/gas actions) (#1469)

* wip: opstack init

* feat: total gas

* feat: total gas

* feat: imports

* docs: migration guide

* feat: exports

* docs: celo

* docs

* feat: fees

* feat: contract fee/gas estimation

* feat: exports

* feat: exports

* chore: docspath

* chore: update snaps

* docs: address

* docs: sidebar

* tests: fix

* fix: exports

* docs: fix links

* docs: typos

* Update site/docs/op-stack/client.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractTotalFee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Gas.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* Update site/docs/op-stack/estimateContractL1Fee.md

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: export

* chore: pr review

* docs: updatE

---------

Co-authored-by: Will Cory <willcory10@gmail.com>

* chore: bump version

* docs: op stack

* docs: dead links

* refactor: rename

* chore: version

* fix: typo

* chore: merge

* refactor: opstack

* fix: types

* fix: type

* fix: downstream types

* chore: snaps

* chore: var fallback

* chore: bump version

* feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type

* docs: update custom client example (#1492)

* refactor: retry & fallback errors

* refactor: wallet client retries

* fix: client extensions w/ chain formatters

* tests: update

* chore: upgrade ts

* chore: lockfile

* chore: merge conflicts

* feat: deposit transaction (op stack) (#1479)

* chore: var fallback

* feat: deposit transaction

* docs

* refactor: api, docs, etc

* refactor: anvil

* refactor: dump op addresses

* tweaks

* feat: prepareDepositTransaction

* feat: mint

* docs: prepare

* refactor: prepare -> build

* feat: extractEventLogs

* docs: remove

* docs: parseEventLogs

* feat: serializer

* refactor

* feat: parsers

* feat: source hash computation

* feat: fromOpaqueData

* feat: compute l2 hashes

* docs: deposit guide

* fix: waitForTxnReceipt

* docs: deposit guide

* chore: example

* chore: update examples

* chore: update snaps

* chore: lint

* update

* update

* chore: update snaps

---------

Co-authored-by: Tom Meagher <tom@meagher.co>

* feat: spread fallback opts

* chore: publish package

* fix: default types

* chore: version package

* chore: export type

* chore: version package

* chore: export types

* chore: publish package

* chore: upgrade playwright

* feat: export promise utils

* chore: publish package

* chore: publish package

* chore: version package

* docs: Add missing params for verifyMessage and verifyTypedData (#1574)

* feat: export getProof from root and from actions (#1571)

* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: update snapshots

* chore: update

* fix: txn receipt

* docs: update migration guide

* docs: ethers migration

* feat: add missing exports (#1583)

* fix: add missing exports

* chore: add changeset

* chore: rename fromOpaqueData

* chore: version package

* feat: opstack withdrawal (#1565)

* feat: initiateWithdrawal

* docs

* feat: buildInitiateWithdrawal

* feat: getSecondsToNextL2Output

* feat: utils

* docs: sidebar

* feat: getWithdrawalHashStorageSlot

* feat: getL2Output

* docs: update withdrawal

* chore: sepolia

* feat: buildProveWithdrawal

* feat: waitForL2Output

* feat: proveWithdrawal

* feat: readyToProve

* docs: dead links

* docs: sidebar

* feat: getTimeToFinalize

* refactor: getWithdrawals

* docs: fix

* docs: update

* feat: waitToFinalize

* feat: finalizeWithdrawal

* feat: getTimeToProve

* chore: period

* refactor

* refactor

* feat: getWithdrawalStatus + rest

* chore: remove example

* chore: clean

* chore: lockfile

* refactor: error type

* feat: estimate actions

* test: remove only

* docs: remove deadlink

* fix: ts 5.0.4 errors

* chore: version

* ci: trigger

* chore: remove changesets from prerelease

* fix: log formatting

* chore: version

* WIP

* chore: add missing type export

* docs: update OP Stack docs in RC CHA-69 (#1612)

* feat: Add more docs to op

* Update site/op-stack/client.md

* Update site/op-stack/client.md

* Apply suggestions from code review

Co-authored-by: jxom  <jakemoxey@gmail.com>

---------

Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jakemoxey@gmail.com>

* chore: format

* fix: simulate types

* fix: test

* chore: version

* chore: tweak

* wip

* chore: version

* wip

* wip

* wip

* wip

* wip

* update

* wip

* wip

* chore: delete vitepress

* chore: update

* update docs

* delete changeset

* rewrite

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>

* Added documentation.

* fix

* chore: migrate vocs

* refactor

* docs

* Tests fix, docs udpate.

* Update settings.json

* Create shaggy-ravens-kiss.md

* Update shaggy-ravens-kiss.md

* Update zksync.mdx

---------

Co-authored-by: moxey.eth <jakemoxey@gmail.com>
Co-authored-by: Tom Meagher <tom@meagher.co>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: Omar <omaraziz.dev@proton.me>
Co-authored-by: Vitor Marthendal Nunes <marthendalnunes@gmail.com>
Co-authored-by: Will Cory <willcory@Wills-MacBook-Pro.local>
Co-authored-by: jxom <jxom@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants