viem 2.13.7 → 2.13.9
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +26 -0
- package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/getBlockNumber.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/signTypedData.js.map +1 -1
- package/_cjs/celo/formatters.js +1 -2
- package/_cjs/celo/formatters.js.map +1 -1
- package/_cjs/celo/index.js.map +1 -1
- package/_cjs/celo/utils.js.map +1 -1
- package/_cjs/chains/definitions/ham.js +27 -0
- package/_cjs/chains/definitions/ham.js.map +1 -0
- package/_cjs/chains/definitions/kakarotSepolia.js +1 -1
- package/_cjs/chains/definitions/kakarotSepolia.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/redbellyTestnet.js +27 -0
- package/_cjs/chains/definitions/redbellyTestnet.js.map +1 -0
- package/_cjs/chains/definitions/sei.js +1 -0
- package/_cjs/chains/definitions/sei.js.map +1 -1
- package/_cjs/chains/definitions/xai.js +28 -0
- package/_cjs/chains/definitions/xai.js.map +1 -0
- package/_cjs/chains/definitions/xaiTestnet.js +22 -0
- package/_cjs/chains/definitions/xaiTestnet.js.map +1 -0
- package/_cjs/chains/index.js +12 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/clients/createClient.js +2 -2
- package/_cjs/clients/createClient.js.map +1 -1
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/clients/decorators/wallet.js.map +1 -1
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/http.js.map +1 -1
- package/_cjs/constants/abis.js.map +1 -1
- package/_cjs/constants/blob.js +4 -4
- package/_cjs/constants/blob.js.map +1 -1
- package/_cjs/constants/kzg.js +1 -3
- package/_cjs/constants/kzg.js.map +1 -1
- package/_cjs/errors/abi.js +1 -13
- package/_cjs/errors/abi.js.map +1 -1
- package/_cjs/errors/base.js +1 -1
- package/_cjs/errors/base.js.map +1 -1
- package/_cjs/errors/ccip.js.map +1 -1
- package/_cjs/errors/stateOverride.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/experimental/eip5792/actions/getCapabilities.js +2 -2
- package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/sendCalls.js +2 -2
- package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
- package/_cjs/index.js +6 -4
- package/_cjs/index.js.map +1 -1
- package/_cjs/node/trustedSetups.js +1 -2
- package/_cjs/node/trustedSetups.js.map +1 -1
- package/_cjs/op-stack/abis.js +1 -458
- package/_cjs/op-stack/abis.js.map +1 -1
- package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/estimateDepositTransactionGas.js +4 -3
- package/_cjs/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js +4 -3
- package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js +4 -3
- package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js +4 -3
- package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
- package/_cjs/op-stack/index.js +15 -2
- package/_cjs/op-stack/index.js.map +1 -1
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/address/getAddress.js +5 -5
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/isAddress.js.map +1 -1
- package/_cjs/utils/blob/toBlobs.js.map +1 -1
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/cursor.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js +1 -9
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/ens/errors.js.map +1 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/withTimeout.js.map +1 -1
- package/_cjs/utils/rpc/id.js +1 -2
- package/_cjs/utils/rpc/id.js.map +1 -1
- package/_cjs/utils/rpc/ipc.js.map +1 -1
- package/_cjs/utils/stateOverride.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js +8 -5
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_cjs/zksync/actions/deployContract.js.map +1 -1
- package/_cjs/zksync/actions/estimateGasL1ToL2.js +2 -2
- package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
- package/_cjs/zksync/actions/getAllBalances.js +2 -2
- package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
- package/_cjs/zksync/actions/getL1Allowance.js +2 -2
- package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
- package/_cjs/zksync/actions/getL1Balance.js +2 -2
- package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
- package/_cjs/zksync/actions/getL1TokenBalance.js +2 -2
- package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
- package/_cjs/zksync/actions/sendEip712Transaction.js +7 -7
- package/_cjs/zksync/actions/sendEip712Transaction.js.map +1 -1
- package/_cjs/zksync/actions/sendTransaction.js +4 -4
- package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
- package/_cjs/zksync/constants/contract.js +1 -2
- package/_cjs/zksync/constants/contract.js.map +1 -1
- package/_cjs/zksync/decorators/eip712.js.map +1 -1
- package/_cjs/zksync/index.js.map +1 -1
- package/_cjs/zksync/serializers.js.map +1 -1
- package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
- package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
- package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
- package/_esm/accounts/hdKeyToAccount.js.map +1 -1
- package/_esm/actions/public/call.js +1 -0
- package/_esm/actions/public/call.js.map +1 -1
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/public/getBlockNumber.js +2 -1
- package/_esm/actions/public/getBlockNumber.js.map +1 -1
- package/_esm/actions/test/sendUnsignedTransaction.js +2 -2
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/signTypedData.js.map +1 -1
- package/_esm/celo/formatters.js +1 -2
- package/_esm/celo/formatters.js.map +1 -1
- package/_esm/celo/index.js +1 -1
- package/_esm/celo/index.js.map +1 -1
- package/_esm/celo/utils.js +1 -0
- package/_esm/celo/utils.js.map +1 -1
- package/_esm/chains/definitions/ham.js +24 -0
- package/_esm/chains/definitions/ham.js.map +1 -0
- package/_esm/chains/definitions/kakarotSepolia.js +1 -1
- package/_esm/chains/definitions/kakarotSepolia.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/redbellyTestnet.js +24 -0
- package/_esm/chains/definitions/redbellyTestnet.js.map +1 -0
- package/_esm/chains/definitions/sei.js +1 -0
- package/_esm/chains/definitions/sei.js.map +1 -1
- package/_esm/chains/definitions/xai.js +25 -0
- package/_esm/chains/definitions/xai.js.map +1 -0
- package/_esm/chains/definitions/xaiTestnet.js +19 -0
- package/_esm/chains/definitions/xaiTestnet.js.map +1 -0
- package/_esm/chains/index.js +4 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/clients/createClient.js +1 -1
- package/_esm/clients/createClient.js.map +1 -1
- package/_esm/clients/decorators/public.js.map +1 -1
- package/_esm/clients/decorators/wallet.js.map +1 -1
- package/_esm/clients/transports/fallback.js +1 -0
- package/_esm/clients/transports/fallback.js.map +1 -1
- package/_esm/clients/transports/http.js.map +1 -1
- package/_esm/constants/abis.js +1 -0
- package/_esm/constants/abis.js.map +1 -1
- package/_esm/constants/blob.js +1 -1
- package/_esm/constants/blob.js.map +1 -1
- package/_esm/constants/kzg.js +0 -4
- package/_esm/constants/kzg.js.map +1 -1
- package/_esm/errors/abi.js +0 -11
- package/_esm/errors/abi.js.map +1 -1
- package/_esm/errors/base.js +1 -1
- package/_esm/errors/base.js.map +1 -1
- package/_esm/errors/ccip.js.map +1 -1
- package/_esm/errors/stateOverride.js +1 -0
- package/_esm/errors/stateOverride.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/experimental/eip5792/actions/getCapabilities.js +1 -1
- package/_esm/experimental/eip5792/actions/getCapabilities.js.map +1 -1
- package/_esm/experimental/eip5792/actions/sendCalls.js +1 -1
- package/_esm/experimental/eip5792/actions/sendCalls.js.map +1 -1
- package/_esm/index.js +4 -3
- package/_esm/index.js.map +1 -1
- package/_esm/node/trustedSetups.js +0 -1
- package/_esm/node/trustedSetups.js.map +1 -1
- package/_esm/node/trustedSetups_cjs.js +0 -1
- package/_esm/node/trustedSetups_cjs.js.map +1 -1
- package/_esm/op-stack/abis.js +0 -457
- package/_esm/op-stack/abis.js.map +1 -1
- package/_esm/op-stack/actions/buildProveWithdrawal.js +1 -0
- package/_esm/op-stack/actions/buildProveWithdrawal.js.map +1 -1
- package/_esm/op-stack/actions/estimateDepositTransactionGas.js +7 -3
- package/_esm/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
- package/_esm/op-stack/actions/estimateFinalizeWithdrawalGas.js +7 -3
- package/_esm/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
- package/_esm/op-stack/actions/estimateInitiateWithdrawalGas.js +7 -3
- package/_esm/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
- package/_esm/op-stack/actions/estimateProveWithdrawalGas.js +7 -3
- package/_esm/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
- package/_esm/op-stack/actions/getWithdrawalStatus.js +1 -1
- package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
- package/_esm/op-stack/index.js +0 -1
- package/_esm/op-stack/index.js.map +1 -1
- package/_esm/utils/abi/decodeAbiParameters.js +1 -1
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/encodeDeployData.js.map +1 -1
- package/_esm/utils/abi/getAbiItem.js +3 -1
- package/_esm/utils/abi/getAbiItem.js.map +1 -1
- package/_esm/utils/address/getAddress.js +1 -1
- package/_esm/utils/address/getAddress.js.map +1 -1
- package/_esm/utils/address/isAddress.js +1 -0
- package/_esm/utils/address/isAddress.js.map +1 -1
- package/_esm/utils/blob/toBlobs.js.map +1 -1
- package/_esm/utils/buildRequest.js +1 -0
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_esm/utils/ccip.js +1 -1
- package/_esm/utils/ccip.js.map +1 -1
- package/_esm/utils/cursor.js.map +1 -1
- package/_esm/utils/encoding/fromRlp.js +0 -6
- package/_esm/utils/encoding/fromRlp.js.map +1 -1
- package/_esm/utils/ens/avatar/utils.js +2 -0
- package/_esm/utils/ens/avatar/utils.js.map +1 -1
- package/_esm/utils/ens/errors.js.map +1 -1
- package/_esm/utils/observe.js +2 -0
- package/_esm/utils/observe.js.map +1 -1
- package/_esm/utils/promise/createBatchScheduler.js +1 -0
- package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
- package/_esm/utils/promise/withCache.js +2 -0
- package/_esm/utils/promise/withCache.js.map +1 -1
- package/_esm/utils/promise/withTimeout.js +1 -1
- package/_esm/utils/promise/withTimeout.js.map +1 -1
- package/_esm/utils/rpc/id.js +1 -1
- package/_esm/utils/rpc/id.js.map +1 -1
- package/_esm/utils/rpc/ipc.js +1 -0
- package/_esm/utils/rpc/ipc.js.map +1 -1
- package/_esm/utils/stateOverride.js +3 -0
- package/_esm/utils/stateOverride.js.map +1 -1
- package/_esm/utils/transaction/parseTransaction.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +8 -5
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/utils/unit/parseUnits.js +1 -1
- package/_esm/utils/unit/parseUnits.js.map +1 -1
- package/_esm/zksync/actions/deployContract.js +1 -1
- package/_esm/zksync/actions/deployContract.js.map +1 -1
- package/_esm/zksync/actions/estimateGasL1ToL2.js +1 -1
- package/_esm/zksync/actions/estimateGasL1ToL2.js.map +1 -1
- package/_esm/zksync/actions/getAllBalances.js +1 -1
- package/_esm/zksync/actions/getAllBalances.js.map +1 -1
- package/_esm/zksync/actions/getL1Allowance.js +1 -1
- package/_esm/zksync/actions/getL1Allowance.js.map +1 -1
- package/_esm/zksync/actions/getL1Balance.js +1 -1
- package/_esm/zksync/actions/getL1Balance.js.map +1 -1
- package/_esm/zksync/actions/getL1TokenBalance.js +2 -2
- package/_esm/zksync/actions/getL1TokenBalance.js.map +1 -1
- package/_esm/zksync/actions/sendEip712Transaction.js +7 -7
- package/_esm/zksync/actions/sendEip712Transaction.js.map +1 -1
- package/_esm/zksync/actions/sendTransaction.js +6 -6
- package/_esm/zksync/actions/sendTransaction.js.map +1 -1
- package/_esm/zksync/constants/contract.js +0 -1
- package/_esm/zksync/constants/contract.js.map +1 -1
- package/_esm/zksync/decorators/eip712.js.map +1 -1
- package/_esm/zksync/index.js.map +1 -1
- package/_esm/zksync/serializers.js.map +1 -1
- package/_esm/zksync/utils/abi/encodeDeployData.js +1 -1
- package/_esm/zksync/utils/abi/encodeDeployData.js.map +1 -1
- package/_esm/zksync/utils/assertEip712Request.js +1 -1
- package/_esm/zksync/utils/assertEip712Request.js.map +1 -1
- package/_esm/zksync/utils/hashBytecode.js.map +1 -1
- package/_types/accounts/hdKeyToAccount.d.ts +1 -1
- package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/types.d.ts +1 -1
- package/_types/accounts/types.d.ts.map +1 -1
- package/_types/actions/public/call.d.ts +5 -2
- package/_types/actions/public/call.d.ts.map +1 -1
- package/_types/actions/public/estimateGas.d.ts +2 -1
- package/_types/actions/public/estimateGas.d.ts.map +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +4 -0
- package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
- package/_types/actions/test/sendUnsignedTransaction.d.ts +2 -2
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -7
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/signTypedData.d.ts +2 -2
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
- package/_types/celo/chainConfig.d.ts +60 -60
- package/_types/celo/formatters.d.ts +30 -30
- package/_types/celo/formatters.d.ts.map +1 -1
- package/_types/celo/index.d.ts +2 -2
- package/_types/celo/index.d.ts.map +1 -1
- package/_types/celo/utils.d.ts +1 -0
- package/_types/celo/utils.d.ts.map +1 -1
- package/_types/chains/definitions/ancient8.d.ts +26 -26
- package/_types/chains/definitions/ancient8Sepolia.d.ts +26 -26
- package/_types/chains/definitions/base.d.ts +26 -26
- package/_types/chains/definitions/baseGoerli.d.ts +26 -26
- package/_types/chains/definitions/baseSepolia.d.ts +26 -26
- package/_types/chains/definitions/celo.d.ts +60 -60
- package/_types/chains/definitions/celoAlfajores.d.ts +60 -60
- package/_types/chains/definitions/fraxtal.d.ts +26 -26
- package/_types/chains/definitions/fraxtalTestnet.d.ts +26 -26
- package/_types/chains/definitions/funkiSepolia.d.ts +26 -26
- package/_types/chains/definitions/ham.d.ts +37 -0
- package/_types/chains/definitions/ham.d.ts.map +1 -0
- package/_types/chains/definitions/kakarotSepolia.d.ts +1 -1
- package/_types/chains/definitions/liskSepolia.d.ts +26 -26
- package/_types/chains/definitions/metalL2.d.ts +26 -26
- package/_types/chains/definitions/optimism.d.ts +31 -26
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +26 -26
- package/_types/chains/definitions/optimismSepolia.d.ts +26 -26
- package/_types/chains/definitions/pgn.d.ts +26 -26
- package/_types/chains/definitions/pgnTestnet.d.ts +26 -26
- package/_types/chains/definitions/redbellyTestnet.d.ts +36 -0
- package/_types/chains/definitions/redbellyTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/rss3.d.ts +26 -26
- package/_types/chains/definitions/rss3Sepolia.d.ts +26 -26
- package/_types/chains/definitions/sei.d.ts +1 -0
- package/_types/chains/definitions/sei.d.ts.map +1 -1
- package/_types/chains/definitions/xai.d.ts +33 -0
- package/_types/chains/definitions/xai.d.ts.map +1 -0
- package/_types/chains/definitions/xaiTestnet.d.ts +35 -0
- package/_types/chains/definitions/xaiTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zora.d.ts +26 -26
- package/_types/chains/definitions/zoraSepolia.d.ts +26 -26
- package/_types/chains/definitions/zoraTestnet.d.ts +26 -26
- package/_types/chains/index.d.ts +4 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/clients/createClient.d.ts +1 -1
- package/_types/clients/createClient.d.ts.map +1 -1
- package/_types/clients/transports/fallback.d.ts +1 -0
- package/_types/clients/transports/fallback.d.ts.map +1 -1
- package/_types/clients/transports/http.d.ts +6 -7
- package/_types/clients/transports/http.d.ts.map +1 -1
- package/_types/constants/abis.d.ts +1 -0
- package/_types/constants/abis.d.ts.map +1 -1
- package/_types/constants/blob.d.ts +0 -2
- package/_types/constants/blob.d.ts.map +1 -1
- package/_types/constants/kzg.d.ts +0 -4
- package/_types/constants/kzg.d.ts.map +1 -1
- package/_types/errors/abi.d.ts +0 -10
- package/_types/errors/abi.d.ts.map +1 -1
- package/_types/errors/base.d.ts +1 -0
- package/_types/errors/base.d.ts.map +1 -1
- package/_types/errors/ccip.d.ts +1 -0
- package/_types/errors/ccip.d.ts.map +1 -1
- package/_types/errors/stateOverride.d.ts +1 -0
- package/_types/errors/stateOverride.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +1 -1
- package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +1 -1
- package/_types/experimental/erc7715/types/permission.d.ts +5 -0
- package/_types/experimental/erc7715/types/permission.d.ts.map +1 -1
- package/_types/experimental/erc7715/types/signer.d.ts +3 -0
- package/_types/experimental/erc7715/types/signer.d.ts.map +1 -1
- package/_types/index.d.ts +9 -9
- package/_types/index.d.ts.map +1 -1
- package/_types/node/trustedSetups.d.ts +0 -1
- package/_types/node/trustedSetups.d.ts.map +1 -1
- package/_types/node/trustedSetups_cjs.d.ts +0 -1
- package/_types/node/trustedSetups_cjs.d.ts.map +1 -1
- package/_types/op-stack/abis.d.ts +0 -626
- package/_types/op-stack/abis.d.ts.map +1 -1
- package/_types/op-stack/actions/buildProveWithdrawal.d.ts +1 -0
- package/_types/op-stack/actions/buildProveWithdrawal.d.ts.map +1 -1
- package/_types/op-stack/actions/estimateDepositTransactionGas.d.ts +2 -2
- package/_types/op-stack/actions/estimateDepositTransactionGas.d.ts.map +1 -1
- package/_types/op-stack/actions/estimateFinalizeWithdrawalGas.d.ts +1 -1
- package/_types/op-stack/actions/estimateFinalizeWithdrawalGas.d.ts.map +1 -1
- package/_types/op-stack/actions/estimateInitiateWithdrawalGas.d.ts +1 -1
- package/_types/op-stack/actions/estimateInitiateWithdrawalGas.d.ts.map +1 -1
- package/_types/op-stack/actions/estimateProveWithdrawalGas.d.ts +1 -1
- package/_types/op-stack/actions/estimateProveWithdrawalGas.d.ts.map +1 -1
- package/_types/op-stack/actions/getWithdrawalStatus.d.ts +2 -1
- package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
- package/_types/op-stack/chainConfig.d.ts +26 -26
- package/_types/op-stack/formatters.d.ts +26 -26
- package/_types/op-stack/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/chain.d.ts +7 -7
- package/_types/types/chain.d.ts.map +1 -1
- package/_types/types/kzg.d.ts +1 -1
- package/_types/types/kzg.d.ts.map +1 -1
- package/_types/types/proof.d.ts +3 -2
- package/_types/types/proof.d.ts.map +1 -1
- package/_types/types/utils.d.ts +11 -3
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts +2 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/encodeAbiParameters.d.ts +12 -11
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/encodeDeployData.d.ts +4 -2
- package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
- package/_types/utils/abi/getAbiItem.d.ts +6 -2
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
- package/_types/utils/address/getAddress.d.ts +0 -2
- package/_types/utils/address/getAddress.d.ts.map +1 -1
- package/_types/utils/address/isAddress.d.ts +1 -0
- package/_types/utils/address/isAddress.d.ts.map +1 -1
- package/_types/utils/blob/toBlobs.d.ts +2 -1
- package/_types/utils/blob/toBlobs.d.ts.map +1 -1
- package/_types/utils/buildRequest.d.ts +1 -0
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/_types/utils/ccip.d.ts +4 -2
- package/_types/utils/ccip.d.ts.map +1 -1
- package/_types/utils/cursor.d.ts +7 -6
- package/_types/utils/cursor.d.ts.map +1 -1
- package/_types/utils/encoding/fromRlp.d.ts +3 -7
- package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +2 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
- package/_types/utils/ens/avatar/utils.d.ts +4 -2
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
- package/_types/utils/ens/errors.d.ts +1 -0
- package/_types/utils/ens/errors.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/normalizeSignature.d.ts +3 -2
- package/_types/utils/hash/normalizeSignature.d.ts.map +1 -1
- package/_types/utils/observe.d.ts +2 -0
- package/_types/utils/observe.d.ts.map +1 -1
- package/_types/utils/promise/createBatchScheduler.d.ts +3 -2
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
- package/_types/utils/promise/withCache.d.ts +4 -1
- package/_types/utils/promise/withCache.d.ts.map +1 -1
- package/_types/utils/rpc/id.d.ts +0 -5
- package/_types/utils/rpc/id.d.ts.map +1 -1
- package/_types/utils/rpc/ipc.d.ts +1 -0
- package/_types/utils/rpc/ipc.d.ts.map +1 -1
- package/_types/utils/stateOverride.d.ts +9 -5
- package/_types/utils/stateOverride.d.ts.map +1 -1
- package/_types/utils/transaction/parseTransaction.d.ts +5 -5
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/_types/zksync/actions/deployContract.d.ts +2 -1
- package/_types/zksync/actions/deployContract.d.ts.map +1 -1
- package/_types/zksync/actions/estimateGasL1ToL2.d.ts.map +1 -1
- package/_types/zksync/actions/getAllBalances.d.ts.map +1 -1
- package/_types/zksync/actions/getL1Allowance.d.ts.map +1 -1
- package/_types/zksync/actions/getL1Balance.d.ts.map +1 -1
- package/_types/zksync/actions/getL1TokenBalance.d.ts +4 -4
- package/_types/zksync/actions/getL1TokenBalance.d.ts.map +1 -1
- package/_types/zksync/actions/sendEip712Transaction.d.ts +3 -3
- package/_types/zksync/actions/sendEip712Transaction.d.ts.map +1 -1
- package/_types/zksync/actions/sendTransaction.d.ts +5 -5
- package/_types/zksync/actions/sendTransaction.d.ts.map +1 -1
- package/_types/zksync/constants/contract.d.ts +0 -1
- package/_types/zksync/constants/contract.d.ts.map +1 -1
- package/_types/zksync/decorators/eip712.d.ts +2 -1
- package/_types/zksync/decorators/eip712.d.ts.map +1 -1
- package/_types/zksync/index.d.ts +1 -0
- package/_types/zksync/index.d.ts.map +1 -1
- package/_types/zksync/serializers.d.ts +1 -2
- package/_types/zksync/serializers.d.ts.map +1 -1
- package/_types/zksync/types/chain.d.ts +2 -2
- package/_types/zksync/types/chain.d.ts.map +1 -1
- package/_types/zksync/types/eip1193.d.ts +5 -5
- package/_types/zksync/types/eip1193.d.ts.map +1 -1
- package/_types/zksync/utils/abi/encodeDeployData.d.ts +5 -0
- package/_types/zksync/utils/abi/encodeDeployData.d.ts.map +1 -1
- package/_types/zksync/utils/assertEip712Request.d.ts +3 -1
- package/_types/zksync/utils/assertEip712Request.d.ts.map +1 -1
- package/_types/zksync/utils/hashBytecode.d.ts +5 -0
- package/_types/zksync/utils/hashBytecode.d.ts.map +1 -1
- package/accounts/hdKeyToAccount.ts +1 -2
- package/accounts/types.ts +1 -1
- package/actions/public/call.ts +5 -5
- package/actions/public/estimateGas.ts +3 -4
- package/actions/public/getBlockNumber.ts +9 -1
- package/actions/test/sendUnsignedTransaction.ts +2 -2
- package/actions/wallet/prepareTransactionRequest.ts +0 -20
- package/actions/wallet/signTypedData.ts +2 -0
- package/celo/formatters.ts +1 -3
- package/celo/index.ts +5 -2
- package/celo/utils.ts +1 -0
- package/chains/definitions/ham.ts +24 -0
- package/chains/definitions/kakarotSepolia.ts +1 -1
- package/chains/definitions/optimism.ts +5 -0
- package/chains/definitions/redbellyTestnet.ts +24 -0
- package/chains/definitions/sei.ts +1 -0
- package/chains/definitions/xai.ts +25 -0
- package/chains/definitions/xaiTestnet.ts +19 -0
- package/chains/index.ts +4 -0
- package/clients/createClient.ts +4 -2
- package/clients/decorators/public.ts +1 -1
- package/clients/decorators/wallet.ts +1 -1
- package/clients/transports/fallback.ts +1 -0
- package/clients/transports/http.ts +9 -8
- package/constants/abis.ts +1 -0
- package/constants/blob.ts +1 -1
- package/constants/kzg.ts +0 -6
- package/errors/abi.ts +0 -13
- package/errors/base.ts +2 -1
- package/errors/ccip.ts +1 -0
- package/errors/stateOverride.ts +1 -0
- package/errors/version.ts +1 -1
- package/experimental/eip5792/actions/getCapabilities.ts +1 -1
- package/experimental/eip5792/actions/sendCalls.ts +1 -1
- package/experimental/erc7715/types/permission.ts +5 -0
- package/experimental/erc7715/types/signer.ts +3 -0
- package/index.ts +21 -5
- package/node/trustedSetups.ts +0 -5
- package/node/trustedSetups_cjs.ts +0 -5
- package/op-stack/abis.ts +0 -458
- package/op-stack/actions/buildProveWithdrawal.ts +1 -0
- package/op-stack/actions/estimateDepositTransactionGas.ts +18 -7
- package/op-stack/actions/estimateFinalizeWithdrawalGas.ts +11 -4
- package/op-stack/actions/estimateInitiateWithdrawalGas.ts +11 -4
- package/op-stack/actions/estimateProveWithdrawalGas.ts +11 -4
- package/op-stack/actions/getWithdrawalStatus.ts +6 -1
- package/op-stack/index.ts +0 -1
- package/package.json +1 -1
- package/types/account.ts +1 -11
- package/types/chain.ts +7 -7
- package/types/kzg.ts +2 -1
- package/types/proof.ts +2 -2
- package/types/utils.ts +11 -3
- package/utils/abi/decodeAbiParameters.ts +6 -1
- package/utils/abi/encodeAbiParameters.ts +22 -19
- package/utils/abi/encodeDeployData.ts +6 -5
- package/utils/abi/getAbiItem.ts +8 -2
- package/utils/address/getAddress.ts +1 -1
- package/utils/address/isAddress.ts +1 -0
- package/utils/blob/toBlobs.ts +2 -1
- package/utils/buildRequest.ts +1 -0
- package/utils/ccip.ts +11 -3
- package/utils/cursor.ts +16 -6
- package/utils/encoding/fromRlp.ts +3 -21
- package/utils/ens/avatar/parseAvatarRecord.ts +1 -1
- package/utils/ens/avatar/utils.ts +4 -2
- package/utils/ens/errors.ts +1 -0
- package/utils/hash/normalizeSignature.ts +2 -2
- package/utils/observe.ts +2 -0
- package/utils/promise/createBatchScheduler.ts +3 -2
- package/utils/promise/withCache.ts +3 -1
- package/utils/promise/withTimeout.ts +2 -2
- package/utils/rpc/id.ts +1 -1
- package/utils/rpc/ipc.ts +1 -0
- package/utils/stateOverride.ts +8 -5
- package/utils/transaction/parseTransaction.ts +7 -2
- package/utils/transaction/serializeTransaction.ts +11 -5
- package/utils/unit/parseUnits.ts +1 -1
- package/zksync/actions/deployContract.ts +8 -2
- package/zksync/actions/estimateGasL1ToL2.ts +1 -1
- package/zksync/actions/getAllBalances.ts +1 -1
- package/zksync/actions/getL1Allowance.ts +1 -1
- package/zksync/actions/getL1Balance.ts +1 -1
- package/zksync/actions/getL1TokenBalance.ts +10 -7
- package/zksync/actions/sendEip712Transaction.ts +27 -16
- package/zksync/actions/sendTransaction.ts +34 -18
- package/zksync/constants/contract.ts +0 -1
- package/zksync/decorators/eip712.ts +7 -2
- package/zksync/index.ts +5 -0
- package/zksync/serializers.ts +1 -2
- package/zksync/types/chain.ts +9 -9
- package/zksync/types/eip1193.ts +32 -26
- package/zksync/utils/abi/encodeDeployData.ts +12 -2
- package/zksync/utils/assertEip712Request.ts +9 -2
- package/zksync/utils/hashBytecode.ts +14 -2
- package/_cjs/utils/accounts.js +0 -8
- package/_cjs/utils/accounts.js.map +0 -1
- package/_esm/utils/accounts.js +0 -7
- package/_esm/utils/accounts.js.map +0 -1
- package/_types/utils/accounts.d.ts +0 -3
- package/_types/utils/accounts.d.ts.map +0 -1
- package/utils/accounts.ts +0 -7
@@ -48,6 +48,7 @@ export declare const formatters: {
|
|
48
48
|
readonly transaction: {
|
49
49
|
exclude: [] | undefined;
|
50
50
|
format: (args: ({
|
51
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
51
52
|
r?: `0x${string}`;
|
52
53
|
s?: `0x${string}`;
|
53
54
|
v?: `0x${string}`;
|
@@ -56,7 +57,6 @@ export declare const formatters: {
|
|
56
57
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
57
58
|
maxFeePerGas?: `0x${string}` | undefined;
|
58
59
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
59
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
60
60
|
to?: `0x${string}` | null;
|
61
61
|
from?: `0x${string}`;
|
62
62
|
gas?: `0x${string}`;
|
@@ -71,6 +71,7 @@ export declare const formatters: {
|
|
71
71
|
transactionIndex?: `0x${string}` | null;
|
72
72
|
chainId?: `0x${string}` | undefined;
|
73
73
|
} & {
|
74
|
+
type: "0x0";
|
74
75
|
r: `0x${string}`;
|
75
76
|
s: `0x${string}`;
|
76
77
|
v: `0x${string}`;
|
@@ -79,7 +80,6 @@ export declare const formatters: {
|
|
79
80
|
maxFeePerBlobGas?: undefined;
|
80
81
|
maxFeePerGas?: undefined;
|
81
82
|
maxPriorityFeePerGas?: undefined;
|
82
|
-
type: "0x0";
|
83
83
|
to: `0x${string}` | null;
|
84
84
|
from: `0x${string}`;
|
85
85
|
gas: `0x${string}`;
|
@@ -98,6 +98,7 @@ export declare const formatters: {
|
|
98
98
|
gatewayFee: `0x${string}` | null;
|
99
99
|
gatewayFeeRecipient: `0x${string}` | null;
|
100
100
|
}) | ({
|
101
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
101
102
|
r?: `0x${string}`;
|
102
103
|
s?: `0x${string}`;
|
103
104
|
v?: `0x${string}`;
|
@@ -106,7 +107,6 @@ export declare const formatters: {
|
|
106
107
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
107
108
|
maxFeePerGas?: `0x${string}` | undefined;
|
108
109
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
109
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
110
110
|
to?: `0x${string}` | null;
|
111
111
|
from?: `0x${string}`;
|
112
112
|
gas?: `0x${string}`;
|
@@ -126,6 +126,7 @@ export declare const formatters: {
|
|
126
126
|
gatewayFeeRecipient: `0x${string}` | null;
|
127
127
|
type: "0x7c";
|
128
128
|
} & import("../index.js").FeeValuesEIP1559<`0x${string}`>) | ({
|
129
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
129
130
|
r?: `0x${string}`;
|
130
131
|
s?: `0x${string}`;
|
131
132
|
v?: `0x${string}`;
|
@@ -134,7 +135,6 @@ export declare const formatters: {
|
|
134
135
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
135
136
|
maxFeePerGas?: `0x${string}` | undefined;
|
136
137
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
137
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
138
138
|
to?: `0x${string}` | null;
|
139
139
|
from?: `0x${string}`;
|
140
140
|
gas?: `0x${string}`;
|
@@ -154,6 +154,7 @@ export declare const formatters: {
|
|
154
154
|
gatewayFeeRecipient?: undefined;
|
155
155
|
type: "0x7b";
|
156
156
|
} & import("../index.js").FeeValuesEIP1559<`0x${string}`>) | ({
|
157
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
157
158
|
r?: `0x${string}`;
|
158
159
|
s?: `0x${string}`;
|
159
160
|
v?: `0x${string}`;
|
@@ -161,7 +162,6 @@ export declare const formatters: {
|
|
161
162
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
162
163
|
maxFeePerGas?: `0x${string}` | undefined;
|
163
164
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
164
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
165
165
|
to?: `0x${string}` | null;
|
166
166
|
from?: `0x${string}`;
|
167
167
|
gas?: `0x${string}`;
|
@@ -177,6 +177,7 @@ export declare const formatters: {
|
|
177
177
|
chainId?: `0x${string}` | undefined;
|
178
178
|
yParity?: `0x${string}` | undefined;
|
179
179
|
} & {
|
180
|
+
type: "0x0";
|
180
181
|
r: `0x${string}`;
|
181
182
|
s: `0x${string}`;
|
182
183
|
v: `0x${string}`;
|
@@ -185,7 +186,6 @@ export declare const formatters: {
|
|
185
186
|
maxFeePerBlobGas?: undefined;
|
186
187
|
maxFeePerGas?: undefined;
|
187
188
|
maxPriorityFeePerGas?: undefined;
|
188
|
-
type: "0x0";
|
189
189
|
to: `0x${string}` | null;
|
190
190
|
from: `0x${string}`;
|
191
191
|
gas: `0x${string}`;
|
@@ -204,6 +204,7 @@ export declare const formatters: {
|
|
204
204
|
gatewayFee: `0x${string}` | null;
|
205
205
|
gatewayFeeRecipient: `0x${string}` | null;
|
206
206
|
}) | ({
|
207
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
207
208
|
r?: `0x${string}`;
|
208
209
|
s?: `0x${string}`;
|
209
210
|
v?: `0x${string}`;
|
@@ -211,7 +212,6 @@ export declare const formatters: {
|
|
211
212
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
212
213
|
maxFeePerGas?: `0x${string}` | undefined;
|
213
214
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
214
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
215
215
|
to?: `0x${string}` | null;
|
216
216
|
from?: `0x${string}`;
|
217
217
|
gas?: `0x${string}`;
|
@@ -227,6 +227,7 @@ export declare const formatters: {
|
|
227
227
|
chainId?: `0x${string}` | undefined;
|
228
228
|
yParity?: `0x${string}` | undefined;
|
229
229
|
} & {
|
230
|
+
type: "0x1";
|
230
231
|
r: `0x${string}`;
|
231
232
|
s: `0x${string}`;
|
232
233
|
v: `0x${string}`;
|
@@ -234,7 +235,6 @@ export declare const formatters: {
|
|
234
235
|
maxFeePerBlobGas?: undefined;
|
235
236
|
maxFeePerGas?: undefined;
|
236
237
|
maxPriorityFeePerGas?: undefined;
|
237
|
-
type: "0x1";
|
238
238
|
to: `0x${string}` | null;
|
239
239
|
from: `0x${string}`;
|
240
240
|
gas: `0x${string}`;
|
@@ -254,6 +254,7 @@ export declare const formatters: {
|
|
254
254
|
gatewayFee: `0x${string}` | null;
|
255
255
|
gatewayFeeRecipient: `0x${string}` | null;
|
256
256
|
}) | ({
|
257
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
257
258
|
r?: `0x${string}`;
|
258
259
|
s?: `0x${string}`;
|
259
260
|
v?: `0x${string}`;
|
@@ -261,7 +262,6 @@ export declare const formatters: {
|
|
261
262
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
262
263
|
maxFeePerGas?: `0x${string}` | undefined;
|
263
264
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
264
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
265
265
|
to?: `0x${string}` | null;
|
266
266
|
from?: `0x${string}`;
|
267
267
|
gas?: `0x${string}`;
|
@@ -277,6 +277,7 @@ export declare const formatters: {
|
|
277
277
|
chainId?: `0x${string}` | undefined;
|
278
278
|
yParity?: `0x${string}` | undefined;
|
279
279
|
} & {
|
280
|
+
type: "0x2";
|
280
281
|
r: `0x${string}`;
|
281
282
|
s: `0x${string}`;
|
282
283
|
v: `0x${string}`;
|
@@ -284,7 +285,6 @@ export declare const formatters: {
|
|
284
285
|
maxFeePerBlobGas?: undefined;
|
285
286
|
maxFeePerGas: `0x${string}`;
|
286
287
|
maxPriorityFeePerGas: `0x${string}`;
|
287
|
-
type: "0x2";
|
288
288
|
to: `0x${string}` | null;
|
289
289
|
from: `0x${string}`;
|
290
290
|
gas: `0x${string}`;
|
@@ -304,6 +304,7 @@ export declare const formatters: {
|
|
304
304
|
gatewayFee: `0x${string}` | null;
|
305
305
|
gatewayFeeRecipient: `0x${string}` | null;
|
306
306
|
}) | ({
|
307
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
307
308
|
r?: `0x${string}`;
|
308
309
|
s?: `0x${string}`;
|
309
310
|
v?: `0x${string}`;
|
@@ -311,7 +312,6 @@ export declare const formatters: {
|
|
311
312
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
312
313
|
maxFeePerGas?: `0x${string}` | undefined;
|
313
314
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
314
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
315
315
|
to?: `0x${string}` | null;
|
316
316
|
from?: `0x${string}`;
|
317
317
|
gas?: `0x${string}`;
|
@@ -332,6 +332,7 @@ export declare const formatters: {
|
|
332
332
|
gatewayFeeRecipient: `0x${string}` | null;
|
333
333
|
type: "0x7c";
|
334
334
|
} & import("../index.js").FeeValuesEIP1559<`0x${string}`>) | ({
|
335
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
335
336
|
r?: `0x${string}`;
|
336
337
|
s?: `0x${string}`;
|
337
338
|
v?: `0x${string}`;
|
@@ -339,7 +340,6 @@ export declare const formatters: {
|
|
339
340
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
340
341
|
maxFeePerGas?: `0x${string}` | undefined;
|
341
342
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
342
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
343
343
|
to?: `0x${string}` | null;
|
344
344
|
from?: `0x${string}`;
|
345
345
|
gas?: `0x${string}`;
|
@@ -360,6 +360,7 @@ export declare const formatters: {
|
|
360
360
|
gatewayFeeRecipient?: undefined;
|
361
361
|
type: "0x7b";
|
362
362
|
} & import("../index.js").FeeValuesEIP1559<`0x${string}`>) | ({
|
363
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
363
364
|
r?: `0x${string}`;
|
364
365
|
s?: `0x${string}`;
|
365
366
|
v?: `0x${string}`;
|
@@ -367,7 +368,6 @@ export declare const formatters: {
|
|
367
368
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
368
369
|
maxFeePerGas?: `0x${string}` | undefined;
|
369
370
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
370
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
371
371
|
to?: `0x${string}` | null;
|
372
372
|
from?: `0x${string}`;
|
373
373
|
gas?: `0x${string}`;
|
@@ -383,6 +383,7 @@ export declare const formatters: {
|
|
383
383
|
chainId?: `0x${string}` | undefined;
|
384
384
|
yParity?: `0x${string}` | undefined;
|
385
385
|
} & {
|
386
|
+
type: "0x0";
|
386
387
|
r: `0x${string}`;
|
387
388
|
s: `0x${string}`;
|
388
389
|
v: `0x${string}`;
|
@@ -391,7 +392,6 @@ export declare const formatters: {
|
|
391
392
|
maxFeePerBlobGas?: undefined;
|
392
393
|
maxFeePerGas?: undefined;
|
393
394
|
maxPriorityFeePerGas?: undefined;
|
394
|
-
type: "0x0";
|
395
395
|
to: `0x${string}` | null;
|
396
396
|
from: `0x${string}`;
|
397
397
|
gas: `0x${string}`;
|
@@ -410,6 +410,7 @@ export declare const formatters: {
|
|
410
410
|
gatewayFee: `0x${string}` | null;
|
411
411
|
gatewayFeeRecipient: `0x${string}` | null;
|
412
412
|
}) | ({
|
413
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
413
414
|
r?: `0x${string}`;
|
414
415
|
s?: `0x${string}`;
|
415
416
|
v?: `0x${string}`;
|
@@ -417,7 +418,6 @@ export declare const formatters: {
|
|
417
418
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
418
419
|
maxFeePerGas?: `0x${string}` | undefined;
|
419
420
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
420
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
421
421
|
to?: `0x${string}` | null;
|
422
422
|
from?: `0x${string}`;
|
423
423
|
gas?: `0x${string}`;
|
@@ -433,6 +433,7 @@ export declare const formatters: {
|
|
433
433
|
chainId?: `0x${string}` | undefined;
|
434
434
|
yParity?: `0x${string}` | undefined;
|
435
435
|
} & {
|
436
|
+
type: "0x1";
|
436
437
|
r: `0x${string}`;
|
437
438
|
s: `0x${string}`;
|
438
439
|
v: `0x${string}`;
|
@@ -440,7 +441,6 @@ export declare const formatters: {
|
|
440
441
|
maxFeePerBlobGas?: undefined;
|
441
442
|
maxFeePerGas?: undefined;
|
442
443
|
maxPriorityFeePerGas?: undefined;
|
443
|
-
type: "0x1";
|
444
444
|
to: `0x${string}` | null;
|
445
445
|
from: `0x${string}`;
|
446
446
|
gas: `0x${string}`;
|
@@ -460,6 +460,7 @@ export declare const formatters: {
|
|
460
460
|
gatewayFee: `0x${string}` | null;
|
461
461
|
gatewayFeeRecipient: `0x${string}` | null;
|
462
462
|
}) | ({
|
463
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
463
464
|
r?: `0x${string}`;
|
464
465
|
s?: `0x${string}`;
|
465
466
|
v?: `0x${string}`;
|
@@ -467,7 +468,6 @@ export declare const formatters: {
|
|
467
468
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
468
469
|
maxFeePerGas?: `0x${string}` | undefined;
|
469
470
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
470
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
471
471
|
to?: `0x${string}` | null;
|
472
472
|
from?: `0x${string}`;
|
473
473
|
gas?: `0x${string}`;
|
@@ -483,6 +483,7 @@ export declare const formatters: {
|
|
483
483
|
chainId?: `0x${string}` | undefined;
|
484
484
|
yParity?: `0x${string}` | undefined;
|
485
485
|
} & {
|
486
|
+
type: "0x2";
|
486
487
|
r: `0x${string}`;
|
487
488
|
s: `0x${string}`;
|
488
489
|
v: `0x${string}`;
|
@@ -490,7 +491,6 @@ export declare const formatters: {
|
|
490
491
|
maxFeePerBlobGas?: undefined;
|
491
492
|
maxFeePerGas: `0x${string}`;
|
492
493
|
maxPriorityFeePerGas: `0x${string}`;
|
493
|
-
type: "0x2";
|
494
494
|
to: `0x${string}` | null;
|
495
495
|
from: `0x${string}`;
|
496
496
|
gas: `0x${string}`;
|
@@ -510,6 +510,7 @@ export declare const formatters: {
|
|
510
510
|
gatewayFee: `0x${string}` | null;
|
511
511
|
gatewayFeeRecipient: `0x${string}` | null;
|
512
512
|
}) | ({
|
513
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
513
514
|
r?: `0x${string}`;
|
514
515
|
s?: `0x${string}`;
|
515
516
|
v?: `0x${string}`;
|
@@ -517,7 +518,6 @@ export declare const formatters: {
|
|
517
518
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
518
519
|
maxFeePerGas?: `0x${string}` | undefined;
|
519
520
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
520
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
521
521
|
to?: `0x${string}` | null;
|
522
522
|
from?: `0x${string}`;
|
523
523
|
gas?: `0x${string}`;
|
@@ -538,6 +538,7 @@ export declare const formatters: {
|
|
538
538
|
gatewayFeeRecipient: `0x${string}` | null;
|
539
539
|
type: "0x7c";
|
540
540
|
} & import("../index.js").FeeValuesEIP1559<`0x${string}`>) | ({
|
541
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
541
542
|
r?: `0x${string}`;
|
542
543
|
s?: `0x${string}`;
|
543
544
|
v?: `0x${string}`;
|
@@ -545,7 +546,6 @@ export declare const formatters: {
|
|
545
546
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
546
547
|
maxFeePerGas?: `0x${string}` | undefined;
|
547
548
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
548
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
549
549
|
to?: `0x${string}` | null;
|
550
550
|
from?: `0x${string}`;
|
551
551
|
gas?: `0x${string}`;
|
@@ -566,6 +566,7 @@ export declare const formatters: {
|
|
566
566
|
gatewayFeeRecipient?: undefined;
|
567
567
|
type: "0x7b";
|
568
568
|
} & import("../index.js").FeeValuesEIP1559<`0x${string}`>) | ({
|
569
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
569
570
|
r?: `0x${string}`;
|
570
571
|
s?: `0x${string}`;
|
571
572
|
v?: `0x${string}`;
|
@@ -573,7 +574,6 @@ export declare const formatters: {
|
|
573
574
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
574
575
|
maxFeePerGas?: `0x${string}` | undefined;
|
575
576
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
576
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
577
577
|
to?: `0x${string}` | null;
|
578
578
|
from?: `0x${string}`;
|
579
579
|
gas?: `0x${string}`;
|
@@ -589,6 +589,7 @@ export declare const formatters: {
|
|
589
589
|
chainId?: `0x${string}` | undefined;
|
590
590
|
yParity?: `0x${string}` | undefined;
|
591
591
|
} & {
|
592
|
+
type: "0x0";
|
592
593
|
r: `0x${string}`;
|
593
594
|
s: `0x${string}`;
|
594
595
|
v: `0x${string}`;
|
@@ -597,7 +598,6 @@ export declare const formatters: {
|
|
597
598
|
maxFeePerBlobGas?: undefined;
|
598
599
|
maxFeePerGas?: undefined;
|
599
600
|
maxPriorityFeePerGas?: undefined;
|
600
|
-
type: "0x0";
|
601
601
|
to: `0x${string}` | null;
|
602
602
|
from: `0x${string}`;
|
603
603
|
gas: `0x${string}`;
|
@@ -616,6 +616,7 @@ export declare const formatters: {
|
|
616
616
|
gatewayFee: `0x${string}` | null;
|
617
617
|
gatewayFeeRecipient: `0x${string}` | null;
|
618
618
|
}) | ({
|
619
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
619
620
|
r?: `0x${string}`;
|
620
621
|
s?: `0x${string}`;
|
621
622
|
v?: `0x${string}`;
|
@@ -623,7 +624,6 @@ export declare const formatters: {
|
|
623
624
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
624
625
|
maxFeePerGas?: `0x${string}` | undefined;
|
625
626
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
626
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
627
627
|
to?: `0x${string}` | null;
|
628
628
|
from?: `0x${string}`;
|
629
629
|
gas?: `0x${string}`;
|
@@ -639,6 +639,7 @@ export declare const formatters: {
|
|
639
639
|
chainId?: `0x${string}` | undefined;
|
640
640
|
yParity?: `0x${string}` | undefined;
|
641
641
|
} & {
|
642
|
+
type: "0x1";
|
642
643
|
r: `0x${string}`;
|
643
644
|
s: `0x${string}`;
|
644
645
|
v: `0x${string}`;
|
@@ -646,7 +647,6 @@ export declare const formatters: {
|
|
646
647
|
maxFeePerBlobGas?: undefined;
|
647
648
|
maxFeePerGas?: undefined;
|
648
649
|
maxPriorityFeePerGas?: undefined;
|
649
|
-
type: "0x1";
|
650
650
|
to: `0x${string}` | null;
|
651
651
|
from: `0x${string}`;
|
652
652
|
gas: `0x${string}`;
|
@@ -666,6 +666,7 @@ export declare const formatters: {
|
|
666
666
|
gatewayFee: `0x${string}` | null;
|
667
667
|
gatewayFeeRecipient: `0x${string}` | null;
|
668
668
|
}) | ({
|
669
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
669
670
|
r?: `0x${string}`;
|
670
671
|
s?: `0x${string}`;
|
671
672
|
v?: `0x${string}`;
|
@@ -673,7 +674,6 @@ export declare const formatters: {
|
|
673
674
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
674
675
|
maxFeePerGas?: `0x${string}` | undefined;
|
675
676
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
676
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
677
677
|
to?: `0x${string}` | null;
|
678
678
|
from?: `0x${string}`;
|
679
679
|
gas?: `0x${string}`;
|
@@ -689,6 +689,7 @@ export declare const formatters: {
|
|
689
689
|
chainId?: `0x${string}` | undefined;
|
690
690
|
yParity?: `0x${string}` | undefined;
|
691
691
|
} & {
|
692
|
+
type: "0x2";
|
692
693
|
r: `0x${string}`;
|
693
694
|
s: `0x${string}`;
|
694
695
|
v: `0x${string}`;
|
@@ -696,7 +697,6 @@ export declare const formatters: {
|
|
696
697
|
maxFeePerBlobGas?: undefined;
|
697
698
|
maxFeePerGas: `0x${string}`;
|
698
699
|
maxPriorityFeePerGas: `0x${string}`;
|
699
|
-
type: "0x2";
|
700
700
|
to: `0x${string}` | null;
|
701
701
|
from: `0x${string}`;
|
702
702
|
gas: `0x${string}`;
|
@@ -716,6 +716,7 @@ export declare const formatters: {
|
|
716
716
|
gatewayFee: `0x${string}` | null;
|
717
717
|
gatewayFeeRecipient: `0x${string}` | null;
|
718
718
|
}) | ({
|
719
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
719
720
|
r?: `0x${string}`;
|
720
721
|
s?: `0x${string}`;
|
721
722
|
v?: `0x${string}`;
|
@@ -723,7 +724,6 @@ export declare const formatters: {
|
|
723
724
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
724
725
|
maxFeePerGas?: `0x${string}` | undefined;
|
725
726
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
726
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
727
727
|
to?: `0x${string}` | null;
|
728
728
|
from?: `0x${string}`;
|
729
729
|
gas?: `0x${string}`;
|
@@ -739,6 +739,7 @@ export declare const formatters: {
|
|
739
739
|
chainId?: `0x${string}` | undefined;
|
740
740
|
yParity?: `0x${string}` | undefined;
|
741
741
|
} & {
|
742
|
+
type: "0x3";
|
742
743
|
r: `0x${string}`;
|
743
744
|
s: `0x${string}`;
|
744
745
|
v: `0x${string}`;
|
@@ -746,7 +747,6 @@ export declare const formatters: {
|
|
746
747
|
maxFeePerBlobGas: `0x${string}`;
|
747
748
|
maxFeePerGas: `0x${string}`;
|
748
749
|
maxPriorityFeePerGas: `0x${string}`;
|
749
|
-
type: "0x3";
|
750
750
|
to: `0x${string}` | null;
|
751
751
|
from: `0x${string}`;
|
752
752
|
gas: `0x${string}`;
|
@@ -766,6 +766,7 @@ export declare const formatters: {
|
|
766
766
|
gatewayFee: `0x${string}` | null;
|
767
767
|
gatewayFeeRecipient: `0x${string}` | null;
|
768
768
|
}) | ({
|
769
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
769
770
|
r?: `0x${string}`;
|
770
771
|
s?: `0x${string}`;
|
771
772
|
v?: `0x${string}`;
|
@@ -773,7 +774,6 @@ export declare const formatters: {
|
|
773
774
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
774
775
|
maxFeePerGas?: `0x${string}` | undefined;
|
775
776
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
776
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
777
777
|
to?: `0x${string}` | null;
|
778
778
|
from?: `0x${string}`;
|
779
779
|
gas?: `0x${string}`;
|
@@ -794,6 +794,7 @@ export declare const formatters: {
|
|
794
794
|
gatewayFeeRecipient: `0x${string}` | null;
|
795
795
|
type: "0x7c";
|
796
796
|
} & import("../index.js").FeeValuesEIP1559<`0x${string}`>) | ({
|
797
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
797
798
|
r?: `0x${string}`;
|
798
799
|
s?: `0x${string}`;
|
799
800
|
v?: `0x${string}`;
|
@@ -801,7 +802,6 @@ export declare const formatters: {
|
|
801
802
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
802
803
|
maxFeePerGas?: `0x${string}` | undefined;
|
803
804
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
804
|
-
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
|
805
805
|
to?: `0x${string}` | null;
|
806
806
|
from?: `0x${string}`;
|
807
807
|
gas?: `0x${string}`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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD5B,CAAA"}
|
package/_types/celo/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
export { chainConfig } from './chainConfig.js';
|
2
|
-
export { parseTransaction } from './parsers.js';
|
3
|
-
export { serializeTransaction } from './serializers.js';
|
2
|
+
export { type ParseTransactionReturnType, parseTransaction } from './parsers.js';
|
3
|
+
export { type SerializeTransactionCIP64ReturnType, serializeTransaction, } from './serializers.js';
|
4
4
|
export type { CeloBlock, CeloBlockOverrides, CeloRpcBlock, CeloRpcBlockOverrides, CeloRpcTransaction, CeloRpcTransactionRequest, CeloTransaction, CeloTransactionRequest, CeloTransactionSerializable, CeloTransactionSerialized, CeloTransactionType, RpcTransactionCIP42, RpcTransactionCIP64, RpcTransactionRequestCIP64, TransactionCIP42, TransactionCIP64, TransactionRequestCIP64, TransactionSerializableCIP42, TransactionSerializableCIP64, TransactionSerializedCIP42, TransactionSerializedCIP64, } from './types.js';
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../celo/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../celo/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,KAAK,0BAA0B,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAEhF,OAAO,EACL,KAAK,mCAAmC,EACxC,oBAAoB,GACrB,MAAM,kBAAkB,CAAA;AAEzB,YAAY,EACV,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,yBAAyB,EACzB,eAAe,EACf,sBAAsB,EACtB,2BAA2B,EAC3B,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,0BAA0B,EAC1B,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,YAAY,CAAA"}
|
package/_types/celo/utils.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import type { CeloTransactionRequest, CeloTransactionSerializable, TransactionSerializableCIP64 } from './types.js';
|
2
2
|
export declare function isEmpty(value: string | undefined | number | BigInt): value is undefined;
|
3
3
|
export declare function isPresent(value: string | undefined | number | BigInt): value is string | number | BigInt;
|
4
|
+
/** @internal */
|
4
5
|
export declare function isEIP1559(transaction: CeloTransactionSerializable | CeloTransactionRequest): boolean;
|
5
6
|
export declare function isCIP64(transaction: CeloTransactionSerializable | CeloTransactionRequest): transaction is TransactionSerializableCIP64;
|
6
7
|
//# sourceMappingURL=utils.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../celo/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,sBAAsB,EACtB,2BAA2B,EAC3B,4BAA4B,EAC7B,MAAM,YAAY,CAAA;AAEnB,wBAAgB,OAAO,CACrB,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAC1C,KAAK,IAAI,SAAS,CAYpB;AAED,wBAAgB,SAAS,CACvB,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAC1C,KAAK,IAAI,MAAM,GAAG,MAAM,GAAG,MAAM,CAEnC;AAED,wBAAgB,SAAS,CACvB,WAAW,EAAE,2BAA2B,GAAG,sBAAsB,GAChE,OAAO,CAKT;AAED,wBAAgB,OAAO,CACrB,WAAW,EAAE,2BAA2B,GAAG,sBAAsB,GAChE,WAAW,IAAI,4BAA4B,CAgB7C"}
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../celo/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,sBAAsB,EACtB,2BAA2B,EAC3B,4BAA4B,EAC7B,MAAM,YAAY,CAAA;AAEnB,wBAAgB,OAAO,CACrB,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAC1C,KAAK,IAAI,SAAS,CAYpB;AAED,wBAAgB,SAAS,CACvB,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAC1C,KAAK,IAAI,MAAM,GAAG,MAAM,GAAG,MAAM,CAEnC;AAED,gBAAgB;AAChB,wBAAgB,SAAS,CACvB,WAAW,EAAE,2BAA2B,GAAG,sBAAsB,GAChE,OAAO,CAKT;AAED,wBAAgB,OAAO,CACrB,WAAW,EAAE,2BAA2B,GAAG,sBAAsB,GAChE,WAAW,IAAI,4BAA4B,CAgB7C"}
|