Skip to content

Commit

Permalink
feat: vocs (#1675)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
7 people committed Jan 11, 2024
1 parent 27d9cbb commit fecd5ff
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 41 deletions.
33 changes: 33 additions & 0 deletions site/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1125,5 +1125,38 @@ export const sidebar = {
],
},
],
'/zksync': {
backLink: true,
items: [
{
text: 'zkSync',
items: [
{
text: 'Getting started',
link: '/zksync',
},
{ text: 'Client', link: '/zksync/client' },
{ text: 'Chains', link: '/zksync/chains' },
],
},
{
text: 'Actions',
items: [
{
text: 'prepareTransactionRequest',
link: '/zksync/actions/prepareTransactionRequest',
},
{
text: 'sendTransaction',
link: '/zksync/actions/sendTransaction',
},
{
text: 'signTransaction',
link: '/zksync/actions/signTransaction',
},
],
},
],
},
},
} as const satisfies Sidebar
53 changes: 12 additions & 41 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,36 +77,16 @@
},
"typesVersions": {
"*": {
"accounts": [
"./_types/accounts/index.d.ts"
],
"actions": [
"./_types/actions/index.d.ts"
],
"celo": [
"./_types/chains/celo/index.d.ts"
],
"chains": [
"./_types/chains/index.d.ts"
],
"chains/utils": [
"./_types/chains/utils.d.ts"
],
"ens": [
"./_types/ens/index.d.ts"
],
"op-stack": [
"./_types/chains/opStack/index.d.ts"
],
"utils": [
"./_types/utils/index.d.ts"
],
"window": [
"./_types/window/index.d.ts"
],
"zksync": [
"./_types/chains/zksync/index.d.ts"
]
"accounts": ["./_types/accounts/index.d.ts"],
"actions": ["./_types/actions/index.d.ts"],
"celo": ["./_types/chains/celo/index.d.ts"],
"chains": ["./_types/chains/index.d.ts"],
"chains/utils": ["./_types/chains/utils.d.ts"],
"ens": ["./_types/ens/index.d.ts"],
"op-stack": ["./_types/chains/opStack/index.d.ts"],
"utils": ["./_types/utils/index.d.ts"],
"window": ["./_types/window/index.d.ts"],
"zksync": ["./_types/chains/zksync/index.d.ts"]
}
},
"peerDependencies": {
Expand All @@ -130,21 +110,12 @@
"license": "MIT",
"homepage": "https://viem.sh",
"repository": "wevm/viem",
"authors": [
"awkweb.eth",
"jxom.eth"
],
"authors": ["awkweb.eth", "jxom.eth"],
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/wevm"
}
],
"keywords": [
"eth",
"ethereum",
"dapps",
"wallet",
"web3"
]
"keywords": ["eth", "ethereum", "dapps", "wallet", "web3"]
}
8 changes: 8 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rewrites": [
{
"source": "/:match*.html",
"destination": "/:match"
}
]
}

0 comments on commit fecd5ff

Please sign in to comment.