viem 2.0.0-beta.9 → 2.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -0
- package/README.md +9 -3
- package/_cjs/actions/ens/getEnsName.js +4 -2
- package/_cjs/actions/ens/getEnsName.js.map +1 -1
- package/_cjs/actions/index.js +16 -2
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/public/getFilterChanges.js +3 -2
- package/_cjs/actions/public/getFilterChanges.js.map +1 -1
- package/_cjs/actions/public/getFilterLogs.js +3 -2
- package/_cjs/actions/public/getFilterLogs.js.map +1 -1
- package/_cjs/actions/public/getLogs.js +3 -2
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/verifyTypedData.js +2 -1
- package/_cjs/actions/public/verifyTypedData.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/chains/celo/formatters.js +0 -10
- package/_cjs/chains/celo/formatters.js.map +1 -1
- package/_cjs/chains/definitions/arbitrumSepolia.js +4 -0
- package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -1
- package/_cjs/chains/definitions/astar.js +0 -1
- package/_cjs/chains/definitions/astar.js.map +1 -1
- package/_cjs/chains/definitions/astarZkatana.js +0 -6
- package/_cjs/chains/definitions/astarZkatana.js.map +1 -1
- package/_cjs/chains/definitions/base.js +5 -0
- package/_cjs/chains/definitions/base.js.map +1 -1
- package/_cjs/chains/definitions/baseGoerli.js +5 -0
- package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
- package/_cjs/chains/definitions/baseSepolia.js +5 -3
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
- package/_cjs/chains/definitions/bscTestnet.js +0 -1
- package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpaceTestnet.js +0 -4
- package/_cjs/chains/definitions/confluxESpaceTestnet.js.map +1 -1
- package/_cjs/chains/definitions/fantomSonicTestnet.js +25 -0
- package/_cjs/chains/definitions/fantomSonicTestnet.js.map +1 -0
- package/_cjs/chains/definitions/kava.js +0 -1
- package/_cjs/chains/definitions/kava.js.map +1 -1
- package/_cjs/chains/definitions/kavaTestnet.js +0 -1
- package/_cjs/chains/definitions/kavaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/klaytnBaobab.js +0 -1
- package/_cjs/chains/definitions/klaytnBaobab.js.map +1 -1
- package/_cjs/chains/definitions/lukso.js +0 -4
- package/_cjs/chains/definitions/lukso.js.map +1 -1
- package/_cjs/chains/definitions/manta.js +0 -1
- package/_cjs/chains/definitions/manta.js.map +1 -1
- package/_cjs/chains/definitions/mantaTestnet.js +0 -1
- package/_cjs/chains/definitions/mantaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/neonMainnet.js +0 -3
- package/_cjs/chains/definitions/neonMainnet.js.map +1 -1
- package/_cjs/chains/definitions/optimism.js +5 -0
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/optimismGoerli.js +5 -0
- package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
- package/_cjs/chains/definitions/optimismSepolia.js +5 -0
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -1
- package/_cjs/chains/definitions/pgn.js +12 -3
- package/_cjs/chains/definitions/pgn.js.map +1 -1
- package/_cjs/chains/definitions/pgnTestnet.js +7 -3
- package/_cjs/chains/definitions/pgnTestnet.js.map +1 -1
- package/_cjs/chains/definitions/rootstock.js +0 -1
- package/_cjs/chains/definitions/rootstock.js.map +1 -1
- package/_cjs/chains/definitions/sapphire.js +0 -4
- package/_cjs/chains/definitions/sapphire.js.map +1 -1
- package/_cjs/chains/definitions/sapphireTestnet.js +0 -4
- package/_cjs/chains/definitions/sapphireTestnet.js.map +1 -1
- package/_cjs/chains/definitions/shibarium.js +0 -3
- package/_cjs/chains/definitions/shibarium.js.map +1 -1
- package/_cjs/chains/definitions/shimmer.js +0 -3
- package/_cjs/chains/definitions/shimmer.js.map +1 -1
- package/_cjs/chains/definitions/shimmerTestnet.js +0 -3
- package/_cjs/chains/definitions/shimmerTestnet.js.map +1 -1
- package/_cjs/chains/definitions/taikoJolnir.js +2 -2
- package/_cjs/chains/definitions/taikoJolnir.js.map +1 -1
- package/_cjs/chains/definitions/tenet.js +0 -1
- package/_cjs/chains/definitions/tenet.js.map +1 -1
- package/_cjs/chains/definitions/zilliqa.js +23 -0
- package/_cjs/chains/definitions/zilliqa.js.map +1 -0
- package/_cjs/chains/definitions/zilliqaTestnet.js +23 -0
- package/_cjs/chains/definitions/zilliqaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js +31 -0
- package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zora.js +5 -0
- package/_cjs/chains/definitions/zora.js.map +1 -1
- package/_cjs/chains/definitions/zoraSepolia.js +5 -4
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
- package/_cjs/chains/index.js +12 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/chains/opStack/abis.js +366 -1
- package/_cjs/chains/opStack/abis.js.map +1 -1
- package/_cjs/chains/opStack/actions/buildDepositTransaction.js +1 -1
- package/_cjs/chains/opStack/actions/buildDepositTransaction.js.map +1 -1
- package/_cjs/chains/opStack/actions/buildInitiateWithdrawal.js +29 -0
- package/_cjs/chains/opStack/actions/buildInitiateWithdrawal.js.map +1 -0
- package/_cjs/chains/opStack/actions/buildProveWithdrawal.js +39 -0
- package/_cjs/chains/opStack/actions/buildProveWithdrawal.js.map +1 -0
- package/_cjs/chains/opStack/actions/depositTransaction.js +11 -6
- package/_cjs/chains/opStack/actions/depositTransaction.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateDepositTransactionGas.js +37 -0
- package/_cjs/chains/opStack/actions/estimateDepositTransactionGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateFinalizeWithdrawalGas.js +29 -0
- package/_cjs/chains/opStack/actions/estimateFinalizeWithdrawalGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateInitiateWithdrawalGas.js +24 -0
- package/_cjs/chains/opStack/actions/estimateInitiateWithdrawalGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateProveWithdrawalGas.js +29 -0
- package/_cjs/chains/opStack/actions/estimateProveWithdrawalGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/finalizeWithdrawal.js +33 -0
- package/_cjs/chains/opStack/actions/finalizeWithdrawal.js.map +1 -0
- package/_cjs/chains/opStack/actions/getL2Output.js +30 -0
- package/_cjs/chains/opStack/actions/getL2Output.js.map +1 -0
- package/_cjs/chains/opStack/actions/getTimeToFinalize.js +46 -0
- package/_cjs/chains/opStack/actions/getTimeToFinalize.js.map +1 -0
- package/_cjs/chains/opStack/actions/getTimeToNextL2Output.js +63 -0
- package/_cjs/chains/opStack/actions/getTimeToNextL2Output.js.map +1 -0
- package/_cjs/chains/opStack/actions/getTimeToProve.js +13 -0
- package/_cjs/chains/opStack/actions/getTimeToProve.js.map +1 -0
- package/_cjs/chains/opStack/actions/getWithdrawalStatus.js +71 -0
- package/_cjs/chains/opStack/actions/getWithdrawalStatus.js.map +1 -0
- package/_cjs/chains/opStack/actions/initiateWithdrawal.js +28 -0
- package/_cjs/chains/opStack/actions/initiateWithdrawal.js.map +1 -0
- package/_cjs/chains/opStack/actions/proveWithdrawal.js +33 -0
- package/_cjs/chains/opStack/actions/proveWithdrawal.js.map +1 -0
- package/_cjs/chains/opStack/actions/waitForNextL2Output.js +32 -0
- package/_cjs/chains/opStack/actions/waitForNextL2Output.js.map +1 -0
- package/_cjs/chains/opStack/actions/waitToFinalize.js +11 -0
- package/_cjs/chains/opStack/actions/waitToFinalize.js.map +1 -0
- package/_cjs/chains/opStack/actions/waitToProve.js +21 -0
- package/_cjs/chains/opStack/actions/waitToProve.js.map +1 -0
- package/_cjs/chains/opStack/chains.js +5 -1
- package/_cjs/chains/opStack/chains.js.map +1 -1
- package/_cjs/chains/opStack/decorators/publicL1.js +35 -0
- package/_cjs/chains/opStack/decorators/publicL1.js.map +1 -0
- package/_cjs/chains/opStack/decorators/publicL2.js +5 -1
- package/_cjs/chains/opStack/decorators/publicL2.js.map +1 -1
- package/_cjs/chains/opStack/decorators/walletL1.js +4 -0
- package/_cjs/chains/opStack/decorators/walletL1.js.map +1 -1
- package/_cjs/chains/opStack/decorators/walletL2.js +13 -0
- package/_cjs/chains/opStack/decorators/walletL2.js.map +1 -0
- package/_cjs/chains/opStack/errors/withdrawal.js +17 -0
- package/_cjs/chains/opStack/errors/withdrawal.js.map +1 -0
- package/_cjs/chains/opStack/index.js +43 -15
- package/_cjs/chains/opStack/index.js.map +1 -1
- package/_cjs/chains/opStack/types/deposit.js +3 -0
- package/_cjs/chains/opStack/types/deposit.js.map +1 -0
- package/_cjs/chains/opStack/types/withdrawal.js +3 -0
- package/_cjs/chains/opStack/types/withdrawal.js.map +1 -0
- package/_cjs/chains/opStack/utils/extractWithdrawalMessageLogs.js +14 -0
- package/_cjs/chains/opStack/utils/extractWithdrawalMessageLogs.js.map +1 -0
- package/_cjs/chains/opStack/utils/getL2TransactionHash.js +2 -2
- package/_cjs/chains/opStack/utils/getL2TransactionHash.js.map +1 -1
- package/_cjs/chains/opStack/utils/getWithdrawalHashStorageSlot.js +11 -0
- package/_cjs/chains/opStack/utils/getWithdrawalHashStorageSlot.js.map +1 -0
- package/_cjs/chains/opStack/utils/getWithdrawals.js +10 -0
- package/_cjs/chains/opStack/utils/getWithdrawals.js.map +1 -0
- package/_cjs/chains/opStack/utils/{fromOpaqueData.js → opaqueDataToDepositData.js} +4 -4
- package/_cjs/chains/opStack/utils/opaqueDataToDepositData.js.map +1 -0
- package/_cjs/errors/abi.js +21 -1
- package/_cjs/errors/abi.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_cjs/index.js +10 -2
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js +46 -3
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/hash/ripemd160.js +16 -0
- package/_cjs/utils/hash/ripemd160.js.map +1 -0
- package/_cjs/utils/hash/sha256.js +16 -0
- package/_cjs/utils/hash/sha256.js.map +1 -0
- package/_cjs/utils/index.js +5 -1
- package/_cjs/utils/index.js.map +1 -1
- package/_esm/actions/ens/getEnsName.js +4 -2
- package/_esm/actions/ens/getEnsName.js.map +1 -1
- package/_esm/actions/index.js +7 -0
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/public/getFilterChanges.js +3 -2
- package/_esm/actions/public/getFilterChanges.js.map +1 -1
- package/_esm/actions/public/getFilterLogs.js +3 -2
- package/_esm/actions/public/getFilterLogs.js.map +1 -1
- package/_esm/actions/public/getLogs.js +3 -2
- package/_esm/actions/public/getLogs.js.map +1 -1
- package/_esm/actions/public/verifyTypedData.js +2 -1
- package/_esm/actions/public/verifyTypedData.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/chains/celo/formatters.js +0 -10
- package/_esm/chains/celo/formatters.js.map +1 -1
- package/_esm/chains/definitions/arbitrumSepolia.js +4 -0
- package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -1
- package/_esm/chains/definitions/astar.js +0 -1
- package/_esm/chains/definitions/astar.js.map +1 -1
- package/_esm/chains/definitions/astarZkatana.js +0 -6
- package/_esm/chains/definitions/astarZkatana.js.map +1 -1
- package/_esm/chains/definitions/base.js +5 -0
- package/_esm/chains/definitions/base.js.map +1 -1
- package/_esm/chains/definitions/baseGoerli.js +5 -0
- package/_esm/chains/definitions/baseGoerli.js.map +1 -1
- package/_esm/chains/definitions/baseSepolia.js +5 -3
- package/_esm/chains/definitions/baseSepolia.js.map +1 -1
- package/_esm/chains/definitions/bscTestnet.js +0 -1
- package/_esm/chains/definitions/bscTestnet.js.map +1 -1
- package/_esm/chains/definitions/confluxESpaceTestnet.js +0 -4
- package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -1
- package/_esm/chains/definitions/fantomSonicTestnet.js +22 -0
- package/_esm/chains/definitions/fantomSonicTestnet.js.map +1 -0
- package/_esm/chains/definitions/kava.js +0 -1
- package/_esm/chains/definitions/kava.js.map +1 -1
- package/_esm/chains/definitions/kavaTestnet.js +0 -1
- package/_esm/chains/definitions/kavaTestnet.js.map +1 -1
- package/_esm/chains/definitions/klaytnBaobab.js +0 -1
- package/_esm/chains/definitions/klaytnBaobab.js.map +1 -1
- package/_esm/chains/definitions/lukso.js +0 -4
- package/_esm/chains/definitions/lukso.js.map +1 -1
- package/_esm/chains/definitions/manta.js +0 -1
- package/_esm/chains/definitions/manta.js.map +1 -1
- package/_esm/chains/definitions/mantaTestnet.js +0 -1
- package/_esm/chains/definitions/mantaTestnet.js.map +1 -1
- package/_esm/chains/definitions/neonMainnet.js +0 -3
- package/_esm/chains/definitions/neonMainnet.js.map +1 -1
- package/_esm/chains/definitions/optimism.js +5 -0
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/optimismGoerli.js +5 -0
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
- package/_esm/chains/definitions/optimismSepolia.js +5 -0
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
- package/_esm/chains/definitions/pgn.js +12 -3
- package/_esm/chains/definitions/pgn.js.map +1 -1
- package/_esm/chains/definitions/pgnTestnet.js +7 -3
- package/_esm/chains/definitions/pgnTestnet.js.map +1 -1
- package/_esm/chains/definitions/rootstock.js +0 -1
- package/_esm/chains/definitions/rootstock.js.map +1 -1
- package/_esm/chains/definitions/sapphire.js +0 -4
- package/_esm/chains/definitions/sapphire.js.map +1 -1
- package/_esm/chains/definitions/sapphireTestnet.js +0 -4
- package/_esm/chains/definitions/sapphireTestnet.js.map +1 -1
- package/_esm/chains/definitions/shibarium.js +0 -3
- package/_esm/chains/definitions/shibarium.js.map +1 -1
- package/_esm/chains/definitions/shimmer.js +0 -3
- package/_esm/chains/definitions/shimmer.js.map +1 -1
- package/_esm/chains/definitions/shimmerTestnet.js +0 -3
- package/_esm/chains/definitions/shimmerTestnet.js.map +1 -1
- package/_esm/chains/definitions/taikoJolnir.js +2 -2
- package/_esm/chains/definitions/taikoJolnir.js.map +1 -1
- package/_esm/chains/definitions/tenet.js +0 -1
- package/_esm/chains/definitions/tenet.js.map +1 -1
- package/_esm/chains/definitions/zilliqa.js +20 -0
- package/_esm/chains/definitions/zilliqa.js.map +1 -0
- package/_esm/chains/definitions/zilliqaTestnet.js +20 -0
- package/_esm/chains/definitions/zilliqaTestnet.js.map +1 -0
- package/_esm/chains/definitions/zkSyncSepoliaTestnet.js +28 -0
- package/_esm/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -0
- package/_esm/chains/definitions/zkSyncTestnet.js +1 -0
- package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_esm/chains/definitions/zora.js +5 -0
- package/_esm/chains/definitions/zora.js.map +1 -1
- package/_esm/chains/definitions/zoraSepolia.js +5 -4
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
- package/_esm/chains/index.js +4 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/opStack/abis.js +365 -0
- package/_esm/chains/opStack/abis.js.map +1 -1
- package/_esm/chains/opStack/actions/buildDepositTransaction.js +2 -2
- package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +1 -1
- package/_esm/chains/opStack/actions/buildInitiateWithdrawal.js +50 -0
- package/_esm/chains/opStack/actions/buildInitiateWithdrawal.js.map +1 -0
- package/_esm/chains/opStack/actions/buildProveWithdrawal.js +59 -0
- package/_esm/chains/opStack/actions/buildProveWithdrawal.js.map +1 -0
- package/_esm/chains/opStack/actions/depositTransaction.js +17 -14
- package/_esm/chains/opStack/actions/depositTransaction.js.map +1 -1
- package/_esm/chains/opStack/actions/estimateDepositTransactionGas.js +62 -0
- package/_esm/chains/opStack/actions/estimateDepositTransactionGas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateFinalizeWithdrawalGas.js +50 -0
- package/_esm/chains/opStack/actions/estimateFinalizeWithdrawalGas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateInitiateWithdrawalGas.js +48 -0
- package/_esm/chains/opStack/actions/estimateInitiateWithdrawalGas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateProveWithdrawalGas.js +53 -0
- package/_esm/chains/opStack/actions/estimateProveWithdrawalGas.js.map +1 -0
- package/_esm/chains/opStack/actions/finalizeWithdrawal.js +53 -0
- package/_esm/chains/opStack/actions/finalizeWithdrawal.js.map +1 -0
- package/_esm/chains/opStack/actions/getL2Output.js +50 -0
- package/_esm/chains/opStack/actions/getL2Output.js.map +1 -0
- package/_esm/chains/opStack/actions/getTimeToFinalize.js +77 -0
- package/_esm/chains/opStack/actions/getTimeToFinalize.js.map +1 -0
- package/_esm/chains/opStack/actions/getTimeToNextL2Output.js +91 -0
- package/_esm/chains/opStack/actions/getTimeToNextL2Output.js.map +1 -0
- package/_esm/chains/opStack/actions/getTimeToProve.js +39 -0
- package/_esm/chains/opStack/actions/getTimeToProve.js.map +1 -0
- package/_esm/chains/opStack/actions/getWithdrawalStatus.js +99 -0
- package/_esm/chains/opStack/actions/getWithdrawalStatus.js.map +1 -0
- package/_esm/chains/opStack/actions/initiateWithdrawal.js +76 -0
- package/_esm/chains/opStack/actions/initiateWithdrawal.js.map +1 -0
- package/_esm/chains/opStack/actions/proveWithdrawal.js +57 -0
- package/_esm/chains/opStack/actions/proveWithdrawal.js.map +1 -0
- package/_esm/chains/opStack/actions/waitForNextL2Output.js +58 -0
- package/_esm/chains/opStack/actions/waitForNextL2Output.js.map +1 -0
- package/_esm/chains/opStack/actions/waitToFinalize.js +41 -0
- package/_esm/chains/opStack/actions/waitToFinalize.js.map +1 -0
- package/_esm/chains/opStack/actions/waitToProve.js +47 -0
- package/_esm/chains/opStack/actions/waitToProve.js.map +1 -0
- package/_esm/chains/opStack/chains.js +2 -0
- package/_esm/chains/opStack/chains.js.map +1 -1
- package/_esm/chains/opStack/decorators/publicL1.js +31 -0
- package/_esm/chains/opStack/decorators/publicL1.js.map +1 -0
- package/_esm/chains/opStack/decorators/publicL2.js +5 -1
- package/_esm/chains/opStack/decorators/publicL2.js.map +1 -1
- package/_esm/chains/opStack/decorators/walletL1.js +4 -0
- package/_esm/chains/opStack/decorators/walletL1.js.map +1 -1
- package/_esm/chains/opStack/decorators/walletL2.js +9 -0
- package/_esm/chains/opStack/decorators/walletL2.js.map +1 -0
- package/_esm/chains/opStack/errors/withdrawal.js +13 -0
- package/_esm/chains/opStack/errors/withdrawal.js.map +1 -0
- package/_esm/chains/opStack/index.js +21 -3
- package/_esm/chains/opStack/index.js.map +1 -1
- package/_esm/chains/opStack/types/deposit.js +2 -0
- package/_esm/chains/opStack/types/deposit.js.map +1 -0
- package/_esm/chains/opStack/types/withdrawal.js +2 -0
- package/_esm/chains/opStack/types/withdrawal.js.map +1 -0
- package/_esm/chains/opStack/utils/extractWithdrawalMessageLogs.js +10 -0
- package/_esm/chains/opStack/utils/extractWithdrawalMessageLogs.js.map +1 -0
- package/_esm/chains/opStack/utils/getL2TransactionHash.js +2 -2
- package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +1 -1
- package/_esm/chains/opStack/utils/getWithdrawalHashStorageSlot.js +7 -0
- package/_esm/chains/opStack/utils/getWithdrawalHashStorageSlot.js.map +1 -0
- package/_esm/chains/opStack/utils/getWithdrawals.js +6 -0
- package/_esm/chains/opStack/utils/getWithdrawals.js.map +1 -0
- package/_esm/chains/opStack/utils/{fromOpaqueData.js → opaqueDataToDepositData.js} +2 -2
- package/_esm/chains/opStack/utils/opaqueDataToDepositData.js.map +1 -0
- package/_esm/errors/abi.js +19 -0
- package/_esm/errors/abi.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_esm/index.js +4 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/abi/getAbiItem.js +46 -2
- package/_esm/utils/abi/getAbiItem.js.map +1 -1
- package/_esm/utils/hash/ripemd160.js +12 -0
- package/_esm/utils/hash/ripemd160.js.map +1 -0
- package/_esm/utils/hash/sha256.js +12 -0
- package/_esm/utils/hash/sha256.js.map +1 -0
- package/_esm/utils/index.js +2 -0
- package/_esm/utils/index.js.map +1 -1
- package/_types/actions/ens/getEnsName.d.ts.map +1 -1
- package/_types/actions/index.d.ts +7 -0
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
- package/_types/actions/public/verifyTypedData.d.ts +2 -4
- package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +5 -5
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/chains/celo/chainConfig.d.ts +97 -120
- package/_types/chains/celo/chainConfig.d.ts.map +1 -1
- package/_types/chains/celo/formatters.d.ts +98 -121
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/celo/index.d.ts +1 -1
- package/_types/chains/celo/index.d.ts.map +1 -1
- package/_types/chains/celo/types.d.ts +2 -14
- package/_types/chains/celo/types.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumSepolia.d.ts +4 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/astar.d.ts +0 -3
- package/_types/chains/definitions/astar.d.ts.map +1 -1
- package/_types/chains/definitions/astarZkatana.d.ts +0 -3
- package/_types/chains/definitions/astarZkatana.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +80 -75
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +80 -75
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +80 -78
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/bscTestnet.d.ts +0 -3
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +97 -120
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +97 -120
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +97 -120
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +0 -4
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fantomSonicTestnet.d.ts +35 -0
- package/_types/chains/definitions/fantomSonicTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/kava.d.ts +0 -3
- package/_types/chains/definitions/kava.d.ts.map +1 -1
- package/_types/chains/definitions/kavaTestnet.d.ts +0 -3
- package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/klaytnBaobab.d.ts +0 -3
- package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -1
- package/_types/chains/definitions/lukso.d.ts +0 -4
- package/_types/chains/definitions/lukso.d.ts.map +1 -1
- package/_types/chains/definitions/manta.d.ts +0 -3
- package/_types/chains/definitions/manta.d.ts.map +1 -1
- package/_types/chains/definitions/mantaTestnet.d.ts +0 -3
- package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/neonMainnet.d.ts +0 -3
- package/_types/chains/definitions/neonMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +80 -75
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +80 -75
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +80 -75
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/pgn.d.ts +85 -78
- package/_types/chains/definitions/pgn.d.ts.map +1 -1
- package/_types/chains/definitions/pgnTestnet.d.ts +80 -78
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/rootstock.d.ts +0 -3
- package/_types/chains/definitions/rootstock.d.ts.map +1 -1
- package/_types/chains/definitions/sapphire.d.ts +0 -4
- package/_types/chains/definitions/sapphire.d.ts.map +1 -1
- package/_types/chains/definitions/sapphireTestnet.d.ts +0 -4
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/shibarium.d.ts +0 -3
- package/_types/chains/definitions/shibarium.d.ts.map +1 -1
- package/_types/chains/definitions/shimmer.d.ts +0 -3
- package/_types/chains/definitions/shimmer.d.ts.map +1 -1
- package/_types/chains/definitions/shimmerTestnet.d.ts +0 -3
- package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +2 -2
- package/_types/chains/definitions/tenet.d.ts +0 -3
- package/_types/chains/definitions/tenet.d.ts.map +1 -1
- package/_types/chains/definitions/zilliqa.d.ts +35 -0
- package/_types/chains/definitions/zilliqa.d.ts.map +1 -0
- package/_types/chains/definitions/zilliqaTestnet.d.ts +35 -0
- package/_types/chains/definitions/zilliqaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zkSync.d.ts +9 -9
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +529 -0
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts +10 -9
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +80 -75
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +80 -79
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +75 -75
- package/_types/chains/index.d.ts +5 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/opStack/abis.d.ts +457 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -1
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +5 -3
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -1
- package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts +50 -0
- package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts +48 -0
- package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts +18 -34
- package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -1
- package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts +50 -0
- package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts +45 -0
- package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts +51 -0
- package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts +63 -0
- package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts +49 -0
- package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getL2Output.d.ts +44 -0
- package/_types/chains/opStack/actions/getL2Output.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToFinalize.d.ts +57 -0
- package/_types/chains/opStack/actions/getTimeToFinalize.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts +61 -0
- package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToProve.d.ts +50 -0
- package/_types/chains/opStack/actions/getTimeToProve.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts +48 -0
- package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts.map +1 -0
- package/_types/chains/opStack/actions/initiateWithdrawal.d.ts +77 -0
- package/_types/chains/opStack/actions/initiateWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/proveWithdrawal.d.ts +67 -0
- package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/waitForNextL2Output.d.ts +55 -0
- package/_types/chains/opStack/actions/waitForNextL2Output.d.ts.map +1 -0
- package/_types/chains/opStack/actions/waitToFinalize.d.ts +45 -0
- package/_types/chains/opStack/actions/waitToFinalize.d.ts.map +1 -0
- package/_types/chains/opStack/actions/waitToProve.d.ts +55 -0
- package/_types/chains/opStack/actions/waitToProve.d.ts.map +1 -0
- package/_types/chains/opStack/chainConfig.d.ts +74 -74
- package/_types/chains/opStack/chains.d.ts +2 -0
- package/_types/chains/opStack/chains.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/publicL1.d.ts +386 -0
- package/_types/chains/opStack/decorators/publicL1.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts +82 -26
- package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/walletL1.d.ts +57 -2
- package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/walletL2.d.ts +62 -0
- package/_types/chains/opStack/decorators/walletL2.d.ts.map +1 -0
- package/_types/chains/opStack/errors/withdrawal.d.ts +12 -0
- package/_types/chains/opStack/errors/withdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/formatters.d.ts +74 -74
- package/_types/chains/opStack/index.d.ts +21 -3
- package/_types/chains/opStack/index.d.ts.map +1 -1
- package/_types/chains/opStack/types/deposit.d.ts +25 -0
- package/_types/chains/opStack/types/deposit.d.ts.map +1 -0
- package/_types/chains/opStack/types/withdrawal.d.ts +22 -0
- package/_types/chains/opStack/types/withdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/utils/extractWithdrawalMessageLogs.d.ts +137 -0
- package/_types/chains/opStack/utils/extractWithdrawalMessageLogs.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getWithdrawalHashStorageSlot.d.ts +11 -0
- package/_types/chains/opStack/utils/getWithdrawalHashStorageSlot.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getWithdrawals.d.ts +12 -0
- package/_types/chains/opStack/utils/getWithdrawals.d.ts.map +1 -0
- package/_types/chains/opStack/utils/opaqueDataToDepositData.d.ts +15 -0
- package/_types/chains/opStack/utils/opaqueDataToDepositData.d.ts.map +1 -0
- package/_types/chains/zksync/chainConfig.d.ts +9 -9
- package/_types/chains/zksync/formatters.d.ts +9 -9
- package/_types/clients/decorators/public.d.ts +2 -2
- package/_types/clients/decorators/public.d.ts.map +1 -1
- package/_types/clients/decorators/wallet.d.ts +2 -2
- package/_types/clients/decorators/wallet.d.ts.map +1 -1
- package/_types/errors/abi.d.ts +14 -1
- package/_types/errors/abi.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/index.d.ts +15 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/types/account.d.ts +1 -1
- package/_types/types/account.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +12 -0
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/utils/abi/getAbiItem.d.ts +2 -1
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/utils/hash/ripemd160.d.ts +11 -0
- package/_types/utils/hash/ripemd160.d.ts.map +1 -0
- package/_types/utils/hash/sha256.d.ts +11 -0
- package/_types/utils/hash/sha256.d.ts.map +1 -0
- package/_types/utils/index.d.ts +2 -0
- package/_types/utils/index.d.ts.map +1 -1
- package/actions/ens/getEnsName.ts +3 -2
- package/actions/index.ts +31 -0
- package/actions/public/getFilterChanges.ts +3 -5
- package/actions/public/getFilterLogs.ts +3 -3
- package/actions/public/getLogs.ts +3 -3
- package/actions/public/verifyTypedData.ts +13 -8
- package/actions/wallet/prepareTransactionRequest.ts +16 -9
- package/chains/celo/formatters.ts +0 -14
- package/chains/celo/index.ts +0 -4
- package/chains/celo/types.ts +0 -18
- package/chains/definitions/arbitrumSepolia.ts +4 -0
- package/chains/definitions/astar.ts +0 -1
- package/chains/definitions/astarZkatana.ts +0 -6
- package/chains/definitions/base.ts +5 -0
- package/chains/definitions/baseGoerli.ts +5 -0
- package/chains/definitions/baseSepolia.ts +5 -3
- package/chains/definitions/bscTestnet.ts +0 -1
- package/chains/definitions/confluxESpaceTestnet.ts +0 -4
- package/chains/definitions/fantomSonicTestnet.ts +22 -0
- package/chains/definitions/kava.ts +0 -1
- package/chains/definitions/kavaTestnet.ts +0 -1
- package/chains/definitions/klaytnBaobab.ts +0 -1
- package/chains/definitions/lukso.ts +0 -4
- package/chains/definitions/manta.ts +0 -1
- package/chains/definitions/mantaTestnet.ts +0 -1
- package/chains/definitions/neonMainnet.ts +0 -3
- package/chains/definitions/optimism.ts +5 -0
- package/chains/definitions/optimismGoerli.ts +5 -0
- package/chains/definitions/optimismSepolia.ts +5 -0
- package/chains/definitions/pgn.ts +13 -3
- package/chains/definitions/pgnTestnet.ts +8 -3
- package/chains/definitions/rootstock.ts +0 -1
- package/chains/definitions/sapphire.ts +0 -4
- package/chains/definitions/sapphireTestnet.ts +0 -4
- package/chains/definitions/shibarium.ts +0 -3
- package/chains/definitions/shimmer.ts +0 -3
- package/chains/definitions/shimmerTestnet.ts +0 -3
- package/chains/definitions/taikoJolnir.ts +2 -2
- package/chains/definitions/tenet.ts +0 -1
- package/chains/definitions/zilliqa.ts +20 -0
- package/chains/definitions/zilliqaTestnet.ts +20 -0
- package/chains/definitions/zkSyncSepoliaTestnet.ts +28 -0
- package/chains/definitions/zkSyncTestnet.ts +1 -0
- package/chains/definitions/zora.ts +5 -0
- package/chains/definitions/zoraSepolia.ts +5 -4
- package/chains/index.ts +9 -0
- package/chains/opStack/abis.ts +367 -0
- package/chains/opStack/actions/buildDepositTransaction.ts +11 -6
- package/chains/opStack/actions/buildInitiateWithdrawal.ts +118 -0
- package/chains/opStack/actions/buildProveWithdrawal.ts +149 -0
- package/chains/opStack/actions/depositTransaction.ts +50 -44
- package/chains/opStack/actions/estimateDepositTransactionGas.ts +138 -0
- package/chains/opStack/actions/estimateFinalizeWithdrawalGas.ts +118 -0
- package/chains/opStack/actions/estimateInitiateWithdrawalGas.ts +118 -0
- package/chains/opStack/actions/estimateProveWithdrawalGas.ts +139 -0
- package/chains/opStack/actions/finalizeWithdrawal.ts +130 -0
- package/chains/opStack/actions/getL2Output.ts +89 -0
- package/chains/opStack/actions/getTimeToFinalize.ts +122 -0
- package/chains/opStack/actions/getTimeToNextL2Output.ts +162 -0
- package/chains/opStack/actions/getTimeToProve.ts +79 -0
- package/chains/opStack/actions/getWithdrawalStatus.ts +152 -0
- package/chains/opStack/actions/initiateWithdrawal.ts +153 -0
- package/chains/opStack/actions/proveWithdrawal.ts +151 -0
- package/chains/opStack/actions/waitForNextL2Output.ts +111 -0
- package/chains/opStack/actions/waitToFinalize.ts +64 -0
- package/chains/opStack/actions/waitToProve.ts +99 -0
- package/chains/opStack/chains.ts +2 -0
- package/chains/opStack/decorators/publicL1.ts +514 -0
- package/chains/opStack/decorators/publicL2.ts +129 -37
- package/chains/opStack/decorators/walletL1.ts +71 -2
- package/chains/opStack/decorators/walletL2.ts +84 -0
- package/chains/opStack/errors/withdrawal.ts +15 -0
- package/chains/opStack/index.ts +112 -21
- package/chains/opStack/types/deposit.ts +28 -0
- package/chains/opStack/types/withdrawal.ts +23 -0
- package/chains/opStack/utils/extractWithdrawalMessageLogs.ts +36 -0
- package/chains/opStack/utils/getL2TransactionHash.ts +2 -2
- package/chains/opStack/utils/getWithdrawalHashStorageSlot.ts +29 -0
- package/chains/opStack/utils/getWithdrawals.ts +25 -0
- package/chains/opStack/utils/{fromOpaqueData.ts → opaqueDataToDepositData.ts} +9 -4
- package/clients/decorators/public.ts +2 -2
- package/clients/decorators/wallet.ts +2 -2
- package/errors/abi.ts +22 -1
- package/errors/version.ts +1 -1
- package/index.ts +40 -0
- package/package.json +1 -1
- package/types/account.ts +1 -1
- package/types/eip1193.ts +12 -0
- package/utils/abi/getAbiItem.ts +71 -2
- package/utils/hash/ripemd160.ts +31 -0
- package/utils/hash/sha256.ts +31 -0
- package/utils/index.ts +2 -0
- package/_cjs/chains/opStack/utils/fromOpaqueData.js.map +0 -1
- package/_esm/chains/opStack/utils/fromOpaqueData.js.map +0 -1
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts +0 -15
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +0 -1
- package/chains/celo/package.json +0 -6
- package/chains/opStack/package.json +0 -6
- package/chains/zksync/package.json +0 -6
@@ -55,24 +55,24 @@ export declare const chainConfig: {
|
|
55
55
|
readonly transaction: {
|
56
56
|
exclude: [] | undefined;
|
57
57
|
format: (args: ({
|
58
|
-
|
59
|
-
nonce?: `0x${string}` | undefined;
|
60
|
-
yParity?: `0x${string}` | undefined;
|
58
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
61
59
|
blockHash?: `0x${string}` | null | undefined;
|
60
|
+
gasPrice?: `0x${string}` | undefined;
|
61
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
62
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
63
|
+
yParity?: `0x${string}` | undefined;
|
62
64
|
blockNumber?: `0x${string}` | null | undefined;
|
63
65
|
from?: `0x${string}` | undefined;
|
64
66
|
gas?: `0x${string}` | undefined;
|
67
|
+
hash?: `0x${string}` | undefined;
|
65
68
|
input?: `0x${string}` | undefined;
|
69
|
+
nonce?: `0x${string}` | undefined;
|
66
70
|
r?: `0x${string}` | undefined;
|
67
71
|
s?: `0x${string}` | undefined;
|
68
72
|
to?: `0x${string}` | null | undefined;
|
69
73
|
transactionIndex?: `0x${string}` | null | undefined;
|
70
74
|
v?: `0x${string}` | undefined;
|
71
75
|
value?: `0x${string}` | undefined;
|
72
|
-
gasPrice?: `0x${string}` | undefined;
|
73
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
74
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
75
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
76
76
|
accessList?: undefined;
|
77
77
|
chainId?: `0x${string}` | undefined;
|
78
78
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -80,24 +80,24 @@ export declare const chainConfig: {
|
|
80
80
|
mint?: undefined;
|
81
81
|
sourceHash?: undefined;
|
82
82
|
}) | ({
|
83
|
-
|
84
|
-
nonce?: `0x${string}` | undefined;
|
85
|
-
yParity?: `0x${string}` | undefined;
|
83
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
86
84
|
blockHash?: `0x${string}` | null | undefined;
|
85
|
+
gasPrice?: `0x${string}` | undefined;
|
86
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
87
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
88
|
+
yParity?: `0x${string}` | undefined;
|
87
89
|
blockNumber?: `0x${string}` | null | undefined;
|
88
90
|
from?: `0x${string}` | undefined;
|
89
91
|
gas?: `0x${string}` | undefined;
|
92
|
+
hash?: `0x${string}` | undefined;
|
90
93
|
input?: `0x${string}` | undefined;
|
94
|
+
nonce?: `0x${string}` | undefined;
|
91
95
|
r?: `0x${string}` | undefined;
|
92
96
|
s?: `0x${string}` | undefined;
|
93
97
|
to?: `0x${string}` | null | undefined;
|
94
98
|
transactionIndex?: `0x${string}` | null | undefined;
|
95
99
|
v?: `0x${string}` | undefined;
|
96
100
|
value?: `0x${string}` | undefined;
|
97
|
-
gasPrice?: `0x${string}` | undefined;
|
98
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
99
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
100
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
101
101
|
accessList?: undefined;
|
102
102
|
chainId?: `0x${string}` | undefined;
|
103
103
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -106,24 +106,24 @@ export declare const chainConfig: {
|
|
106
106
|
sourceHash: `0x${string}`;
|
107
107
|
type: "0x7e";
|
108
108
|
}) | ({
|
109
|
-
|
110
|
-
nonce?: `0x${string}` | undefined;
|
111
|
-
yParity?: `0x${string}` | undefined;
|
109
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
112
110
|
blockHash?: `0x${string}` | null | undefined;
|
111
|
+
gasPrice?: `0x${string}` | undefined;
|
112
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
113
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
114
|
+
yParity?: `0x${string}` | undefined;
|
113
115
|
blockNumber?: `0x${string}` | null | undefined;
|
114
116
|
from?: `0x${string}` | undefined;
|
115
117
|
gas?: `0x${string}` | undefined;
|
118
|
+
hash?: `0x${string}` | undefined;
|
116
119
|
input?: `0x${string}` | undefined;
|
120
|
+
nonce?: `0x${string}` | undefined;
|
117
121
|
r?: `0x${string}` | undefined;
|
118
122
|
s?: `0x${string}` | undefined;
|
119
123
|
to?: `0x${string}` | null | undefined;
|
120
124
|
transactionIndex?: `0x${string}` | null | undefined;
|
121
125
|
v?: `0x${string}` | undefined;
|
122
126
|
value?: `0x${string}` | undefined;
|
123
|
-
gasPrice?: `0x${string}` | undefined;
|
124
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
125
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
126
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
127
127
|
accessList?: import("../../index.js").AccessList | undefined;
|
128
128
|
chainId?: `0x${string}` | undefined;
|
129
129
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -131,24 +131,24 @@ export declare const chainConfig: {
|
|
131
131
|
mint?: undefined;
|
132
132
|
sourceHash?: undefined;
|
133
133
|
}) | ({
|
134
|
-
|
135
|
-
nonce?: `0x${string}` | undefined;
|
136
|
-
yParity?: `0x${string}` | undefined;
|
134
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
137
135
|
blockHash?: `0x${string}` | null | undefined;
|
136
|
+
gasPrice?: `0x${string}` | undefined;
|
137
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
138
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
139
|
+
yParity?: `0x${string}` | undefined;
|
138
140
|
blockNumber?: `0x${string}` | null | undefined;
|
139
141
|
from?: `0x${string}` | undefined;
|
140
142
|
gas?: `0x${string}` | undefined;
|
143
|
+
hash?: `0x${string}` | undefined;
|
141
144
|
input?: `0x${string}` | undefined;
|
145
|
+
nonce?: `0x${string}` | undefined;
|
142
146
|
r?: `0x${string}` | undefined;
|
143
147
|
s?: `0x${string}` | undefined;
|
144
148
|
to?: `0x${string}` | null | undefined;
|
145
149
|
transactionIndex?: `0x${string}` | null | undefined;
|
146
150
|
v?: `0x${string}` | undefined;
|
147
151
|
value?: `0x${string}` | undefined;
|
148
|
-
gasPrice?: `0x${string}` | undefined;
|
149
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
150
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
151
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
152
152
|
accessList?: import("../../index.js").AccessList | undefined;
|
153
153
|
chainId?: `0x${string}` | undefined;
|
154
154
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
@@ -156,24 +156,24 @@ export declare const chainConfig: {
|
|
156
156
|
mint?: undefined;
|
157
157
|
sourceHash?: undefined;
|
158
158
|
}) | ({
|
159
|
-
|
160
|
-
nonce?: `0x${string}` | undefined;
|
161
|
-
yParity?: `0x${string}` | undefined;
|
159
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
162
160
|
blockHash?: `0x${string}` | null | undefined;
|
161
|
+
gasPrice?: `0x${string}` | undefined;
|
162
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
163
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
164
|
+
yParity?: `0x${string}` | undefined;
|
163
165
|
blockNumber?: `0x${string}` | null | undefined;
|
164
166
|
from?: `0x${string}` | undefined;
|
165
167
|
gas?: `0x${string}` | undefined;
|
168
|
+
hash?: `0x${string}` | undefined;
|
166
169
|
input?: `0x${string}` | undefined;
|
170
|
+
nonce?: `0x${string}` | undefined;
|
167
171
|
r?: `0x${string}` | undefined;
|
168
172
|
s?: `0x${string}` | undefined;
|
169
173
|
to?: `0x${string}` | null | undefined;
|
170
174
|
transactionIndex?: `0x${string}` | null | undefined;
|
171
175
|
v?: `0x${string}` | undefined;
|
172
176
|
value?: `0x${string}` | undefined;
|
173
|
-
gasPrice?: `0x${string}` | undefined;
|
174
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
175
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
176
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
177
177
|
accessList?: import("../../index.js").AccessList | undefined;
|
178
178
|
chainId?: `0x${string}` | undefined;
|
179
179
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
@@ -181,24 +181,24 @@ export declare const chainConfig: {
|
|
181
181
|
mint?: undefined;
|
182
182
|
sourceHash?: undefined;
|
183
183
|
}) | ({
|
184
|
-
|
185
|
-
nonce?: `0x${string}` | undefined;
|
186
|
-
yParity?: `0x${string}` | undefined;
|
184
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
187
185
|
blockHash?: `0x${string}` | null | undefined;
|
186
|
+
gasPrice?: `0x${string}` | undefined;
|
187
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
188
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
189
|
+
yParity?: `0x${string}` | undefined;
|
188
190
|
blockNumber?: `0x${string}` | null | undefined;
|
189
191
|
from?: `0x${string}` | undefined;
|
190
192
|
gas?: `0x${string}` | undefined;
|
193
|
+
hash?: `0x${string}` | undefined;
|
191
194
|
input?: `0x${string}` | undefined;
|
195
|
+
nonce?: `0x${string}` | undefined;
|
192
196
|
r?: `0x${string}` | undefined;
|
193
197
|
s?: `0x${string}` | undefined;
|
194
198
|
to?: `0x${string}` | null | undefined;
|
195
199
|
transactionIndex?: `0x${string}` | null | undefined;
|
196
200
|
v?: `0x${string}` | undefined;
|
197
201
|
value?: `0x${string}` | undefined;
|
198
|
-
gasPrice?: `0x${string}` | undefined;
|
199
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
200
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
201
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
202
202
|
accessList?: import("../../index.js").AccessList | undefined;
|
203
203
|
chainId?: `0x${string}` | undefined;
|
204
204
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -207,24 +207,24 @@ export declare const chainConfig: {
|
|
207
207
|
sourceHash: `0x${string}`;
|
208
208
|
type: "0x7e";
|
209
209
|
}) | ({
|
210
|
-
|
211
|
-
nonce?: `0x${string}` | undefined;
|
212
|
-
yParity?: `0x${string}` | undefined;
|
210
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
213
211
|
blockHash?: `0x${string}` | null | undefined;
|
212
|
+
gasPrice?: `0x${string}` | undefined;
|
213
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
214
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
215
|
+
yParity?: `0x${string}` | undefined;
|
214
216
|
blockNumber?: `0x${string}` | null | undefined;
|
215
217
|
from?: `0x${string}` | undefined;
|
216
218
|
gas?: `0x${string}` | undefined;
|
219
|
+
hash?: `0x${string}` | undefined;
|
217
220
|
input?: `0x${string}` | undefined;
|
221
|
+
nonce?: `0x${string}` | undefined;
|
218
222
|
r?: `0x${string}` | undefined;
|
219
223
|
s?: `0x${string}` | undefined;
|
220
224
|
to?: `0x${string}` | null | undefined;
|
221
225
|
transactionIndex?: `0x${string}` | null | undefined;
|
222
226
|
v?: `0x${string}` | undefined;
|
223
227
|
value?: `0x${string}` | undefined;
|
224
|
-
gasPrice?: `0x${string}` | undefined;
|
225
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
226
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
227
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
228
228
|
accessList?: import("../../index.js").AccessList | undefined;
|
229
229
|
chainId?: `0x${string}` | undefined;
|
230
230
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -232,24 +232,24 @@ export declare const chainConfig: {
|
|
232
232
|
mint?: undefined;
|
233
233
|
sourceHash?: undefined;
|
234
234
|
}) | ({
|
235
|
-
|
236
|
-
nonce?: `0x${string}` | undefined;
|
237
|
-
yParity?: `0x${string}` | undefined;
|
235
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
238
236
|
blockHash?: `0x${string}` | null | undefined;
|
237
|
+
gasPrice?: `0x${string}` | undefined;
|
238
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
239
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
240
|
+
yParity?: `0x${string}` | undefined;
|
239
241
|
blockNumber?: `0x${string}` | null | undefined;
|
240
242
|
from?: `0x${string}` | undefined;
|
241
243
|
gas?: `0x${string}` | undefined;
|
244
|
+
hash?: `0x${string}` | undefined;
|
242
245
|
input?: `0x${string}` | undefined;
|
246
|
+
nonce?: `0x${string}` | undefined;
|
243
247
|
r?: `0x${string}` | undefined;
|
244
248
|
s?: `0x${string}` | undefined;
|
245
249
|
to?: `0x${string}` | null | undefined;
|
246
250
|
transactionIndex?: `0x${string}` | null | undefined;
|
247
251
|
v?: `0x${string}` | undefined;
|
248
252
|
value?: `0x${string}` | undefined;
|
249
|
-
gasPrice?: `0x${string}` | undefined;
|
250
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
251
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
252
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
253
253
|
accessList?: import("../../index.js").AccessList | undefined;
|
254
254
|
chainId?: `0x${string}` | undefined;
|
255
255
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
@@ -257,24 +257,24 @@ export declare const chainConfig: {
|
|
257
257
|
mint?: undefined;
|
258
258
|
sourceHash?: undefined;
|
259
259
|
}) | ({
|
260
|
-
|
261
|
-
nonce?: `0x${string}` | undefined;
|
262
|
-
yParity?: `0x${string}` | undefined;
|
260
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
263
261
|
blockHash?: `0x${string}` | null | undefined;
|
262
|
+
gasPrice?: `0x${string}` | undefined;
|
263
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
264
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
265
|
+
yParity?: `0x${string}` | undefined;
|
264
266
|
blockNumber?: `0x${string}` | null | undefined;
|
265
267
|
from?: `0x${string}` | undefined;
|
266
268
|
gas?: `0x${string}` | undefined;
|
269
|
+
hash?: `0x${string}` | undefined;
|
267
270
|
input?: `0x${string}` | undefined;
|
271
|
+
nonce?: `0x${string}` | undefined;
|
268
272
|
r?: `0x${string}` | undefined;
|
269
273
|
s?: `0x${string}` | undefined;
|
270
274
|
to?: `0x${string}` | null | undefined;
|
271
275
|
transactionIndex?: `0x${string}` | null | undefined;
|
272
276
|
v?: `0x${string}` | undefined;
|
273
277
|
value?: `0x${string}` | undefined;
|
274
|
-
gasPrice?: `0x${string}` | undefined;
|
275
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
276
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
277
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
278
278
|
accessList?: import("../../index.js").AccessList | undefined;
|
279
279
|
chainId?: `0x${string}` | undefined;
|
280
280
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
@@ -282,24 +282,24 @@ export declare const chainConfig: {
|
|
282
282
|
mint?: undefined;
|
283
283
|
sourceHash?: undefined;
|
284
284
|
}) | ({
|
285
|
-
|
286
|
-
nonce?: `0x${string}` | undefined;
|
287
|
-
yParity?: `0x${string}` | undefined;
|
285
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
288
286
|
blockHash?: `0x${string}` | null | undefined;
|
287
|
+
gasPrice?: `0x${string}` | undefined;
|
288
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
289
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
290
|
+
yParity?: `0x${string}` | undefined;
|
289
291
|
blockNumber?: `0x${string}` | null | undefined;
|
290
292
|
from?: `0x${string}` | undefined;
|
291
293
|
gas?: `0x${string}` | undefined;
|
294
|
+
hash?: `0x${string}` | undefined;
|
292
295
|
input?: `0x${string}` | undefined;
|
296
|
+
nonce?: `0x${string}` | undefined;
|
293
297
|
r?: `0x${string}` | undefined;
|
294
298
|
s?: `0x${string}` | undefined;
|
295
299
|
to?: `0x${string}` | null | undefined;
|
296
300
|
transactionIndex?: `0x${string}` | null | undefined;
|
297
301
|
v?: `0x${string}` | undefined;
|
298
302
|
value?: `0x${string}` | undefined;
|
299
|
-
gasPrice?: `0x${string}` | undefined;
|
300
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
301
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
302
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
303
303
|
accessList?: import("../../index.js").AccessList | undefined;
|
304
304
|
chainId?: `0x${string}` | undefined;
|
305
305
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -308,13 +308,13 @@ export declare const chainConfig: {
|
|
308
308
|
sourceHash: `0x${string}`;
|
309
309
|
type: "0x7e";
|
310
310
|
})) => ({
|
311
|
-
hash: `0x${string}`;
|
312
|
-
nonce: number;
|
313
311
|
blockHash: `0x${string}` | null;
|
314
312
|
blockNumber: bigint | null;
|
315
313
|
from: `0x${string}`;
|
316
314
|
gas: bigint;
|
315
|
+
hash: `0x${string}`;
|
317
316
|
input: `0x${string}`;
|
317
|
+
nonce: number;
|
318
318
|
r: `0x${string}`;
|
319
319
|
s: `0x${string}`;
|
320
320
|
to: `0x${string}` | null;
|
@@ -333,13 +333,13 @@ export declare const chainConfig: {
|
|
333
333
|
mint?: undefined;
|
334
334
|
sourceHash?: undefined;
|
335
335
|
} | {
|
336
|
-
hash: `0x${string}`;
|
337
|
-
nonce: number;
|
338
336
|
blockHash: `0x${string}` | null;
|
339
337
|
blockNumber: bigint | null;
|
340
338
|
from: `0x${string}`;
|
341
339
|
gas: bigint;
|
340
|
+
hash: `0x${string}`;
|
342
341
|
input: `0x${string}`;
|
342
|
+
nonce: number;
|
343
343
|
r: `0x${string}`;
|
344
344
|
s: `0x${string}`;
|
345
345
|
to: `0x${string}` | null;
|
@@ -4,6 +4,8 @@ export { baseSepolia } from '../definitions/baseSepolia.js';
|
|
4
4
|
export { optimism } from '../definitions/optimism.js';
|
5
5
|
export { optimismGoerli } from '../definitions/optimismGoerli.js';
|
6
6
|
export { optimismSepolia } from '../definitions/optimismSepolia.js';
|
7
|
+
export { pgn } from '../definitions/pgn.js';
|
8
|
+
export { pgnTestnet } from '../definitions/pgnTestnet.js';
|
7
9
|
export { zora } from '../definitions/zora.js';
|
8
10
|
export { zoraSepolia } from '../definitions/zoraSepolia.js';
|
9
11
|
export { zoraTestnet } from '../definitions/zoraTestnet.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../../chains/opStack/chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA"}
|
1
|
+
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../../chains/opStack/chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA"}
|