voltaire-effect 0.2.23 → 0.2.25
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/dist/KZGService-B7PJerOb.d.ts +146 -0
- package/dist/ProviderService-BZ5pqDrD.d.ts +319 -0
- package/dist/{X25519Test-DGsk1V9o.d.ts → X25519Test-D5Q-5fL9.d.ts} +4 -143
- package/dist/crypto/index.d.ts +5 -6
- package/dist/crypto/index.js +227 -201
- package/dist/{index-IgkEHjBe.d.ts → index-BCOuszKZ.d.ts} +17634 -11962
- package/dist/index.d.ts +3195 -976
- package/dist/index.js +6994 -4679
- package/dist/native/index.d.ts +25 -16
- package/dist/native/index.js +7020 -4705
- package/dist/primitives/index.d.ts +14 -8
- package/dist/primitives/index.js +4060 -2539
- package/dist/services/index.d.ts +9054 -30
- package/dist/services/index.js +1592 -1331
- package/package.json +2 -2
- package/src/crypto/ERC6492/ERC6492.test.ts +32 -14
- package/src/crypto/ERC6492/verifySignature.ts +4 -5
- package/src/crypto/Keccak256/Keccak256.test.ts +42 -1
- package/src/crypto/Keccak256/hashSync.ts +53 -0
- package/src/crypto/Keccak256/index.ts +2 -0
- package/src/index.ts +7 -2
- package/src/primitives/Abi/decode.test.ts +38 -0
- package/src/primitives/Abi/decode.ts +67 -0
- package/src/primitives/Abi/decodeData.test.ts +37 -0
- package/src/primitives/Abi/decodeData.ts +77 -0
- package/src/primitives/Abi/decodeLog.test.ts +32 -0
- package/src/primitives/Abi/decodeLog.ts +81 -0
- package/src/primitives/Abi/decodeWrappedError.test.ts +41 -0
- package/src/primitives/Abi/decodeWrappedError.ts +68 -0
- package/src/primitives/Abi/encode.test.ts +43 -0
- package/src/primitives/Abi/encode.ts +67 -0
- package/src/primitives/Abi/encodePacked.test.ts +35 -0
- package/src/primitives/Abi/encodePacked.ts +62 -0
- package/src/primitives/Abi/encodeWrappedError.test.ts +21 -0
- package/src/primitives/Abi/encodeWrappedError.ts +64 -0
- package/src/primitives/Abi/findSelectorCollisions.test.ts +50 -0
- package/src/primitives/Abi/findSelectorCollisions.ts +83 -0
- package/src/primitives/Abi/index.ts +33 -7
- package/src/primitives/Abi/parseLogs.test.ts +37 -0
- package/src/primitives/Abi/parseLogs.ts +62 -0
- package/src/primitives/AccessList/AccessList.test.ts +229 -0
- package/src/primitives/AccessList/AccessListTypeSchema.ts +16 -0
- package/src/primitives/AccessList/addressCount.ts +21 -0
- package/src/primitives/AccessList/assertValid.ts +37 -0
- package/src/primitives/AccessList/create.ts +19 -0
- package/src/primitives/AccessList/deduplicate.ts +23 -0
- package/src/primitives/AccessList/from.ts +39 -0
- package/src/primitives/AccessList/fromBytes.ts +36 -0
- package/src/primitives/AccessList/gasCost.ts +22 -0
- package/src/primitives/AccessList/gasSavings.ts +26 -0
- package/src/primitives/AccessList/hasSavings.ts +23 -0
- package/src/primitives/AccessList/includesAddress.ts +25 -0
- package/src/primitives/AccessList/includesStorageKey.ts +28 -0
- package/src/primitives/AccessList/index.ts +99 -19
- package/src/primitives/AccessList/is.ts +23 -0
- package/src/primitives/AccessList/isEmpty.ts +23 -0
- package/src/primitives/AccessList/isItem.ts +22 -0
- package/src/primitives/AccessList/keysFor.ts +29 -0
- package/src/primitives/AccessList/merge.ts +24 -0
- package/src/primitives/AccessList/storageKeyCount.ts +21 -0
- package/src/primitives/AccessList/toBytes.ts +23 -0
- package/src/primitives/AccessList/withAddress.ts +27 -0
- package/src/primitives/AccessList/withStorageKey.ts +30 -0
- package/src/primitives/Address/Address.test.ts +146 -0
- package/src/primitives/Address/assert.ts +51 -0
- package/src/primitives/Address/calculateCreate2Address.ts +33 -0
- package/src/primitives/Address/calculateCreateAddress.ts +30 -0
- package/src/primitives/Address/deduplicateAddresses.ts +20 -0
- package/src/primitives/Address/from.ts +41 -0
- package/src/primitives/Address/fromAbiEncoded.ts +35 -0
- package/src/primitives/Address/fromBase64.ts +25 -0
- package/src/primitives/Address/fromBytes.ts +25 -0
- package/src/primitives/Address/fromHex.ts +31 -0
- package/src/primitives/Address/fromNumber.ts +25 -0
- package/src/primitives/Address/fromPrivateKey.ts +25 -0
- package/src/primitives/Address/fromPublicKey.ts +56 -0
- package/src/primitives/Address/index.ts +99 -35
- package/src/primitives/Address/is.ts +20 -0
- package/src/primitives/Address/isAddress.ts +22 -0
- package/src/primitives/Address/sortAddresses.ts +19 -0
- package/src/primitives/Address/toChecksummed.ts +32 -0
- package/src/primitives/Address/toHex.ts +18 -0
- package/src/primitives/Address/zero.ts +18 -0
- package/src/primitives/Base64/Base64.test.ts +75 -0
- package/src/primitives/Base64/convert.ts +37 -0
- package/src/primitives/Base64/decode.ts +59 -0
- package/src/primitives/Base64/encode.ts +42 -0
- package/src/primitives/Base64/from.ts +39 -0
- package/src/primitives/Base64/index.ts +81 -1
- package/src/primitives/Base64/size.ts +16 -0
- package/src/primitives/Base64/validation.ts +16 -0
- package/src/primitives/Blob/Blob.test.ts +292 -0
- package/src/primitives/Blob/calculateGas.ts +30 -0
- package/src/primitives/Blob/estimateBlobCount.ts +30 -0
- package/src/primitives/Blob/from.ts +38 -0
- package/src/primitives/Blob/fromData.ts +36 -0
- package/src/primitives/Blob/index.ts +99 -12
- package/src/primitives/Blob/isValidVersion.ts +27 -0
- package/src/primitives/Blob/joinData.ts +43 -0
- package/src/primitives/Blob/splitData.ts +36 -0
- package/src/primitives/Blob/toCommitment.ts +43 -0
- package/src/primitives/Blob/toProof.ts +50 -0
- package/src/primitives/Blob/toVersionedHash.ts +35 -0
- package/src/primitives/Blob/verify.ts +49 -0
- package/src/primitives/Blob/verifyBatch.ts +119 -0
- package/src/primitives/BloomFilter/BloomFilter.test.ts +138 -0
- package/src/primitives/BloomFilter/add.ts +23 -0
- package/src/primitives/BloomFilter/combine.ts +21 -0
- package/src/primitives/BloomFilter/contains.ts +26 -0
- package/src/primitives/BloomFilter/create.ts +35 -0
- package/src/primitives/BloomFilter/density.ts +22 -0
- package/src/primitives/BloomFilter/expectedFalsePositiveRate.ts +25 -0
- package/src/primitives/BloomFilter/fromHex.ts +37 -0
- package/src/primitives/BloomFilter/hash.ts +43 -0
- package/src/primitives/BloomFilter/index.ts +59 -37
- package/src/primitives/BloomFilter/isEmpty.ts +22 -0
- package/src/primitives/BloomFilter/merge.ts +24 -0
- package/src/primitives/BloomFilter/toHex.ts +22 -0
- package/src/primitives/Bytecode/analyze.ts +58 -0
- package/src/primitives/Bytecode/detectFusions.ts +10 -0
- package/src/primitives/Bytecode/equals.ts +10 -0
- package/src/primitives/Bytecode/extractRuntime.ts +12 -0
- package/src/primitives/Bytecode/format.ts +16 -0
- package/src/primitives/Bytecode/from.ts +16 -0
- package/src/primitives/Bytecode/fromHex.ts +14 -0
- package/src/primitives/Bytecode/getBlock.ts +12 -0
- package/src/primitives/Bytecode/getNextPc.ts +12 -0
- package/src/primitives/Bytecode/getPushSize.ts +8 -0
- package/src/primitives/Bytecode/hasMetadata.ts +10 -0
- package/src/primitives/Bytecode/hash.ts +9 -0
- package/src/primitives/Bytecode/index.ts +103 -13
- package/src/primitives/Bytecode/isPush.ts +8 -0
- package/src/primitives/Bytecode/isTerminator.ts +8 -0
- package/src/primitives/Bytecode/isValidJumpDest.ts +12 -0
- package/src/primitives/Bytecode/parseInstructions.ts +10 -0
- package/src/primitives/Bytecode/prettyPrint.ts +12 -0
- package/src/primitives/Bytecode/scan.ts +20 -0
- package/src/primitives/Bytecode/size.ts +9 -0
- package/src/primitives/Bytecode/stripMetadata.ts +10 -0
- package/src/primitives/Bytecode/toAbi.ts +10 -0
- package/src/primitives/Bytecode/toHex.ts +10 -0
- package/src/primitives/Bytecode/types.ts +23 -0
- package/src/primitives/Bytecode/validate.ts +9 -0
- package/src/primitives/ContractSignature/ContractSignature.test.ts +1 -13
- package/src/primitives/ContractSignature/verifySignature.ts +88 -62
- package/src/primitives/Ens/Ens.test.ts +71 -0
- package/src/primitives/Ens/convert.ts +13 -0
- package/src/primitives/Ens/from.ts +32 -0
- package/src/primitives/Ens/hash.ts +46 -0
- package/src/primitives/Ens/index.ts +86 -4
- package/src/primitives/Ens/normalize.ts +45 -0
- package/src/primitives/Ens/validation.ts +38 -0
- package/src/primitives/EventLog/accessors.ts +32 -0
- package/src/primitives/EventLog/clone.ts +17 -0
- package/src/primitives/EventLog/create.ts +46 -0
- package/src/primitives/EventLog/filtering.ts +48 -0
- package/src/primitives/EventLog/index.ts +96 -6
- package/src/primitives/EventLog/status.ts +17 -0
- package/src/primitives/EventLog/toRpc.ts +49 -0
- package/src/primitives/Hardfork/HardforkSchema.ts +3 -3
- package/src/primitives/Hardfork/allIds.ts +13 -0
- package/src/primitives/Hardfork/allNames.ts +13 -0
- package/src/primitives/Hardfork/compare.ts +17 -0
- package/src/primitives/Hardfork/comparisons.ts +45 -0
- package/src/primitives/Hardfork/equals.ts +17 -0
- package/src/primitives/Hardfork/features.ts +61 -0
- package/src/primitives/Hardfork/fromString.ts +16 -0
- package/src/primitives/Hardfork/index.ts +128 -18
- package/src/primitives/Hardfork/isValidName.ts +14 -0
- package/src/primitives/Hardfork/minMax.ts +23 -0
- package/src/primitives/Hardfork/range.ts +19 -0
- package/src/primitives/Hardfork/toString.ts +16 -0
- package/src/primitives/Hash/Hash.test.ts +104 -0
- package/src/primitives/Hash/from.ts +47 -0
- package/src/primitives/Hash/fromBytes.ts +46 -0
- package/src/primitives/Hash/fromHex.ts +44 -0
- package/src/primitives/Hash/index.ts +45 -8
- package/src/primitives/Hash/isHash.ts +31 -0
- package/src/primitives/Hash/toHex.ts +29 -0
- package/src/primitives/Hex/Hex.test.ts +327 -153
- package/src/primitives/Hex/assertSize.ts +41 -0
- package/src/primitives/Hex/concat.ts +37 -0
- package/src/primitives/Hex/from.ts +38 -0
- package/src/primitives/Hex/fromBigInt.ts +40 -0
- package/src/primitives/Hex/fromBoolean.ts +29 -0
- package/src/primitives/Hex/fromNumber.ts +41 -0
- package/src/primitives/Hex/fromString.ts +28 -0
- package/src/primitives/Hex/index.ts +68 -37
- package/src/primitives/Hex/pad.ts +40 -0
- package/src/primitives/Hex/padRight.ts +39 -0
- package/src/primitives/Hex/size.ts +29 -0
- package/src/primitives/Hex/slice.ts +42 -0
- package/src/primitives/Hex/toBigInt.ts +27 -0
- package/src/primitives/Hex/toBoolean.ts +38 -0
- package/src/primitives/Hex/toNumber.ts +37 -0
- package/src/primitives/Hex/toStringHex.ts +39 -0
- package/src/primitives/Hex/trim.ts +27 -0
- package/src/primitives/Hex/validate.ts +37 -0
- package/src/primitives/Hex/xor.ts +39 -0
- package/src/primitives/Opcode/OpcodeSchema.ts +1 -1
- package/src/primitives/Opcode/disassemble.ts +15 -0
- package/src/primitives/Opcode/dupPosition.ts +15 -0
- package/src/primitives/Opcode/format.ts +15 -0
- package/src/primitives/Opcode/getters.ts +54 -0
- package/src/primitives/Opcode/index.ts +301 -11
- package/src/primitives/Opcode/info.ts +18 -0
- package/src/primitives/Opcode/jumpDests.ts +15 -0
- package/src/primitives/Opcode/logTopics.ts +15 -0
- package/src/primitives/Opcode/name.ts +15 -0
- package/src/primitives/Opcode/parse.ts +15 -0
- package/src/primitives/Opcode/predicates.ts +72 -0
- package/src/primitives/Opcode/pushBytes.ts +15 -0
- package/src/primitives/Opcode/pushOpcode.ts +15 -0
- package/src/primitives/Opcode/swapPosition.ts +15 -0
- package/src/primitives/Rlp/decodeBatch.ts +46 -0
- package/src/primitives/Rlp/decodeObject.ts +46 -0
- package/src/primitives/Rlp/decodeValue.ts +51 -0
- package/src/primitives/Rlp/encodeBatch.ts +50 -0
- package/src/primitives/Rlp/encodeObject.ts +48 -0
- package/src/primitives/Rlp/encodeVariadic.ts +49 -0
- package/src/primitives/Rlp/equals.ts +22 -0
- package/src/primitives/Rlp/from.ts +44 -0
- package/src/primitives/Rlp/fromJSON.ts +45 -0
- package/src/primitives/Rlp/getEncodedLength.ts +47 -0
- package/src/primitives/Rlp/getLength.ts +44 -0
- package/src/primitives/Rlp/index.ts +67 -14
- package/src/primitives/Rlp/isBytesData.ts +21 -0
- package/src/primitives/Rlp/isCanonical.ts +32 -0
- package/src/primitives/Rlp/isData.ts +21 -0
- package/src/primitives/Rlp/isList.ts +46 -0
- package/src/primitives/Rlp/isListData.ts +21 -0
- package/src/primitives/Rlp/isString.ts +46 -0
- package/src/primitives/Rlp/toJSON.ts +20 -0
- package/src/primitives/Rlp/toRaw.ts +31 -0
- package/src/primitives/Signature/Signature.test.ts +217 -0
- package/src/primitives/Signature/from.ts +38 -0
- package/src/primitives/Signature/fromBytes.ts +31 -0
- package/src/primitives/Signature/fromCompact.ts +33 -0
- package/src/primitives/Signature/fromDER.ts +35 -0
- package/src/primitives/Signature/fromEd25519.ts +24 -0
- package/src/primitives/Signature/fromHex.ts +29 -0
- package/src/primitives/Signature/fromP256.ts +25 -0
- package/src/primitives/Signature/fromRpc.ts +38 -0
- package/src/primitives/Signature/fromSecp256k1.ts +29 -0
- package/src/primitives/Signature/fromTuple.ts +33 -0
- package/src/primitives/Signature/getR.ts +24 -0
- package/src/primitives/Signature/getS.ts +24 -0
- package/src/primitives/Signature/getV.ts +24 -0
- package/src/primitives/Signature/index.ts +61 -11
- package/src/primitives/Signature/toDER.ts +24 -0
- package/src/primitives/Signature/toHex.ts +24 -0
- package/src/primitives/Signature/toRpc.ts +35 -0
- package/src/primitives/Signature/toTuple.ts +29 -0
- package/src/primitives/Signature/verify.ts +31 -0
- package/src/primitives/Siwe/create.ts +56 -0
- package/src/primitives/Siwe/hash.ts +27 -0
- package/src/primitives/Siwe/index.ts +57 -21
- package/src/primitives/Siwe/parse.ts +24 -0
- package/src/primitives/Siwe/verify.ts +47 -0
- package/src/primitives/Transaction/Transaction.test.ts +309 -0
- package/src/primitives/Transaction/index.ts +467 -2
- package/src/primitives/Uint/Uint.test.ts +200 -0
- package/src/primitives/Uint/dividedBy.ts +34 -0
- package/src/primitives/Uint/from.ts +35 -0
- package/src/primitives/Uint/fromAbiEncoded.ts +29 -0
- package/src/primitives/Uint/fromBigInt.ts +30 -0
- package/src/primitives/Uint/fromBytes.ts +32 -0
- package/src/primitives/Uint/fromHex.ts +32 -0
- package/src/primitives/Uint/fromNumber.ts +30 -0
- package/src/primitives/Uint/index.ts +90 -45
- package/src/primitives/Uint/isUint256.ts +25 -0
- package/src/primitives/Uint/isValid.ts +25 -0
- package/src/primitives/Uint/modulo.ts +34 -0
- package/src/primitives/Uint/toHex.ts +31 -0
- package/src/primitives/Uint/tryFrom.ts +30 -0
- package/src/services/Contract/Contract.test.ts +46 -41
- package/src/services/Contract/Contract.ts +25 -29
- package/src/services/Contract/ContractTypes.ts +6 -3
- package/src/services/Contract/estimateGas.test.ts +21 -9
- package/src/services/Contract/estimateGas.ts +21 -23
- package/src/services/Debug/Debug.ts +1 -1
- package/src/services/Debug/DebugService.ts +1 -1
- package/src/services/FeeEstimator/DefaultFeeEstimator.ts +10 -6
- package/src/services/FeeEstimator/FeeEstimator.test.ts +68 -62
- package/src/services/Multicall/BalanceResolver.ts +1 -1
- package/src/services/Multicall/GetBalance.ts +1 -1
- package/src/services/Multicall/Multicall.ts +1 -1
- package/src/services/NonceManager/DefaultNonceManager.ts +4 -7
- package/src/services/NonceManager/NonceManager.test.ts +20 -33
- package/src/services/Provider/Provider.test.ts +155 -349
- package/src/services/Provider/Provider.ts +14 -1180
- package/src/services/Provider/ProviderService.ts +14 -1199
- package/src/services/Provider/actions/multicall.test.ts +29 -39
- package/src/services/Provider/actions/multicall.ts +2 -2
- package/src/services/Provider/actions/readContract.test.ts +45 -50
- package/src/services/Provider/actions/readContract.ts +2 -6
- package/src/services/Provider/actions/simulateContract.test.ts +55 -232
- package/src/services/Provider/actions/simulateContract.ts +2 -3
- package/src/services/Provider/ens/getEnsAddress.ts +11 -14
- package/src/services/Provider/ens/getEnsName.ts +15 -18
- package/src/services/Provider/ens/getEnsResolver.ts +11 -14
- package/src/services/Provider/ens/getEnsText.ts +15 -18
- package/src/services/Provider/functions/backfillBlocks.ts +97 -0
- package/src/services/Provider/functions/call.ts +45 -0
- package/src/services/Provider/functions/createAccessList.ts +61 -0
- package/src/services/Provider/functions/createBlockFilter.ts +41 -0
- package/src/services/Provider/functions/createEventFilter.ts +43 -0
- package/src/services/Provider/functions/createPendingTransactionFilter.ts +41 -0
- package/src/services/Provider/functions/estimateGas.ts +52 -0
- package/src/services/Provider/functions/getAccounts.ts +40 -0
- package/src/services/Provider/functions/getBalance.ts +50 -0
- package/src/services/Provider/functions/getBlobBaseFee.ts +46 -0
- package/src/services/Provider/functions/getBlock.ts +95 -0
- package/src/services/Provider/functions/getBlockNumber.ts +51 -0
- package/src/services/Provider/functions/getBlockReceipts.ts +78 -0
- package/src/services/Provider/functions/getBlockTransactionCount.ts +86 -0
- package/src/services/Provider/functions/getChainId.ts +46 -0
- package/src/services/Provider/functions/getCode.ts +43 -0
- package/src/services/Provider/functions/getCoinbase.ts +40 -0
- package/src/services/Provider/functions/getFeeHistory.ts +85 -0
- package/src/services/Provider/functions/getFilterChanges.ts +42 -0
- package/src/services/Provider/functions/getFilterLogs.ts +44 -0
- package/src/services/Provider/functions/getGasPrice.ts +46 -0
- package/src/services/Provider/functions/getHashrate.ts +46 -0
- package/src/services/Provider/functions/getLogs.ts +45 -0
- package/src/services/Provider/functions/getMaxPriorityFeePerGas.ts +46 -0
- package/src/services/Provider/functions/getMining.ts +40 -0
- package/src/services/Provider/functions/getProof.ts +52 -0
- package/src/services/Provider/functions/getProtocolVersion.ts +40 -0
- package/src/services/Provider/functions/getStorageAt.ts +52 -0
- package/src/services/Provider/functions/getSyncing.ts +56 -0
- package/src/services/Provider/functions/getTransaction.ts +57 -0
- package/src/services/Provider/functions/getTransactionByBlockHashAndIndex.ts +73 -0
- package/src/services/Provider/functions/getTransactionByBlockNumberAndIndex.ts +86 -0
- package/src/services/Provider/functions/getTransactionConfirmations.ts +70 -0
- package/src/services/Provider/functions/getTransactionCount.ts +50 -0
- package/src/services/Provider/functions/getTransactionReceipt.ts +57 -0
- package/src/services/Provider/functions/getUncle.ts +97 -0
- package/src/services/Provider/functions/getUncleCount.ts +86 -0
- package/src/services/Provider/functions/index.ts +73 -0
- package/src/services/Provider/functions/netVersion.ts +40 -0
- package/src/services/Provider/functions/sendRawTransaction.ts +40 -0
- package/src/services/Provider/functions/sendTransaction.ts +48 -0
- package/src/services/Provider/functions/sign.ts +50 -0
- package/src/services/Provider/functions/signTransaction.ts +52 -0
- package/src/services/Provider/functions/simulateV1.ts +95 -0
- package/src/services/Provider/functions/simulateV2.ts +51 -0
- package/src/services/Provider/functions/subscribe.ts +49 -0
- package/src/services/Provider/functions/uninstallFilter.ts +40 -0
- package/src/services/Provider/functions/unsubscribe.ts +41 -0
- package/src/services/Provider/functions/waitForTransactionReceipt.ts +168 -0
- package/src/services/Provider/functions/watchBlocks.ts +98 -0
- package/src/services/Provider/index.ts +29 -178
- package/src/services/Provider/types.ts +780 -0
- package/src/services/Provider/utils.ts +204 -0
- package/src/services/RawProvider/ForkProviderTransport.ts +2 -3
- package/src/services/RawProvider/HttpProviderTransport.ts +3 -3
- package/src/services/RawProvider/InMemoryProviderTransport.ts +3 -3
- package/src/services/RawProvider/WebSocketProviderTransport.ts +3 -3
- package/src/services/Signer/Signer.test.ts +211 -187
- package/src/services/Signer/Signer.ts +26 -16
- package/src/services/Signer/actions/deployContract.test.ts +125 -105
- package/src/services/Signer/actions/deployContract.ts +3 -2
- package/src/services/Signer/actions/prepareAuthorization.test.ts +47 -48
- package/src/services/Signer/actions/prepareAuthorization.ts +3 -3
- package/src/services/Signer/actions/signAuthorization.test.ts +39 -45
- package/src/services/Signer/actions/signAuthorization.ts +3 -3
- package/src/services/Signer/actions/writeContract.test.ts +41 -57
- package/src/services/Transport/FallbackTransport.ts +3 -3
- package/src/services/Transport/HttpTransport.ts +3 -3
- package/src/services/Transport/config.ts +7 -7
- package/src/services/Transport/index.ts +3 -4
- package/src/services/errors.test.ts +3 -8
- package/src/services/index.ts +8 -90
- package/src/services/presets/index.ts +9 -10
- package/src/services/presets/presets.test.ts +14 -29
- package/src/standards/ERC165.test.ts +19 -20
- package/src/standards/ERC165.ts +9 -11
- package/src/type-exports.test.ts +37 -0
- package/dist/AccountService-BetXokad.d.ts +0 -1717
- package/dist/RpcResolver-BpvqybjD.d.ts +0 -6439
- package/src/services/Provider/Account.ts +0 -33
- package/src/services/Provider/AccountService.ts +0 -84
- package/src/services/Provider/Blocks.ts +0 -32
- package/src/services/Provider/BlocksService.ts +0 -73
- package/src/services/Provider/Events.ts +0 -33
- package/src/services/Provider/EventsService.ts +0 -71
- package/src/services/Provider/Network.ts +0 -41
- package/src/services/Provider/NetworkService.ts +0 -114
- package/src/services/Provider/Simulation.ts +0 -34
- package/src/services/Provider/SimulationService.ts +0 -161
- package/src/services/Provider/Streaming.ts +0 -30
- package/src/services/Provider/StreamingService.ts +0 -58
- package/src/services/Provider/Transaction.ts +0 -39
- package/src/services/Provider/TransactionService.ts +0 -83
- package/src/services/Provider/filters.ts +0 -91
- package/src/services/Provider/getBlobBaseFee.ts +0 -170
package/dist/index.d.ts
CHANGED
|
@@ -1,31 +1,37 @@
|
|
|
1
|
+
import { AddressType as AddressType$3 } from '@tevm/voltaire/Address';
|
|
2
|
+
export { AddressType, BrandedAddress } from '@tevm/voltaire/Address';
|
|
3
|
+
import { HexType } from '@tevm/voltaire/Hex';
|
|
4
|
+
export { Hex as HexBrand, HexType, Sized } from '@tevm/voltaire/Hex';
|
|
5
|
+
export { HashType } from '@tevm/voltaire/Hash';
|
|
1
6
|
export { AbstractError, CryptoError, DecodingError, EncodingError, IntegerOverflowError, IntegerUnderflowError, InvalidChecksumError, InvalidFormatError, InvalidLengthError, InvalidPrivateKeyError, InvalidPublicKeyError, InvalidRangeError, InvalidSignatureError, InvalidSignerError, InvalidSizeError, InvalidTransactionTypeError, PrimitiveError, SerializationError, TransactionError, ValidationError } from '@tevm/voltaire/errors';
|
|
2
7
|
import * as effect_Cause from 'effect/Cause';
|
|
3
8
|
import * as effect_Types from 'effect/Types';
|
|
4
|
-
import { AddressType as AddressType$3 } from '@tevm/voltaire/Address';
|
|
5
9
|
import * as Effect from 'effect/Effect';
|
|
6
10
|
import * as effect_ParseResult from 'effect/ParseResult';
|
|
7
11
|
import { ParseError as ParseError$1 } from 'effect/ParseResult';
|
|
8
12
|
import * as S from 'effect/Schema';
|
|
9
|
-
import {
|
|
10
|
-
export {
|
|
13
|
+
import { b as KeccakLive, K as KeccakService, d as KeccakServiceShape, c as KeccakTest, P as ProviderService } from './ProviderService-BZ5pqDrD.js';
|
|
14
|
+
export { a as ProviderShape, T as TransportError } from './ProviderService-BZ5pqDrD.js';
|
|
11
15
|
import { I as InvalidPrivateKeyError, a as InvalidPublicKeyError, b as InvalidRecoveryIdError, c as InvalidSignatureError, d as Secp256k1Error, e as Secp256k1Errors, S as Secp256k1Service, f as Secp256k1ServiceShape, g as SignOptions, m as mapToSecp256k1Error } from './Secp256k1Service-OxQ6hJFp.js';
|
|
12
|
-
import {
|
|
13
|
-
export { i as AesGcm,
|
|
14
|
-
import { bm as SiweMessageType } from './index-
|
|
15
|
-
export { i as AccessList, a as AccountState, b as Address, c as Authorization, d as Balance, e as Base64, f as BaseFeePerGas, g as BeaconBlockRoot, h as BinaryTree, j as Blob, k as Block, l as BlockBody, m as BlockFilter, n as BlockHash, o as BlockHeader, p as BlockNumber, q as BloomFilter, r as BuilderBid, s as Bundle, t as BundleHash, u as Bundler, v as Bytecode, w as Bytes, x as Bytes32, y as CallData, z as CallTrace, A as Chain, B as ChainHead, C as ChainId, D as CompilerVersion, E as ContractCode, F as ContractResult, G as ContractSignature, H as DecodedData, I as Denomination, J as Domain, K as DomainSeparator, L as EffectiveGasPrice, M as EncodedData, N as Ens, O as EntryPoint, P as Epoch, Q as ErrorSignature, R as EventLog, S as EventSignature, T as FeeMarket, U as FeeOracle, V as FilterId, W as ForkId, X as ForwardRequest, Y as FunctionSignature, Z as Gas, _ as GasConstants, $ as GasCosts, a0 as GasEstimate, a1 as GasPrice, a2 as GasRefund, a3 as GasUsed, a4 as Hardfork, a5 as Hash, a6 as Hex, a7 as InitCode, ac as Int128, a9 as Int16, ad as Int256, aa as Int32, ab as Int64, a8 as Int8, ae as License, af as LogFilter, ag as LogIndex, ah as MaxFeePerGas, ai as MaxPriorityFeePerGas, aj as MemoryDump, ak as MerkleTree, al as Metadata, am as MultiTokenId, an as NetworkId, ao as NodeInfo, ap as Nonce, ar as OpStep, aq as Opcode, as as PackedUserOperation, at as Paymaster, au as PeerId, av as PeerInfo, aw as PendingTransactionFilter, ax as Permit, ay as PrivateKey, az as Proof, aA as ProtocolVersion, aB as Proxy, aC as PublicKey, aD as Receipt, aE as RelayData, aF as ReturnData, aG as RevertReason, aH as Rlp, aI as RuntimeCode, aJ as Selector, aK as Signature, aL as SignedData, aM as Siwe, aN as Slot, aO as SourceMap, aP as Ssz, aQ as State, aR as StateDiff, aS as StateProof, aT as StateRoot, aU as StealthAddress, aV as Storage, aW as StorageDiff, aX as StorageProof, aY as StorageValue, aZ as StructLog, a_ as SyncStatus, a$ as TokenBalance, b0 as TokenId, b1 as TopicFilter, b2 as TraceConfig, b3 as TraceResult, b4 as Transaction, b5 as TransactionHash, b6 as TransactionIndex, b7 as TransactionStatus, b8 as TransactionUrl, b9 as TypedData, ba as U256, bb as Uint, bg as Uint128, bd as Uint16, be as Uint32, bf as Uint64, bc as Uint8, bh as Uncle, bi as UserOperation, bj as ValidatorIndex, bk as Withdrawal, bl as WithdrawalIndex } from './index-
|
|
16
|
+
import { aN as hash, bn as Secp256k1Live, bo as Secp256k1Test, bm as recover, bp as sign, bq as verify, ae as EIP712Live, E as EIP712Service, af as EIP712ServiceShape, ag as EIP712Test, ah as hashDomain, ai as hashStruct, aj as hashTypedData, ak as recoverAddress, al as signTypedData, am as verifyTypedData, h as SignatureInput, s as Bip39Live, B as Bip39Service, t as Bip39ServiceShape, u as Bip39Test, br as MnemonicStrength, bs as WORD_COUNTS, v as generateMnemonic, w as getWordCount, x as mnemonicToSeed, y as mnemonicToSeedSync, z as validateMnemonic, D as Blake2Live, a as Blake2Service, F as Blake2Test, G as hash$1, J as Bls12381Live, b as Bls12381Service, L as Bls12381ServiceShape, I as aggregate, M as sign$1, N as verify$1, O as Bn254Error, Q as Bn254Live, c as Bn254Service, T as Bn254ServiceShape, U as Bn254Test, W as g1Add, X as g1Generator, Y as g1Mul, Z as g2Add, _ as g2Generator, $ as g2Mul, a0 as pairingCheck, bt as ChaCha20Poly1305Error, a1 as ChaCha20Poly1305Live, C as ChaCha20Poly1305Service, a2 as ChaCha20Poly1305ServiceShape, a3 as ChaCha20Poly1305Test, bu as InvalidKeyError, bv as InvalidNonceError, a4 as decrypt, a5 as encrypt, a6 as generateKey, a7 as generateNonce, a8 as Ed25519Live, d as Ed25519Service, a9 as Ed25519ServiceShape, aa as Ed25519Test, ab as getPublicKey, ac as sign$2, ad as verify$2, an as unwrapSignature, ao as verifySignature, ap as wrapSignature, ax as HDNode, ay as HDPath, az as HDWalletError, e as HDWalletService, aA as HDWalletServiceShape, aB as HDWalletTest, aw as HardenedDerivationError, aC as InvalidKeyError$1, aD as InvalidPathError, aE as InvalidSeedError, aq as derive, ar as fromMnemonic, as as fromSeed, at as generateMnemonic$1, au as getPrivateKey, av as getPublicKey$1, bw as mapToHDWalletError, aF as mnemonicToSeed$1, aG as withPrivateKey, aH as withSeed, aI as HMACLive, H as HMACService, aJ as HMACServiceShape, aK as HMACTest, aL as hmacSha256, aM as hmacSha512, aO as DecryptError, aR as KeystoreLive, K as KeystoreService, aS as KeystoreServiceShape, aT as KeystoreTest, aP as decrypt$1, aQ as encrypt$1, aU as withDecryptedKey, aV as blobToKzgCommitment, aW as computeBlobKzgProof, aX as verifyBlobKzgProof, aZ as ModExpLive, a_ as ModExpService, a$ as ModExpServiceShape, b0 as ModExpTest, aY as calculateGas, b1 as modexp, b2 as modexpBytes, b3 as P256Live, P as P256Service, b4 as P256ServiceShape, b5 as sign$3, b6 as verify$3, b8 as Ripemd160Live, R as Ripemd160Service, b9 as Ripemd160Test, b7 as hash$2, bb as SHA256Live, S as SHA256Service, bc as SHA256Test, ba as hash$3, bi as X25519Live, bj as X25519Service, bk as X25519ServiceShape, bl as X25519Test, bf as computeSecret, bg as generateKeyPair, bh as getPublicKey$2 } from './X25519Test-D5Q-5fL9.js';
|
|
17
|
+
export { i as AesGcm, f as CryptoLive, g as CryptoTest } from './X25519Test-D5Q-5fL9.js';
|
|
18
|
+
import { bm as SiweMessageType } from './index-BCOuszKZ.js';
|
|
19
|
+
export { i as AccessList, a as AccountState, b as Address, c as Authorization, d as Balance, e as Base64, f as BaseFeePerGas, g as BeaconBlockRoot, h as BinaryTree, j as Blob, k as Block, l as BlockBody, m as BlockFilter, n as BlockHash, o as BlockHeader, p as BlockNumber, q as BloomFilter, r as BuilderBid, s as Bundle, t as BundleHash, u as Bundler, v as Bytecode, w as Bytes, x as Bytes32, y as CallData, z as CallTrace, A as Chain, B as ChainHead, C as ChainId, D as CompilerVersion, E as ContractCode, F as ContractResult, G as ContractSignature, H as DecodedData, I as Denomination, J as Domain, K as DomainSeparator, L as EffectiveGasPrice, M as EncodedData, N as Ens, O as EntryPoint, P as Epoch, Q as ErrorSignature, R as EventLog, S as EventSignature, T as FeeMarket, U as FeeOracle, V as FilterId, W as ForkId, X as ForwardRequest, Y as FunctionSignature, Z as Gas, _ as GasConstants, $ as GasCosts, a0 as GasEstimate, a1 as GasPrice, a2 as GasRefund, a3 as GasUsed, a4 as Hardfork, a5 as Hash, a6 as Hex, a7 as InitCode, ac as Int128, a9 as Int16, ad as Int256, aa as Int32, ab as Int64, a8 as Int8, ae as License, af as LogFilter, ag as LogIndex, ah as MaxFeePerGas, ai as MaxPriorityFeePerGas, aj as MemoryDump, ak as MerkleTree, al as Metadata, am as MultiTokenId, an as NetworkId, ao as NodeInfo, ap as Nonce, ar as OpStep, aq as Opcode, as as PackedUserOperation, at as Paymaster, au as PeerId, av as PeerInfo, aw as PendingTransactionFilter, ax as Permit, ay as PrivateKey, az as Proof, aA as ProtocolVersion, aB as Proxy, aC as PublicKey, aD as Receipt, aE as RelayData, aF as ReturnData, aG as RevertReason, aH as Rlp, aI as RuntimeCode, aJ as Selector, aK as Signature, aL as SignedData, aM as Siwe, aN as Slot, aO as SourceMap, aP as Ssz, aQ as State, aR as StateDiff, aS as StateProof, aT as StateRoot, aU as StealthAddress, aV as Storage, aW as StorageDiff, aX as StorageProof, aY as StorageValue, aZ as StructLog, a_ as SyncStatus, a$ as TokenBalance, b0 as TokenId, b1 as TopicFilter, b2 as TraceConfig, b3 as TraceResult, b4 as Transaction, b5 as TransactionHash, b6 as TransactionIndex, b7 as TransactionStatus, b8 as TransactionUrl, b9 as TypedData, ba as U256, bb as Uint, bg as Uint128, bd as Uint16, be as Uint32, bf as Uint64, bc as Uint8, bh as Uncle, bi as UserOperation, bj as ValidatorIndex, bk as Withdrawal, bl as WithdrawalIndex } from './index-BCOuszKZ.js';
|
|
16
20
|
import { BlockInclude, RetryOptions, StreamBlock, LightBlock, BackfillOptions, BlockStream, BlockStreamConstructorOptions, BlockStreamEvent, BlockStreamMetadata, BlockStreamOptions, BlocksEvent, ReorgEvent, WatchOptions } from '@tevm/voltaire/block';
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
export { BackfillOptions, BlockInclude, BlockStreamEvent, BlocksEvent, WatchOptions } from '@tevm/voltaire/block';
|
|
22
|
+
import { TransportService } from './services/index.js';
|
|
23
|
+
export { AbiDecodeError, AbiEncodeError, AbiEncoderService, AbiEncoderShape, AccessListInput, AccessListType, AccountError, AccountService, AccountShape, AccountStateOverride, AddressInput, ArbitrumFormatter, ArbitrumProvider, AssetChange, BackfillBlocksError, BalanceResolver, BaseProvider, BlockExplorerConfig, BlockExplorerService, BlockOverrides, BlockStream, BlockStreamError, BlockStreamService, BlockStreamShape, BlockTag, BlockType, BlockchainError, BlockchainHexInput, BlockchainService, BlockchainShape, BrowserTransport, CacheService, CacheShape, CallError, CallRequest, CcipError, CcipRequest, CcipService, CcipShape, ChainConfig, ChainContract, ChainService, ComposedServices, Contract, ContractAbi, ContractAbiItem, ContractBlockTag, ContractCall, ContractCallError, ContractError, ContractEventError, ContractInstance, ContractWriteError, ContractsConfig, ContractsService, CreateAccessListError, CreateAccessListResult, CreateBlockFilterError, CreateEventFilterError, CreatePendingTransactionFilterError, CustomTransport, CustomTransportConfig, CustomTransportFromFn, Debug, DebugService, DebugShape, DebugTraceConfig, DecodedEvent, DefaultAbiEncoder, DefaultCcip, DefaultEns, DefaultFeeEstimator, DefaultFormatter, DefaultKzg, DefaultNonceManager, DefaultRateLimiter, DefaultTransactionSerializer, DeserializeError, EIP1193Provider, ENS_REGISTRY_ADDRESS, ENS_UNIVERSAL_RESOLVER_ADDRESS, EngineApi, EngineApiService, EngineApiShape, EnsError, EnsService, EnsShape, EstimateGasError, EthBlockNumber, EthCall, EthChainId, EthEstimateGas, EthGasPrice, EthGetBalance, EthGetBlockByHash, EthGetBlockByNumber, EthGetCode, EthGetLogs, EthGetStorageAt, EthGetTransactionByHash, EthGetTransactionCount, EthGetTransactionReceipt, EventFilter, FeeEstimationError, FeeEstimatorService, FeeEstimatorShape, FeeHistoryType, FeeValues, FeeValuesEIP1559, FeeValuesLegacy, FilterChanges, ForkBlockchain, ForkBlockchainOptions, FormatError, FormatterService, FormatterShape, GenericRpcRequest, GetAccountsError, GetBalance, GetBalanceError, GetBlobBaseFeeError, GetBlockArgs, GetBlockError, GetBlockNumberError, GetBlockReceiptsArgs, GetBlockReceiptsError, GetBlockTransactionCountArgs, GetBlockTransactionCountError, GetChainIdError, GetCodeError, GetCoinbaseError, GetEnsAddressParams, GetEnsAvatarParams, GetEnsNameParams, GetEnsResolverParams, GetEnsTextParams, GetFeeHistoryError, GetFilterChangesError, GetFilterLogsError, GetGasPriceError, GetHashrateError, GetLogsError, GetMaxPriorityFeePerGasError, GetMiningError, GetProofError, GetProtocolVersionError, GetStorageAtError, GetSyncingError, GetTransactionByBlockHashAndIndexError, GetTransactionByBlockNumberAndIndexError, GetTransactionConfirmationsError, GetTransactionCountError, GetTransactionError, GetTransactionReceiptError, GetUncleArgs, GetUncleCountArgs, GetUncleCountError, GetUncleError, GetWorkError, HashInput, HttpTransport, IdGenerator, IdGeneratorLive, IdGeneratorShape, InMemoryBlockchain, JsonRpcAccount, KzgError, KzgService, KzgShape, LocalAccount, LogType, MULTICALL3_ADDRESS, MainnetFullProvider, MainnetProvider, MemoryCache, MemoryCacheOptions, MulticallCall, MulticallError, MulticallParams, MulticallResult, MulticallResults, NetVersionError, NonceError, NonceManagerService, NonceManagerShape, NoopCache, NoopCcip, NoopKzg, NoopRateLimiter, OptimismFormatter, OptimismProvider, PolygonProvider, ProofType, Provider, ProviderConfirmationsPendingError, ProviderError, ProviderNotFoundError, ProviderReceiptPendingError, ProviderResponseError, ProviderStreamError, ProviderTimeoutError, ProviderValidationError, RateLimitBehavior, RateLimitError, RateLimitedTransport, RateLimiterConfig, RateLimiterService, RateLimiterShape, RawProviderService, RawProviderShape, RawProviderTransport, RawRequestArguments, ReadContractError, ReadContractParams, ReceiptType, RpcBatch, RpcBatchService, RpcBatchShape, RpcRequest, RpcTransactionRequest, RpcUrlsConfig, SendRawTransactionError, SendTransactionError, SepoliaProvider, SerializeError, SignError, SignTransactionError, Signer, SignerError, SignerService, SignerShape, SimulateCallsError, SimulateCallsParams, SimulateContractError, SimulateContractParams, SimulateContractResult, SimulateV1BlockCall, SimulateV1BlockResult, SimulateV1CallResult, SimulateV1Error, SimulateV1Payload, SimulateV1Result, SimulateV2Error, SimulateV2Payload, SimulateV2Result, SimulationResult, StateOverride, StorageProofType, SubmitHashrateError, SubmitWorkError, SubscribeError, SyncingStatus, TestTransport, TransactionIndexInput, TransactionRequest, TransactionSerializerService, TransactionStream, TransactionStreamError, TransactionStreamService, TransactionStreamShape, TransactionType, TransportShape, UncleBlockType, UninstallFilterError, UnsignedTransaction, UnsubscribeError, WaitForTransactionReceiptArgs, WaitForTransactionReceiptError, WaitForTransactionReceiptOptions, WatchBlocksError, WebSocketTransport, WithdrawalType, ZkSyncFormatter, aggregate3, arbitrum, arbitrumBlockExplorers, arbitrumConfig, arbitrumContracts, backfillBlocks, base, baseBlockExplorers, baseConfig, baseContracts, bytesToHex, cacheEnabledRef, call, createAccessList, createBlockFilter, createEventFilter, createPendingTransactionFilter, createProvider, estimateGas, formatAccessList, formatCallRequest, formatLogFilterParams, formatTransactionRequest, getAccounts, getBalance, getBlobBaseFee, getBlock, getBlockNumber, getBlockReceipts, getBlockTransactionCount, getChainId, getCode, getCoinbase, getEnsAddress, getEnsAvatar, getEnsName, getEnsResolver, getEnsText, getFeeHistory, getFilterChanges, getFilterLogs, getGasPrice, getHashrate, getLogs, getMaxPriorityFeePerGas, getMining, getProof, getProtocolVersion, getStorageAt, getSyncing, getTransaction, getTransactionByBlockHashAndIndex, getTransactionByBlockNumberAndIndex, getTransactionConfirmations, getTransactionCount, getTransactionReceipt, getUncle, getUncleCount, mainnet, mainnetBlockExplorers, mainnetConfig, mainnetContracts, makeBlockStream, makeFeeEstimator, makeIdGenerator, makeRateLimiter, makeRpcResolver, makeTransactionStream, multicall, netVersion, nextId, optimism, optimismBlockExplorers, optimismConfig, optimismContracts, parseHexToBigInt, polygon, polygonBlockExplorers, polygonConfig, polygonContracts, readContract, retryScheduleRef, rpcUrlsByChainId, sendRawTransaction, sendTransaction, sepolia, sepoliaBlockExplorers, sepoliaConfig, sepoliaContracts, sign, signTransaction, simulateCalls, simulateContract, simulateV1, simulateV2, subscribe, timeoutRef, toAddressHex, toHashHex, tracingRef, uninstallFilter, unsubscribe, waitForTransactionReceipt, watchBlocks, withRetrySchedule, withTimeout, withTracing, withoutCache } from './services/index.js';
|
|
19
24
|
import * as Layer from 'effect/Layer';
|
|
20
|
-
import { BrandedAbi, BrandedAddress } from '@tevm/voltaire';
|
|
25
|
+
import { Keccak256Hash, BrandedAbi, BrandedAddress } from '@tevm/voltaire';
|
|
21
26
|
import { EventStreamConstructorOptions, BackfillOptions as BackfillOptions$1, EventStreamResult, WatchOptions as WatchOptions$1 } from '@tevm/voltaire/contract';
|
|
22
27
|
import * as Context from 'effect/Context';
|
|
23
28
|
import * as Stream from 'effect/Stream';
|
|
29
|
+
import { a as KZGError, b as KZGLive, K as KZGService, c as KZGServiceShape, d as KZGTest } from './KZGService-B7PJerOb.js';
|
|
24
30
|
import * as effect_SchemaAST from 'effect/SchemaAST';
|
|
31
|
+
import * as _tevm_voltaire_Abi from '@tevm/voltaire/Abi';
|
|
32
|
+
import { ItemType, AbiItemNotFoundError, AbiEncodingError, AbiParameterMismatchError, WrappedErrorType, AbiDecodingError, AbiInvalidSelectorError as AbiInvalidSelectorError$1, Error as Error$1, Event, Function, Item as Item$1, Abi as Abi$1 } from '@tevm/voltaire/Abi';
|
|
25
33
|
import * as _tevm_voltaire_stream from '@tevm/voltaire/stream';
|
|
26
34
|
import { BlockRangeTooLargeError, BlockStreamAbortedError, EventStreamAbortedError, StreamAbortedError, UnrecoverableReorgError } from '@tevm/voltaire/stream';
|
|
27
|
-
import '@tevm/voltaire/Hex';
|
|
28
|
-
import '@tevm/voltaire/Hash';
|
|
29
35
|
import '@tevm/voltaire/Secp256k1';
|
|
30
36
|
import '@tevm/voltaire/EIP712';
|
|
31
37
|
import '@tevm/voltaire/Signature';
|
|
@@ -35,32 +41,88 @@ import '@tevm/voltaire/HMAC';
|
|
|
35
41
|
import '@tevm/voltaire/Keystore';
|
|
36
42
|
import '@tevm/voltaire/P256';
|
|
37
43
|
import '@tevm/voltaire/X25519';
|
|
44
|
+
import '@tevm/voltaire/Siwe';
|
|
45
|
+
import 'effect';
|
|
38
46
|
import '@tevm/voltaire/AccessList';
|
|
39
47
|
import '@tevm/voltaire/Bytes';
|
|
48
|
+
import '@tevm/voltaire/functional';
|
|
40
49
|
import '@tevm/voltaire/Uint';
|
|
41
50
|
import '@tevm/voltaire/Authorization';
|
|
42
51
|
import '@tevm/voltaire/Base64';
|
|
43
52
|
import '@tevm/voltaire/Blob';
|
|
53
|
+
import '@tevm/voltaire/BloomFilter';
|
|
44
54
|
import '@tevm/voltaire/Bytecode';
|
|
55
|
+
import '@tevm/voltaire/Ens';
|
|
45
56
|
import '@tevm/voltaire/EventLog';
|
|
46
57
|
import '@tevm/voltaire/GasConstants';
|
|
47
58
|
import '@tevm/voltaire/Hardfork';
|
|
48
59
|
import '@tevm/voltaire/InitCode';
|
|
49
60
|
import '@tevm/voltaire/LogFilter';
|
|
61
|
+
import '@tevm/voltaire/Opcode';
|
|
50
62
|
import '@tevm/voltaire/PrivateKey';
|
|
51
63
|
import '@tevm/voltaire/PublicKey';
|
|
52
64
|
import '@tevm/voltaire/Rlp';
|
|
53
65
|
import '@tevm/voltaire/Transaction';
|
|
66
|
+
import 'effect/Option';
|
|
54
67
|
import '@tevm/voltaire/transaction';
|
|
68
|
+
import 'effect/RequestResolver';
|
|
69
|
+
import 'effect/Request';
|
|
70
|
+
import 'effect/Scope';
|
|
71
|
+
import 'effect/RateLimiter';
|
|
55
72
|
import 'effect/Duration';
|
|
56
73
|
import 'effect/FiberRef';
|
|
57
74
|
import 'effect/Schedule';
|
|
58
75
|
import '@effect/platform/HttpClient';
|
|
59
76
|
import '@effect/platform/Socket';
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @fileoverview Synchronous Keccak-256 hash function without Effect service layer.
|
|
80
|
+
*
|
|
81
|
+
* @description
|
|
82
|
+
* Provides a direct synchronous Keccak-256 hash function that bypasses the Effect
|
|
83
|
+
* service layer. Use this when you need a simple hash without Effect dependency
|
|
84
|
+
* injection overhead.
|
|
85
|
+
*
|
|
86
|
+
* @module Keccak256/hashSync
|
|
87
|
+
* @since 0.2.25
|
|
88
|
+
*/
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Computes the Keccak-256 hash of the provided data synchronously.
|
|
92
|
+
*
|
|
93
|
+
* @description
|
|
94
|
+
* This is a direct synchronous version of the Keccak-256 hash that does not
|
|
95
|
+
* require the Effect service layer. Use this when you need a simple hash
|
|
96
|
+
* operation without Effect dependency injection.
|
|
97
|
+
*
|
|
98
|
+
* For Effect-based applications that need testability and dependency injection,
|
|
99
|
+
* use {@link hash} with {@link KeccakService} instead.
|
|
100
|
+
*
|
|
101
|
+
* @param {Uint8Array} data - The input bytes to hash. Can be any length.
|
|
102
|
+
* @returns {Keccak256Hash} A 32-byte Keccak256Hash (branded Uint8Array)
|
|
103
|
+
*
|
|
104
|
+
* @example Basic usage
|
|
105
|
+
* ```typescript
|
|
106
|
+
* import { hashSync } from 'voltaire-effect/crypto/Keccak256'
|
|
107
|
+
*
|
|
108
|
+
* const data = new Uint8Array([1, 2, 3])
|
|
109
|
+
* const result = hashSync(data)
|
|
110
|
+
* console.log(result) // Uint8Array(32) [...]
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @example Hashing a string
|
|
114
|
+
* ```typescript
|
|
115
|
+
* import { hashSync } from 'voltaire-effect/crypto/Keccak256'
|
|
116
|
+
*
|
|
117
|
+
* const message = new TextEncoder().encode('hello world')
|
|
118
|
+
* const hash = hashSync(message)
|
|
119
|
+
* ```
|
|
120
|
+
*
|
|
121
|
+
* @see {@link hash} - Effect-based version with dependency injection
|
|
122
|
+
* @see {@link KeccakService} - Service interface for Effect-based usage
|
|
123
|
+
* @since 0.2.25
|
|
124
|
+
*/
|
|
125
|
+
declare const hashSync: (data: Uint8Array) => Keccak256Hash;
|
|
64
126
|
|
|
65
127
|
/**
|
|
66
128
|
* @fileoverview Keccak-256 cryptographic hashing module for Effect.
|
|
@@ -104,13 +166,15 @@ import 'effect/RateLimiter';
|
|
|
104
166
|
* @since 0.0.1
|
|
105
167
|
*/
|
|
106
168
|
|
|
107
|
-
declare const index$
|
|
108
|
-
declare const index$
|
|
109
|
-
declare const index$
|
|
110
|
-
declare const index$
|
|
111
|
-
declare const index$
|
|
112
|
-
declare
|
|
113
|
-
|
|
169
|
+
declare const index$w_Keccak256Hash: typeof Keccak256Hash;
|
|
170
|
+
declare const index$w_KeccakLive: typeof KeccakLive;
|
|
171
|
+
declare const index$w_KeccakService: typeof KeccakService;
|
|
172
|
+
declare const index$w_KeccakServiceShape: typeof KeccakServiceShape;
|
|
173
|
+
declare const index$w_KeccakTest: typeof KeccakTest;
|
|
174
|
+
declare const index$w_hash: typeof hash;
|
|
175
|
+
declare const index$w_hashSync: typeof hashSync;
|
|
176
|
+
declare namespace index$w {
|
|
177
|
+
export { index$w_Keccak256Hash as Keccak256Hash, index$w_KeccakLive as KeccakLive, index$w_KeccakService as KeccakService, index$w_KeccakServiceShape as KeccakServiceShape, index$w_KeccakTest as KeccakTest, index$w_hash as hash, index$w_hashSync as hashSync };
|
|
114
178
|
}
|
|
115
179
|
|
|
116
180
|
/**
|
|
@@ -159,23 +223,23 @@ declare namespace index$v {
|
|
|
159
223
|
* @since 0.0.1
|
|
160
224
|
*/
|
|
161
225
|
|
|
162
|
-
declare const index$
|
|
163
|
-
declare const index$
|
|
164
|
-
declare const index$
|
|
165
|
-
declare const index$
|
|
166
|
-
declare const index$
|
|
167
|
-
declare const index$
|
|
168
|
-
declare const index$
|
|
169
|
-
declare const index$
|
|
170
|
-
declare const index$
|
|
171
|
-
declare const index$
|
|
172
|
-
declare const index$
|
|
173
|
-
declare const index$
|
|
174
|
-
declare const index$
|
|
175
|
-
declare const index$
|
|
176
|
-
declare const index$
|
|
177
|
-
declare namespace index$
|
|
178
|
-
export { index$
|
|
226
|
+
declare const index$v_InvalidPrivateKeyError: typeof InvalidPrivateKeyError;
|
|
227
|
+
declare const index$v_InvalidPublicKeyError: typeof InvalidPublicKeyError;
|
|
228
|
+
declare const index$v_InvalidRecoveryIdError: typeof InvalidRecoveryIdError;
|
|
229
|
+
declare const index$v_InvalidSignatureError: typeof InvalidSignatureError;
|
|
230
|
+
declare const index$v_Secp256k1Error: typeof Secp256k1Error;
|
|
231
|
+
declare const index$v_Secp256k1Errors: typeof Secp256k1Errors;
|
|
232
|
+
declare const index$v_Secp256k1Live: typeof Secp256k1Live;
|
|
233
|
+
declare const index$v_Secp256k1Service: typeof Secp256k1Service;
|
|
234
|
+
declare const index$v_Secp256k1ServiceShape: typeof Secp256k1ServiceShape;
|
|
235
|
+
declare const index$v_Secp256k1Test: typeof Secp256k1Test;
|
|
236
|
+
declare const index$v_SignOptions: typeof SignOptions;
|
|
237
|
+
declare const index$v_mapToSecp256k1Error: typeof mapToSecp256k1Error;
|
|
238
|
+
declare const index$v_recover: typeof recover;
|
|
239
|
+
declare const index$v_sign: typeof sign;
|
|
240
|
+
declare const index$v_verify: typeof verify;
|
|
241
|
+
declare namespace index$v {
|
|
242
|
+
export { index$v_InvalidPrivateKeyError as InvalidPrivateKeyError, index$v_InvalidPublicKeyError as InvalidPublicKeyError, index$v_InvalidRecoveryIdError as InvalidRecoveryIdError, index$v_InvalidSignatureError as InvalidSignatureError, index$v_Secp256k1Error as Secp256k1Error, index$v_Secp256k1Errors as Secp256k1Errors, index$v_Secp256k1Live as Secp256k1Live, index$v_Secp256k1Service as Secp256k1Service, index$v_Secp256k1ServiceShape as Secp256k1ServiceShape, index$v_Secp256k1Test as Secp256k1Test, index$v_SignOptions as SignOptions, index$v_mapToSecp256k1Error as mapToSecp256k1Error, index$v_recover as recover, index$v_sign as sign, index$v_verify as verify };
|
|
179
243
|
}
|
|
180
244
|
|
|
181
245
|
/**
|
|
@@ -215,18 +279,18 @@ declare namespace index$u {
|
|
|
215
279
|
* @see {@link https://eips.ethereum.org/EIPS/eip-712 | EIP-712 Specification}
|
|
216
280
|
*/
|
|
217
281
|
|
|
218
|
-
declare const index$
|
|
219
|
-
declare const index$
|
|
220
|
-
declare const index$
|
|
221
|
-
declare const index$
|
|
222
|
-
declare const index$
|
|
223
|
-
declare const index$
|
|
224
|
-
declare const index$
|
|
225
|
-
declare const index$
|
|
226
|
-
declare const index$
|
|
227
|
-
declare const index$
|
|
228
|
-
declare namespace index$
|
|
229
|
-
export { index$
|
|
282
|
+
declare const index$u_EIP712Live: typeof EIP712Live;
|
|
283
|
+
declare const index$u_EIP712Service: typeof EIP712Service;
|
|
284
|
+
declare const index$u_EIP712ServiceShape: typeof EIP712ServiceShape;
|
|
285
|
+
declare const index$u_EIP712Test: typeof EIP712Test;
|
|
286
|
+
declare const index$u_hashDomain: typeof hashDomain;
|
|
287
|
+
declare const index$u_hashStruct: typeof hashStruct;
|
|
288
|
+
declare const index$u_hashTypedData: typeof hashTypedData;
|
|
289
|
+
declare const index$u_recoverAddress: typeof recoverAddress;
|
|
290
|
+
declare const index$u_signTypedData: typeof signTypedData;
|
|
291
|
+
declare const index$u_verifyTypedData: typeof verifyTypedData;
|
|
292
|
+
declare namespace index$u {
|
|
293
|
+
export { index$u_EIP712Live as EIP712Live, index$u_EIP712Service as EIP712Service, index$u_EIP712ServiceShape as EIP712ServiceShape, index$u_EIP712Test as EIP712Test, index$u_hashDomain as hashDomain, index$u_hashStruct as hashStruct, index$u_hashTypedData as hashTypedData, index$u_recoverAddress as recoverAddress, index$u_signTypedData as signTypedData, index$u_verifyTypedData as verifyTypedData };
|
|
230
294
|
}
|
|
231
295
|
|
|
232
296
|
/**
|
|
@@ -374,18 +438,18 @@ declare const verifySiweMessage: (params: VerifySiweMessageParams) => Effect.Eff
|
|
|
374
438
|
* @since 0.1.0
|
|
375
439
|
*/
|
|
376
440
|
|
|
377
|
-
type index$
|
|
378
|
-
type index$
|
|
379
|
-
type index$
|
|
380
|
-
declare const index$
|
|
381
|
-
type index$
|
|
382
|
-
declare const index$
|
|
383
|
-
type index$
|
|
384
|
-
declare const index$
|
|
385
|
-
declare const index$
|
|
386
|
-
declare const index$
|
|
387
|
-
declare namespace index$
|
|
388
|
-
export { type index$
|
|
441
|
+
type index$t_CreateSiweMessageParams = CreateSiweMessageParams;
|
|
442
|
+
type index$t_SiweFields = SiweFields;
|
|
443
|
+
type index$t_SiweMessage = SiweMessage;
|
|
444
|
+
declare const index$t_SiweMessageSchema: typeof SiweMessageSchema;
|
|
445
|
+
type index$t_VerifyError = VerifyError;
|
|
446
|
+
declare const index$t_VerifyError: typeof VerifyError;
|
|
447
|
+
type index$t_VerifySiweMessageParams = VerifySiweMessageParams;
|
|
448
|
+
declare const index$t_createSiweMessage: typeof createSiweMessage;
|
|
449
|
+
declare const index$t_parseSiweMessage: typeof parseSiweMessage;
|
|
450
|
+
declare const index$t_verifySiweMessage: typeof verifySiweMessage;
|
|
451
|
+
declare namespace index$t {
|
|
452
|
+
export { type index$t_CreateSiweMessageParams as CreateSiweMessageParams, ParseError$1 as ParseError, type index$t_SiweFields as SiweFields, type index$t_SiweMessage as SiweMessage, index$t_SiweMessageSchema as SiweMessageSchema, index$t_VerifyError as VerifyError, type index$t_VerifySiweMessageParams as VerifySiweMessageParams, index$t_createSiweMessage as createSiweMessage, index$t_parseSiweMessage as parseSiweMessage, index$t_verifySiweMessage as verifySiweMessage };
|
|
389
453
|
}
|
|
390
454
|
|
|
391
455
|
/**
|
|
@@ -571,29 +635,29 @@ declare const toLightBlock: (block: unknown) => LightBlock;
|
|
|
571
635
|
* ```
|
|
572
636
|
*/
|
|
573
637
|
|
|
574
|
-
declare const index$
|
|
575
|
-
type index$
|
|
576
|
-
declare const index$
|
|
577
|
-
declare const index$
|
|
578
|
-
type index$
|
|
579
|
-
declare const index$
|
|
580
|
-
declare const index$
|
|
581
|
-
declare const index$
|
|
582
|
-
declare const index$
|
|
583
|
-
declare const index$
|
|
584
|
-
declare const index$
|
|
585
|
-
declare const index$
|
|
586
|
-
declare const index$
|
|
587
|
-
declare const index$
|
|
588
|
-
declare const index$
|
|
589
|
-
declare const index$
|
|
590
|
-
declare const index$
|
|
591
|
-
declare const index$
|
|
592
|
-
declare const index$
|
|
593
|
-
declare const index$
|
|
594
|
-
declare const index$
|
|
595
|
-
declare namespace index$
|
|
596
|
-
export { index$
|
|
638
|
+
declare const index$s_BackfillOptions: typeof BackfillOptions;
|
|
639
|
+
type index$s_BlockError = BlockError;
|
|
640
|
+
declare const index$s_BlockError: typeof BlockError;
|
|
641
|
+
declare const index$s_BlockInclude: typeof BlockInclude;
|
|
642
|
+
type index$s_BlockNotFoundError = BlockNotFoundError;
|
|
643
|
+
declare const index$s_BlockNotFoundError: typeof BlockNotFoundError;
|
|
644
|
+
declare const index$s_BlockStream: typeof BlockStream;
|
|
645
|
+
declare const index$s_BlockStreamConstructorOptions: typeof BlockStreamConstructorOptions;
|
|
646
|
+
declare const index$s_BlockStreamEvent: typeof BlockStreamEvent;
|
|
647
|
+
declare const index$s_BlockStreamMetadata: typeof BlockStreamMetadata;
|
|
648
|
+
declare const index$s_BlockStreamOptions: typeof BlockStreamOptions;
|
|
649
|
+
declare const index$s_BlocksEvent: typeof BlocksEvent;
|
|
650
|
+
declare const index$s_LightBlock: typeof LightBlock;
|
|
651
|
+
declare const index$s_ReorgEvent: typeof ReorgEvent;
|
|
652
|
+
declare const index$s_RetryOptions: typeof RetryOptions;
|
|
653
|
+
declare const index$s_StreamBlock: typeof StreamBlock;
|
|
654
|
+
declare const index$s_WatchOptions: typeof WatchOptions;
|
|
655
|
+
declare const index$s_fetchBlock: typeof fetchBlock;
|
|
656
|
+
declare const index$s_fetchBlockByHash: typeof fetchBlockByHash;
|
|
657
|
+
declare const index$s_fetchBlockReceipts: typeof fetchBlockReceipts;
|
|
658
|
+
declare const index$s_toLightBlock: typeof toLightBlock;
|
|
659
|
+
declare namespace index$s {
|
|
660
|
+
export { index$s_BackfillOptions as BackfillOptions, index$s_BlockError as BlockError, index$s_BlockInclude as BlockInclude, index$s_BlockNotFoundError as BlockNotFoundError, index$s_BlockStream as BlockStream, index$s_BlockStreamConstructorOptions as BlockStreamConstructorOptions, index$s_BlockStreamEvent as BlockStreamEvent, index$s_BlockStreamMetadata as BlockStreamMetadata, index$s_BlockStreamOptions as BlockStreamOptions, index$s_BlocksEvent as BlocksEvent, index$s_LightBlock as LightBlock, index$s_ReorgEvent as ReorgEvent, index$s_RetryOptions as RetryOptions, index$s_StreamBlock as StreamBlock, index$s_WatchOptions as WatchOptions, index$s_fetchBlock as fetchBlock, index$s_fetchBlockByHash as fetchBlockByHash, index$s_fetchBlockReceipts as fetchBlockReceipts, index$s_toLightBlock as toLightBlock };
|
|
597
661
|
}
|
|
598
662
|
|
|
599
663
|
/**
|
|
@@ -635,17 +699,17 @@ declare class EventStreamError extends EventStreamError_base<{
|
|
|
635
699
|
* @see {@link TransportService} - Required dependency
|
|
636
700
|
*/
|
|
637
701
|
|
|
638
|
-
type EventType = BrandedAbi.Event.EventType;
|
|
702
|
+
type EventType$1 = BrandedAbi.Event.EventType;
|
|
639
703
|
|
|
640
704
|
/**
|
|
641
705
|
* Options for backfill with address and event included
|
|
642
706
|
*/
|
|
643
|
-
interface BackfillStreamOptions<TEvent extends EventType> extends Omit<EventStreamConstructorOptions<TEvent>, "provider">, BackfillOptions$1 {
|
|
707
|
+
interface BackfillStreamOptions<TEvent extends EventType$1> extends Omit<EventStreamConstructorOptions<TEvent>, "provider">, BackfillOptions$1 {
|
|
644
708
|
}
|
|
645
709
|
/**
|
|
646
710
|
* Options for watch with address and event included
|
|
647
711
|
*/
|
|
648
|
-
interface WatchStreamOptions<TEvent extends EventType> extends Omit<EventStreamConstructorOptions<TEvent>, "provider">, WatchOptions$1 {
|
|
712
|
+
interface WatchStreamOptions<TEvent extends EventType$1> extends Omit<EventStreamConstructorOptions<TEvent>, "provider">, WatchOptions$1 {
|
|
649
713
|
}
|
|
650
714
|
/**
|
|
651
715
|
* Shape of the EventStream service.
|
|
@@ -672,7 +736,7 @@ type EventStreamShape = {
|
|
|
672
736
|
* });
|
|
673
737
|
* ```
|
|
674
738
|
*/
|
|
675
|
-
readonly backfill: <TEvent extends EventType>(options: BackfillStreamOptions<TEvent>) => Stream.Stream<EventStreamResult<TEvent>, EventStreamError>;
|
|
739
|
+
readonly backfill: <TEvent extends EventType$1>(options: BackfillStreamOptions<TEvent>) => Stream.Stream<EventStreamResult<TEvent>, EventStreamError>;
|
|
676
740
|
/**
|
|
677
741
|
* Watch for new events by polling.
|
|
678
742
|
*
|
|
@@ -690,7 +754,7 @@ type EventStreamShape = {
|
|
|
690
754
|
* });
|
|
691
755
|
* ```
|
|
692
756
|
*/
|
|
693
|
-
readonly watch: <TEvent extends EventType>(options: WatchStreamOptions<TEvent>) => Stream.Stream<EventStreamResult<TEvent>, EventStreamError>;
|
|
757
|
+
readonly watch: <TEvent extends EventType$1>(options: WatchStreamOptions<TEvent>) => Stream.Stream<EventStreamResult<TEvent>, EventStreamError>;
|
|
694
758
|
};
|
|
695
759
|
declare const EventStreamService_base: Context.TagClass<EventStreamService, "EventStreamService", EventStreamShape>;
|
|
696
760
|
/**
|
|
@@ -822,22 +886,22 @@ declare const validateWordCount: (mnemonic: string) => boolean;
|
|
|
822
886
|
* @see {@link https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki | BIP-39 Specification}
|
|
823
887
|
*/
|
|
824
888
|
|
|
825
|
-
declare const index$
|
|
826
|
-
declare const index$
|
|
827
|
-
declare const index$
|
|
828
|
-
declare const index$
|
|
829
|
-
declare const index$
|
|
830
|
-
declare const index$
|
|
831
|
-
declare const index$
|
|
832
|
-
declare const index$
|
|
833
|
-
declare const index$
|
|
834
|
-
declare const index$
|
|
835
|
-
declare const index$
|
|
836
|
-
declare const index$
|
|
837
|
-
declare const index$
|
|
838
|
-
declare const index$
|
|
839
|
-
declare namespace index$
|
|
840
|
-
export { index$
|
|
889
|
+
declare const index$r_Bip39Live: typeof Bip39Live;
|
|
890
|
+
declare const index$r_Bip39Service: typeof Bip39Service;
|
|
891
|
+
declare const index$r_Bip39ServiceShape: typeof Bip39ServiceShape;
|
|
892
|
+
declare const index$r_Bip39Test: typeof Bip39Test;
|
|
893
|
+
declare const index$r_MnemonicStrength: typeof MnemonicStrength;
|
|
894
|
+
declare const index$r_WORD_COUNTS: typeof WORD_COUNTS;
|
|
895
|
+
declare const index$r_generateMnemonic: typeof generateMnemonic;
|
|
896
|
+
declare const index$r_getWordCount: typeof getWordCount;
|
|
897
|
+
declare const index$r_mnemonicToSeed: typeof mnemonicToSeed;
|
|
898
|
+
declare const index$r_mnemonicToSeedSync: typeof mnemonicToSeedSync;
|
|
899
|
+
declare const index$r_mnemonicToWords: typeof mnemonicToWords;
|
|
900
|
+
declare const index$r_validateMnemonic: typeof validateMnemonic;
|
|
901
|
+
declare const index$r_validateWordCount: typeof validateWordCount;
|
|
902
|
+
declare const index$r_wordsToMnemonic: typeof wordsToMnemonic;
|
|
903
|
+
declare namespace index$r {
|
|
904
|
+
export { index$r_Bip39Live as Bip39Live, index$r_Bip39Service as Bip39Service, index$r_Bip39ServiceShape as Bip39ServiceShape, index$r_Bip39Test as Bip39Test, index$r_MnemonicStrength as MnemonicStrength, index$r_WORD_COUNTS as WORD_COUNTS, index$r_generateMnemonic as generateMnemonic, index$r_getWordCount as getWordCount, index$r_mnemonicToSeed as mnemonicToSeed, index$r_mnemonicToSeedSync as mnemonicToSeedSync, index$r_mnemonicToWords as mnemonicToWords, index$r_validateMnemonic as validateMnemonic, index$r_validateWordCount as validateWordCount, index$r_wordsToMnemonic as wordsToMnemonic };
|
|
841
905
|
}
|
|
842
906
|
|
|
843
907
|
/**
|
|
@@ -869,11 +933,11 @@ declare namespace index$q {
|
|
|
869
933
|
* @since 0.0.1
|
|
870
934
|
*/
|
|
871
935
|
|
|
872
|
-
declare const index$
|
|
873
|
-
declare const index$
|
|
874
|
-
declare const index$
|
|
875
|
-
declare namespace index$
|
|
876
|
-
export { index$
|
|
936
|
+
declare const index$q_Blake2Live: typeof Blake2Live;
|
|
937
|
+
declare const index$q_Blake2Service: typeof Blake2Service;
|
|
938
|
+
declare const index$q_Blake2Test: typeof Blake2Test;
|
|
939
|
+
declare namespace index$q {
|
|
940
|
+
export { index$q_Blake2Live as Blake2Live, index$q_Blake2Service as Blake2Service, index$q_Blake2Test as Blake2Test, hash$1 as hash };
|
|
877
941
|
}
|
|
878
942
|
|
|
879
943
|
/**
|
|
@@ -911,12 +975,12 @@ declare namespace index$p {
|
|
|
911
975
|
* @since 0.0.1
|
|
912
976
|
*/
|
|
913
977
|
|
|
914
|
-
declare const index$
|
|
915
|
-
declare const index$
|
|
916
|
-
declare const index$
|
|
917
|
-
declare const index$
|
|
918
|
-
declare namespace index$
|
|
919
|
-
export { index$
|
|
978
|
+
declare const index$p_Bls12381Live: typeof Bls12381Live;
|
|
979
|
+
declare const index$p_Bls12381Service: typeof Bls12381Service;
|
|
980
|
+
declare const index$p_Bls12381ServiceShape: typeof Bls12381ServiceShape;
|
|
981
|
+
declare const index$p_aggregate: typeof aggregate;
|
|
982
|
+
declare namespace index$p {
|
|
983
|
+
export { index$p_Bls12381Live as Bls12381Live, index$p_Bls12381Service as Bls12381Service, index$p_Bls12381ServiceShape as Bls12381ServiceShape, index$p_aggregate as aggregate, sign$1 as sign, verify$1 as verify };
|
|
920
984
|
}
|
|
921
985
|
|
|
922
986
|
/**
|
|
@@ -973,20 +1037,20 @@ type G2PointType = Uint8Array & {
|
|
|
973
1037
|
* @since 0.0.1
|
|
974
1038
|
*/
|
|
975
1039
|
|
|
976
|
-
declare const index$
|
|
977
|
-
declare const index$
|
|
978
|
-
declare const index$
|
|
979
|
-
declare const index$
|
|
980
|
-
declare const index$
|
|
981
|
-
declare const index$
|
|
982
|
-
declare const index$
|
|
983
|
-
declare const index$
|
|
984
|
-
declare const index$
|
|
985
|
-
declare const index$
|
|
986
|
-
declare const index$
|
|
987
|
-
declare const index$
|
|
988
|
-
declare namespace index$
|
|
989
|
-
export { type G1PointType as BN254G1PointType, type G2PointType as BN254G2PointType, index$
|
|
1040
|
+
declare const index$o_Bn254Error: typeof Bn254Error;
|
|
1041
|
+
declare const index$o_Bn254Live: typeof Bn254Live;
|
|
1042
|
+
declare const index$o_Bn254Service: typeof Bn254Service;
|
|
1043
|
+
declare const index$o_Bn254ServiceShape: typeof Bn254ServiceShape;
|
|
1044
|
+
declare const index$o_Bn254Test: typeof Bn254Test;
|
|
1045
|
+
declare const index$o_g1Add: typeof g1Add;
|
|
1046
|
+
declare const index$o_g1Generator: typeof g1Generator;
|
|
1047
|
+
declare const index$o_g1Mul: typeof g1Mul;
|
|
1048
|
+
declare const index$o_g2Add: typeof g2Add;
|
|
1049
|
+
declare const index$o_g2Generator: typeof g2Generator;
|
|
1050
|
+
declare const index$o_g2Mul: typeof g2Mul;
|
|
1051
|
+
declare const index$o_pairingCheck: typeof pairingCheck;
|
|
1052
|
+
declare namespace index$o {
|
|
1053
|
+
export { type G1PointType as BN254G1PointType, type G2PointType as BN254G2PointType, index$o_Bn254Error as Bn254Error, index$o_Bn254Live as Bn254Live, index$o_Bn254Service as Bn254Service, index$o_Bn254ServiceShape as Bn254ServiceShape, index$o_Bn254Test as Bn254Test, index$o_g1Add as g1Add, index$o_g1Generator as g1Generator, index$o_g1Mul as g1Mul, index$o_g2Add as g2Add, index$o_g2Generator as g2Generator, index$o_g2Mul as g2Mul, index$o_pairingCheck as pairingCheck };
|
|
990
1054
|
}
|
|
991
1055
|
|
|
992
1056
|
/**
|
|
@@ -1024,19 +1088,19 @@ declare namespace index$n {
|
|
|
1024
1088
|
* @see {@link https://datatracker.ietf.org/doc/html/rfc8439 | RFC 8439}
|
|
1025
1089
|
*/
|
|
1026
1090
|
|
|
1027
|
-
declare const index$
|
|
1028
|
-
declare const index$
|
|
1029
|
-
declare const index$
|
|
1030
|
-
declare const index$
|
|
1031
|
-
declare const index$
|
|
1032
|
-
declare const index$
|
|
1033
|
-
declare const index$
|
|
1034
|
-
declare const index$
|
|
1035
|
-
declare const index$
|
|
1036
|
-
declare const index$
|
|
1037
|
-
declare const index$
|
|
1038
|
-
declare namespace index$
|
|
1039
|
-
export { index$
|
|
1091
|
+
declare const index$n_ChaCha20Poly1305Error: typeof ChaCha20Poly1305Error;
|
|
1092
|
+
declare const index$n_ChaCha20Poly1305Live: typeof ChaCha20Poly1305Live;
|
|
1093
|
+
declare const index$n_ChaCha20Poly1305Service: typeof ChaCha20Poly1305Service;
|
|
1094
|
+
declare const index$n_ChaCha20Poly1305ServiceShape: typeof ChaCha20Poly1305ServiceShape;
|
|
1095
|
+
declare const index$n_ChaCha20Poly1305Test: typeof ChaCha20Poly1305Test;
|
|
1096
|
+
declare const index$n_InvalidKeyError: typeof InvalidKeyError;
|
|
1097
|
+
declare const index$n_InvalidNonceError: typeof InvalidNonceError;
|
|
1098
|
+
declare const index$n_decrypt: typeof decrypt;
|
|
1099
|
+
declare const index$n_encrypt: typeof encrypt;
|
|
1100
|
+
declare const index$n_generateKey: typeof generateKey;
|
|
1101
|
+
declare const index$n_generateNonce: typeof generateNonce;
|
|
1102
|
+
declare namespace index$n {
|
|
1103
|
+
export { index$n_ChaCha20Poly1305Error as ChaCha20Poly1305Error, index$n_ChaCha20Poly1305Live as ChaCha20Poly1305Live, index$n_ChaCha20Poly1305Service as ChaCha20Poly1305Service, index$n_ChaCha20Poly1305ServiceShape as ChaCha20Poly1305ServiceShape, index$n_ChaCha20Poly1305Test as ChaCha20Poly1305Test, index$n_InvalidKeyError as InvalidKeyError, index$n_InvalidNonceError as InvalidNonceError, index$n_decrypt as decrypt, index$n_encrypt as encrypt, index$n_generateKey as generateKey, index$n_generateNonce as generateNonce };
|
|
1040
1104
|
}
|
|
1041
1105
|
|
|
1042
1106
|
/**
|
|
@@ -1075,13 +1139,13 @@ declare namespace index$m {
|
|
|
1075
1139
|
* @since 0.0.1
|
|
1076
1140
|
*/
|
|
1077
1141
|
|
|
1078
|
-
declare const index$
|
|
1079
|
-
declare const index$
|
|
1080
|
-
declare const index$
|
|
1081
|
-
declare const index$
|
|
1082
|
-
declare const index$
|
|
1083
|
-
declare namespace index$
|
|
1084
|
-
export { index$
|
|
1142
|
+
declare const index$m_Ed25519Live: typeof Ed25519Live;
|
|
1143
|
+
declare const index$m_Ed25519Service: typeof Ed25519Service;
|
|
1144
|
+
declare const index$m_Ed25519ServiceShape: typeof Ed25519ServiceShape;
|
|
1145
|
+
declare const index$m_Ed25519Test: typeof Ed25519Test;
|
|
1146
|
+
declare const index$m_getPublicKey: typeof getPublicKey;
|
|
1147
|
+
declare namespace index$m {
|
|
1148
|
+
export { index$m_Ed25519Live as Ed25519Live, index$m_Ed25519Service as Ed25519Service, index$m_Ed25519ServiceShape as Ed25519ServiceShape, index$m_Ed25519Test as Ed25519Test, index$m_getPublicKey as getPublicKey, sign$2 as sign, verify$2 as verify };
|
|
1085
1149
|
}
|
|
1086
1150
|
|
|
1087
1151
|
/**
|
|
@@ -1090,11 +1154,11 @@ declare namespace index$l {
|
|
|
1090
1154
|
* @since 0.2.14
|
|
1091
1155
|
*/
|
|
1092
1156
|
|
|
1093
|
-
declare const index$
|
|
1094
|
-
declare const index$
|
|
1095
|
-
declare const index$
|
|
1096
|
-
declare namespace index$
|
|
1097
|
-
export { index$
|
|
1157
|
+
declare const index$l_unwrapSignature: typeof unwrapSignature;
|
|
1158
|
+
declare const index$l_verifySignature: typeof verifySignature;
|
|
1159
|
+
declare const index$l_wrapSignature: typeof wrapSignature;
|
|
1160
|
+
declare namespace index$l {
|
|
1161
|
+
export { index$l_unwrapSignature as unwrapSignature, index$l_verifySignature as verifySignature, index$l_wrapSignature as wrapSignature };
|
|
1098
1162
|
}
|
|
1099
1163
|
|
|
1100
1164
|
/**
|
|
@@ -1136,24 +1200,24 @@ declare namespace index$k {
|
|
|
1136
1200
|
* @see {@link https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki | BIP-44 Multi-Account}
|
|
1137
1201
|
*/
|
|
1138
1202
|
|
|
1139
|
-
declare const index$
|
|
1140
|
-
declare const index$
|
|
1141
|
-
declare const index$
|
|
1142
|
-
declare const index$
|
|
1143
|
-
declare const index$
|
|
1144
|
-
declare const index$
|
|
1145
|
-
declare const index$
|
|
1146
|
-
declare const index$
|
|
1147
|
-
declare const index$
|
|
1148
|
-
declare const index$
|
|
1149
|
-
declare const index$
|
|
1150
|
-
declare const index$
|
|
1151
|
-
declare const index$
|
|
1152
|
-
declare const index$
|
|
1153
|
-
declare const index$
|
|
1154
|
-
declare const index$
|
|
1155
|
-
declare namespace index$
|
|
1156
|
-
export { index$
|
|
1203
|
+
declare const index$k_HDNode: typeof HDNode;
|
|
1204
|
+
declare const index$k_HDPath: typeof HDPath;
|
|
1205
|
+
declare const index$k_HDWalletError: typeof HDWalletError;
|
|
1206
|
+
declare const index$k_HDWalletService: typeof HDWalletService;
|
|
1207
|
+
declare const index$k_HDWalletServiceShape: typeof HDWalletServiceShape;
|
|
1208
|
+
declare const index$k_HDWalletTest: typeof HDWalletTest;
|
|
1209
|
+
declare const index$k_HardenedDerivationError: typeof HardenedDerivationError;
|
|
1210
|
+
declare const index$k_InvalidPathError: typeof InvalidPathError;
|
|
1211
|
+
declare const index$k_InvalidSeedError: typeof InvalidSeedError;
|
|
1212
|
+
declare const index$k_derive: typeof derive;
|
|
1213
|
+
declare const index$k_fromMnemonic: typeof fromMnemonic;
|
|
1214
|
+
declare const index$k_fromSeed: typeof fromSeed;
|
|
1215
|
+
declare const index$k_getPrivateKey: typeof getPrivateKey;
|
|
1216
|
+
declare const index$k_mapToHDWalletError: typeof mapToHDWalletError;
|
|
1217
|
+
declare const index$k_withPrivateKey: typeof withPrivateKey;
|
|
1218
|
+
declare const index$k_withSeed: typeof withSeed;
|
|
1219
|
+
declare namespace index$k {
|
|
1220
|
+
export { index$k_HDNode as HDNode, index$k_HDPath as HDPath, index$k_HDWalletError as HDWalletError, index$k_HDWalletService as HDWalletService, index$k_HDWalletServiceShape as HDWalletServiceShape, index$k_HDWalletTest as HDWalletTest, index$k_HardenedDerivationError as HardenedDerivationError, InvalidKeyError$1 as InvalidKeyError, index$k_InvalidPathError as InvalidPathError, index$k_InvalidSeedError as InvalidSeedError, index$k_derive as derive, index$k_fromMnemonic as fromMnemonic, index$k_fromSeed as fromSeed, generateMnemonic$1 as generateMnemonic, index$k_getPrivateKey as getPrivateKey, getPublicKey$1 as getPublicKey, index$k_mapToHDWalletError as mapToHDWalletError, mnemonicToSeed$1 as mnemonicToSeed, index$k_withPrivateKey as withPrivateKey, index$k_withSeed as withSeed };
|
|
1157
1221
|
}
|
|
1158
1222
|
|
|
1159
1223
|
/**
|
|
@@ -1189,14 +1253,14 @@ declare namespace index$j {
|
|
|
1189
1253
|
* @since 0.0.1
|
|
1190
1254
|
*/
|
|
1191
1255
|
|
|
1192
|
-
declare const index$
|
|
1193
|
-
declare const index$
|
|
1194
|
-
declare const index$
|
|
1195
|
-
declare const index$
|
|
1196
|
-
declare const index$
|
|
1197
|
-
declare const index$
|
|
1198
|
-
declare namespace index$
|
|
1199
|
-
export { index$
|
|
1256
|
+
declare const index$j_HMACLive: typeof HMACLive;
|
|
1257
|
+
declare const index$j_HMACService: typeof HMACService;
|
|
1258
|
+
declare const index$j_HMACServiceShape: typeof HMACServiceShape;
|
|
1259
|
+
declare const index$j_HMACTest: typeof HMACTest;
|
|
1260
|
+
declare const index$j_hmacSha256: typeof hmacSha256;
|
|
1261
|
+
declare const index$j_hmacSha512: typeof hmacSha512;
|
|
1262
|
+
declare namespace index$j {
|
|
1263
|
+
export { index$j_HMACLive as HMACLive, index$j_HMACService as HMACService, index$j_HMACServiceShape as HMACServiceShape, index$j_HMACTest as HMACTest, index$j_hmacSha256 as hmacSha256, index$j_hmacSha512 as hmacSha512 };
|
|
1200
1264
|
}
|
|
1201
1265
|
|
|
1202
1266
|
/**
|
|
@@ -1231,14 +1295,14 @@ declare namespace index$i {
|
|
|
1231
1295
|
* @see {@link https://eips.ethereum.org/EIPS/eip-2335 | EIP-2335}
|
|
1232
1296
|
*/
|
|
1233
1297
|
|
|
1234
|
-
declare const index$
|
|
1235
|
-
declare const index$
|
|
1236
|
-
declare const index$
|
|
1237
|
-
declare const index$
|
|
1238
|
-
declare const index$
|
|
1239
|
-
declare const index$
|
|
1240
|
-
declare namespace index$
|
|
1241
|
-
export { index$
|
|
1298
|
+
declare const index$i_DecryptError: typeof DecryptError;
|
|
1299
|
+
declare const index$i_KeystoreLive: typeof KeystoreLive;
|
|
1300
|
+
declare const index$i_KeystoreService: typeof KeystoreService;
|
|
1301
|
+
declare const index$i_KeystoreServiceShape: typeof KeystoreServiceShape;
|
|
1302
|
+
declare const index$i_KeystoreTest: typeof KeystoreTest;
|
|
1303
|
+
declare const index$i_withDecryptedKey: typeof withDecryptedKey;
|
|
1304
|
+
declare namespace index$i {
|
|
1305
|
+
export { index$i_DecryptError as DecryptError, index$i_KeystoreLive as KeystoreLive, index$i_KeystoreService as KeystoreService, index$i_KeystoreServiceShape as KeystoreServiceShape, index$i_KeystoreTest as KeystoreTest, decrypt$1 as decrypt, encrypt$1 as encrypt, index$i_withDecryptedKey as withDecryptedKey };
|
|
1242
1306
|
}
|
|
1243
1307
|
|
|
1244
1308
|
/**
|
|
@@ -1274,16 +1338,16 @@ declare namespace index$h {
|
|
|
1274
1338
|
* @see {@link https://eips.ethereum.org/EIPS/eip-4844 | EIP-4844}
|
|
1275
1339
|
*/
|
|
1276
1340
|
|
|
1277
|
-
declare const index$
|
|
1278
|
-
declare const index$
|
|
1279
|
-
declare const index$
|
|
1280
|
-
declare const index$
|
|
1281
|
-
declare const index$
|
|
1282
|
-
declare const index$
|
|
1283
|
-
declare const index$
|
|
1284
|
-
declare const index$
|
|
1285
|
-
declare namespace index$
|
|
1286
|
-
export { index$
|
|
1341
|
+
declare const index$h_KZGError: typeof KZGError;
|
|
1342
|
+
declare const index$h_KZGLive: typeof KZGLive;
|
|
1343
|
+
declare const index$h_KZGService: typeof KZGService;
|
|
1344
|
+
declare const index$h_KZGServiceShape: typeof KZGServiceShape;
|
|
1345
|
+
declare const index$h_KZGTest: typeof KZGTest;
|
|
1346
|
+
declare const index$h_blobToKzgCommitment: typeof blobToKzgCommitment;
|
|
1347
|
+
declare const index$h_computeBlobKzgProof: typeof computeBlobKzgProof;
|
|
1348
|
+
declare const index$h_verifyBlobKzgProof: typeof verifyBlobKzgProof;
|
|
1349
|
+
declare namespace index$h {
|
|
1350
|
+
export { index$h_KZGError as KZGError, index$h_KZGLive as KZGLive, index$h_KZGService as KZGService, index$h_KZGServiceShape as KZGServiceShape, index$h_KZGTest as KZGTest, index$h_blobToKzgCommitment as blobToKzgCommitment, index$h_computeBlobKzgProof as computeBlobKzgProof, index$h_verifyBlobKzgProof as verifyBlobKzgProof };
|
|
1287
1351
|
}
|
|
1288
1352
|
|
|
1289
1353
|
/**
|
|
@@ -1319,15 +1383,15 @@ declare namespace index$g {
|
|
|
1319
1383
|
* @see {@link https://eips.ethereum.org/EIPS/eip-2565 | EIP-2565}
|
|
1320
1384
|
*/
|
|
1321
1385
|
|
|
1322
|
-
declare const index$
|
|
1323
|
-
declare const index$
|
|
1324
|
-
declare const index$
|
|
1325
|
-
declare const index$
|
|
1326
|
-
declare const index$
|
|
1327
|
-
declare const index$
|
|
1328
|
-
declare const index$
|
|
1329
|
-
declare namespace index$
|
|
1330
|
-
export { index$
|
|
1386
|
+
declare const index$g_ModExpLive: typeof ModExpLive;
|
|
1387
|
+
declare const index$g_ModExpService: typeof ModExpService;
|
|
1388
|
+
declare const index$g_ModExpServiceShape: typeof ModExpServiceShape;
|
|
1389
|
+
declare const index$g_ModExpTest: typeof ModExpTest;
|
|
1390
|
+
declare const index$g_calculateGas: typeof calculateGas;
|
|
1391
|
+
declare const index$g_modexp: typeof modexp;
|
|
1392
|
+
declare const index$g_modexpBytes: typeof modexpBytes;
|
|
1393
|
+
declare namespace index$g {
|
|
1394
|
+
export { index$g_ModExpLive as ModExpLive, index$g_ModExpService as ModExpService, index$g_ModExpServiceShape as ModExpServiceShape, index$g_ModExpTest as ModExpTest, index$g_calculateGas as calculateGas, index$g_modexp as modexp, index$g_modexpBytes as modexpBytes };
|
|
1331
1395
|
}
|
|
1332
1396
|
|
|
1333
1397
|
/**
|
|
@@ -1363,11 +1427,11 @@ declare namespace index$f {
|
|
|
1363
1427
|
* @since 0.0.1
|
|
1364
1428
|
*/
|
|
1365
1429
|
|
|
1366
|
-
declare const index$
|
|
1367
|
-
declare const index$
|
|
1368
|
-
declare const index$
|
|
1369
|
-
declare namespace index$
|
|
1370
|
-
export { index$
|
|
1430
|
+
declare const index$f_P256Live: typeof P256Live;
|
|
1431
|
+
declare const index$f_P256Service: typeof P256Service;
|
|
1432
|
+
declare const index$f_P256ServiceShape: typeof P256ServiceShape;
|
|
1433
|
+
declare namespace index$f {
|
|
1434
|
+
export { index$f_P256Live as P256Live, index$f_P256Service as P256Service, index$f_P256ServiceShape as P256ServiceShape, sign$3 as sign, verify$3 as verify };
|
|
1371
1435
|
}
|
|
1372
1436
|
|
|
1373
1437
|
/**
|
|
@@ -1399,11 +1463,11 @@ declare namespace index$e {
|
|
|
1399
1463
|
* @since 0.0.1
|
|
1400
1464
|
*/
|
|
1401
1465
|
|
|
1402
|
-
declare const index$
|
|
1403
|
-
declare const index$
|
|
1404
|
-
declare const index$
|
|
1405
|
-
declare namespace index$
|
|
1406
|
-
export { index$
|
|
1466
|
+
declare const index$e_Ripemd160Live: typeof Ripemd160Live;
|
|
1467
|
+
declare const index$e_Ripemd160Service: typeof Ripemd160Service;
|
|
1468
|
+
declare const index$e_Ripemd160Test: typeof Ripemd160Test;
|
|
1469
|
+
declare namespace index$e {
|
|
1470
|
+
export { index$e_Ripemd160Live as Ripemd160Live, index$e_Ripemd160Service as Ripemd160Service, index$e_Ripemd160Test as Ripemd160Test, hash$2 as hash };
|
|
1407
1471
|
}
|
|
1408
1472
|
|
|
1409
1473
|
/**
|
|
@@ -1452,11 +1516,11 @@ declare namespace index$d {
|
|
|
1452
1516
|
* @since 0.0.1
|
|
1453
1517
|
*/
|
|
1454
1518
|
|
|
1455
|
-
declare const index$
|
|
1456
|
-
declare const index$
|
|
1457
|
-
declare const index$
|
|
1458
|
-
declare namespace index$
|
|
1459
|
-
export { index$
|
|
1519
|
+
declare const index$d_SHA256Live: typeof SHA256Live;
|
|
1520
|
+
declare const index$d_SHA256Service: typeof SHA256Service;
|
|
1521
|
+
declare const index$d_SHA256Test: typeof SHA256Test;
|
|
1522
|
+
declare namespace index$d {
|
|
1523
|
+
export { index$d_SHA256Live as SHA256Live, index$d_SHA256Service as SHA256Service, index$d_SHA256Test as SHA256Test, hash$3 as hash };
|
|
1460
1524
|
}
|
|
1461
1525
|
|
|
1462
1526
|
/**
|
|
@@ -1494,14 +1558,14 @@ declare namespace index$c {
|
|
|
1494
1558
|
* @see {@link https://datatracker.ietf.org/doc/html/rfc7748 | RFC 7748}
|
|
1495
1559
|
*/
|
|
1496
1560
|
|
|
1497
|
-
declare const index$
|
|
1498
|
-
declare const index$
|
|
1499
|
-
declare const index$
|
|
1500
|
-
declare const index$
|
|
1501
|
-
declare const index$
|
|
1502
|
-
declare const index$
|
|
1503
|
-
declare namespace index$
|
|
1504
|
-
export { index$
|
|
1561
|
+
declare const index$c_X25519Live: typeof X25519Live;
|
|
1562
|
+
declare const index$c_X25519Service: typeof X25519Service;
|
|
1563
|
+
declare const index$c_X25519ServiceShape: typeof X25519ServiceShape;
|
|
1564
|
+
declare const index$c_X25519Test: typeof X25519Test;
|
|
1565
|
+
declare const index$c_computeSecret: typeof computeSecret;
|
|
1566
|
+
declare const index$c_generateKeyPair: typeof generateKeyPair;
|
|
1567
|
+
declare namespace index$c {
|
|
1568
|
+
export { index$c_X25519Live as X25519Live, index$c_X25519Service as X25519Service, index$c_X25519ServiceShape as X25519ServiceShape, index$c_X25519Test as X25519Test, index$c_computeSecret as computeSecret, index$c_generateKeyPair as generateKeyPair, getPublicKey$2 as getPublicKey };
|
|
1505
1569
|
}
|
|
1506
1570
|
|
|
1507
1571
|
type JsonRpcIdType = number | string | null;
|
|
@@ -2049,13 +2113,13 @@ type JsonRpcErrorResponseType$1 = {
|
|
|
2049
2113
|
};
|
|
2050
2114
|
type JsonRpcResponseType<TResult = unknown> = JsonRpcSuccessResponseType<TResult> | JsonRpcErrorResponseType$1;
|
|
2051
2115
|
declare function from$1<TResult = unknown>(raw: unknown): JsonRpcResponseType<TResult>;
|
|
2052
|
-
declare function parse$
|
|
2116
|
+
declare function parse$2<TResult = unknown>(raw: unknown): Effect.Effect<JsonRpcResponseType<TResult>, JsonRpcParseError>;
|
|
2053
2117
|
declare function isSuccess<TResult>(response: JsonRpcResponseType<TResult>): response is JsonRpcSuccessResponseType<TResult>;
|
|
2054
2118
|
declare function isError<TResult>(response: JsonRpcResponseType<TResult>): response is JsonRpcErrorResponseType$1;
|
|
2055
2119
|
declare function unwrap<TResult>(response: JsonRpcResponseType<TResult>): Effect.Effect<TResult, JsonRpcErrorResponse>;
|
|
2056
2120
|
declare const Response: {
|
|
2057
2121
|
from: typeof from$1;
|
|
2058
|
-
parse: typeof parse$
|
|
2122
|
+
parse: typeof parse$2;
|
|
2059
2123
|
isSuccess: typeof isSuccess;
|
|
2060
2124
|
isError: typeof isError;
|
|
2061
2125
|
unwrap: typeof unwrap;
|
|
@@ -2063,13 +2127,13 @@ declare const Response: {
|
|
|
2063
2127
|
|
|
2064
2128
|
type BatchResponseType = readonly JsonRpcResponseType[];
|
|
2065
2129
|
declare function from(raw: unknown[]): BatchResponseType;
|
|
2066
|
-
declare function parse(raw: unknown): Effect.Effect<BatchResponseType, JsonRpcParseError>;
|
|
2130
|
+
declare function parse$1(raw: unknown): Effect.Effect<BatchResponseType, JsonRpcParseError>;
|
|
2067
2131
|
declare function findById(batch: BatchResponseType): (id: JsonRpcIdType) => JsonRpcResponseType | undefined;
|
|
2068
2132
|
declare function errors(batch: BatchResponseType): JsonRpcErrorResponseType$1[];
|
|
2069
2133
|
declare function results(batch: BatchResponseType): JsonRpcResponseType[];
|
|
2070
2134
|
declare const BatchResponse: {
|
|
2071
2135
|
from: typeof from;
|
|
2072
|
-
parse: typeof parse;
|
|
2136
|
+
parse: typeof parse$1;
|
|
2073
2137
|
findById: typeof findById;
|
|
2074
2138
|
errors: typeof errors;
|
|
2075
2139
|
results: typeof results;
|
|
@@ -3248,40 +3312,40 @@ declare const AnvilMethodRequest: S.Union<[S.Struct<{
|
|
|
3248
3312
|
/** Type for AnvilMethodRequest union */
|
|
3249
3313
|
type AnvilMethodRequestType = S.Schema.Type<typeof AnvilMethodRequest>;
|
|
3250
3314
|
|
|
3251
|
-
declare const index$
|
|
3252
|
-
type index$
|
|
3253
|
-
declare const index$
|
|
3254
|
-
declare const index$
|
|
3255
|
-
type index$
|
|
3256
|
-
declare const index$
|
|
3257
|
-
type index$
|
|
3258
|
-
declare const index$
|
|
3259
|
-
declare const index$
|
|
3260
|
-
declare const index$
|
|
3261
|
-
type index$
|
|
3262
|
-
declare const index$
|
|
3263
|
-
type index$
|
|
3264
|
-
declare const index$
|
|
3265
|
-
declare const index$
|
|
3266
|
-
declare const index$
|
|
3267
|
-
type index$
|
|
3268
|
-
declare const index$
|
|
3269
|
-
type index$
|
|
3270
|
-
declare const index$
|
|
3271
|
-
declare const index$
|
|
3272
|
-
declare const index$
|
|
3273
|
-
type index$
|
|
3274
|
-
declare const index$
|
|
3275
|
-
type index$
|
|
3276
|
-
declare const index$
|
|
3277
|
-
declare const index$
|
|
3278
|
-
declare const index$
|
|
3279
|
-
type index$
|
|
3280
|
-
declare const index$
|
|
3281
|
-
type index$
|
|
3282
|
-
declare const index$
|
|
3283
|
-
declare namespace index$
|
|
3284
|
-
export { index$
|
|
3315
|
+
declare const index$b_AnvilMethodRequest: typeof AnvilMethodRequest;
|
|
3316
|
+
type index$b_AnvilMethodRequestType = AnvilMethodRequestType;
|
|
3317
|
+
declare const index$b_RevertParams: typeof RevertParams;
|
|
3318
|
+
declare const index$b_RevertRequest: typeof RevertRequest;
|
|
3319
|
+
type index$b_RevertRequestType = RevertRequestType;
|
|
3320
|
+
declare const index$b_RevertResponse: typeof RevertResponse;
|
|
3321
|
+
type index$b_RevertResponseType = RevertResponseType;
|
|
3322
|
+
declare const index$b_RevertResult: typeof RevertResult;
|
|
3323
|
+
declare const index$b_SetAutomineParams: typeof SetAutomineParams;
|
|
3324
|
+
declare const index$b_SetAutomineRequest: typeof SetAutomineRequest;
|
|
3325
|
+
type index$b_SetAutomineRequestType = SetAutomineRequestType;
|
|
3326
|
+
declare const index$b_SetAutomineResponse: typeof SetAutomineResponse;
|
|
3327
|
+
type index$b_SetAutomineResponseType = SetAutomineResponseType;
|
|
3328
|
+
declare const index$b_SetAutomineResult: typeof SetAutomineResult;
|
|
3329
|
+
declare const index$b_SetBlockTimestampIntervalParams: typeof SetBlockTimestampIntervalParams;
|
|
3330
|
+
declare const index$b_SetBlockTimestampIntervalRequest: typeof SetBlockTimestampIntervalRequest;
|
|
3331
|
+
type index$b_SetBlockTimestampIntervalRequestType = SetBlockTimestampIntervalRequestType;
|
|
3332
|
+
declare const index$b_SetBlockTimestampIntervalResponse: typeof SetBlockTimestampIntervalResponse;
|
|
3333
|
+
type index$b_SetBlockTimestampIntervalResponseType = SetBlockTimestampIntervalResponseType;
|
|
3334
|
+
declare const index$b_SetBlockTimestampIntervalResult: typeof SetBlockTimestampIntervalResult;
|
|
3335
|
+
declare const index$b_SetNextBlockTimestampParams: typeof SetNextBlockTimestampParams;
|
|
3336
|
+
declare const index$b_SetNextBlockTimestampRequest: typeof SetNextBlockTimestampRequest;
|
|
3337
|
+
type index$b_SetNextBlockTimestampRequestType = SetNextBlockTimestampRequestType;
|
|
3338
|
+
declare const index$b_SetNextBlockTimestampResponse: typeof SetNextBlockTimestampResponse;
|
|
3339
|
+
type index$b_SetNextBlockTimestampResponseType = SetNextBlockTimestampResponseType;
|
|
3340
|
+
declare const index$b_SetNextBlockTimestampResult: typeof SetNextBlockTimestampResult;
|
|
3341
|
+
declare const index$b_SnapshotParams: typeof SnapshotParams;
|
|
3342
|
+
declare const index$b_SnapshotRequest: typeof SnapshotRequest;
|
|
3343
|
+
type index$b_SnapshotRequestType = SnapshotRequestType;
|
|
3344
|
+
declare const index$b_SnapshotResponse: typeof SnapshotResponse;
|
|
3345
|
+
type index$b_SnapshotResponseType = SnapshotResponseType;
|
|
3346
|
+
declare const index$b_SnapshotResult: typeof SnapshotResult;
|
|
3347
|
+
declare namespace index$b {
|
|
3348
|
+
export { index$b_AnvilMethodRequest as AnvilMethodRequest, type index$b_AnvilMethodRequestType as AnvilMethodRequestType, DropTransactionParams$1 as DropTransactionParams, DropTransactionRequest$1 as DropTransactionRequest, type DropTransactionRequestType$1 as DropTransactionRequestType, DropTransactionResponse$1 as DropTransactionResponse, type DropTransactionResponseType$1 as DropTransactionResponseType, DropTransactionResult$1 as DropTransactionResult, ForkConfigSchema$1 as ForkConfigSchema, ImpersonateAccountParams$1 as ImpersonateAccountParams, ImpersonateAccountRequest$1 as ImpersonateAccountRequest, type ImpersonateAccountRequestType$1 as ImpersonateAccountRequestType, ImpersonateAccountResponse$1 as ImpersonateAccountResponse, type ImpersonateAccountResponseType$1 as ImpersonateAccountResponseType, ImpersonateAccountResult$1 as ImpersonateAccountResult, MineParams$1 as MineParams, MineRequest$1 as MineRequest, type MineRequestType$1 as MineRequestType, MineResponse$1 as MineResponse, type MineResponseType$1 as MineResponseType, MineResult$1 as MineResult, ResetParams$1 as ResetParams, ResetRequest$1 as ResetRequest, type ResetRequestType$1 as ResetRequestType, ResetResponse$1 as ResetResponse, type ResetResponseType$1 as ResetResponseType, ResetResult$1 as ResetResult, index$b_RevertParams as RevertParams, index$b_RevertRequest as RevertRequest, type index$b_RevertRequestType as RevertRequestType, index$b_RevertResponse as RevertResponse, type index$b_RevertResponseType as RevertResponseType, index$b_RevertResult as RevertResult, index$b_SetAutomineParams as SetAutomineParams, index$b_SetAutomineRequest as SetAutomineRequest, type index$b_SetAutomineRequestType as SetAutomineRequestType, index$b_SetAutomineResponse as SetAutomineResponse, type index$b_SetAutomineResponseType as SetAutomineResponseType, index$b_SetAutomineResult as SetAutomineResult, SetBalanceParams$1 as SetBalanceParams, SetBalanceRequest$1 as SetBalanceRequest, type SetBalanceRequestType$1 as SetBalanceRequestType, SetBalanceResponse$1 as SetBalanceResponse, type SetBalanceResponseType$1 as SetBalanceResponseType, SetBalanceResult$1 as SetBalanceResult, index$b_SetBlockTimestampIntervalParams as SetBlockTimestampIntervalParams, index$b_SetBlockTimestampIntervalRequest as SetBlockTimestampIntervalRequest, type index$b_SetBlockTimestampIntervalRequestType as SetBlockTimestampIntervalRequestType, index$b_SetBlockTimestampIntervalResponse as SetBlockTimestampIntervalResponse, type index$b_SetBlockTimestampIntervalResponseType as SetBlockTimestampIntervalResponseType, index$b_SetBlockTimestampIntervalResult as SetBlockTimestampIntervalResult, SetCodeParams$1 as SetCodeParams, SetCodeRequest$1 as SetCodeRequest, type SetCodeRequestType$1 as SetCodeRequestType, SetCodeResponse$1 as SetCodeResponse, type SetCodeResponseType$1 as SetCodeResponseType, SetCodeResult$1 as SetCodeResult, index$b_SetNextBlockTimestampParams as SetNextBlockTimestampParams, index$b_SetNextBlockTimestampRequest as SetNextBlockTimestampRequest, type index$b_SetNextBlockTimestampRequestType as SetNextBlockTimestampRequestType, index$b_SetNextBlockTimestampResponse as SetNextBlockTimestampResponse, type index$b_SetNextBlockTimestampResponseType as SetNextBlockTimestampResponseType, index$b_SetNextBlockTimestampResult as SetNextBlockTimestampResult, SetNonceParams$1 as SetNonceParams, SetNonceRequest$1 as SetNonceRequest, type SetNonceRequestType$1 as SetNonceRequestType, SetNonceResponse$1 as SetNonceResponse, type SetNonceResponseType$1 as SetNonceResponseType, SetNonceResult$1 as SetNonceResult, SetStorageAtParams$1 as SetStorageAtParams, SetStorageAtRequest$1 as SetStorageAtRequest, type SetStorageAtRequestType$1 as SetStorageAtRequestType, SetStorageAtResponse$1 as SetStorageAtResponse, type SetStorageAtResponseType$1 as SetStorageAtResponseType, SetStorageAtResult$1 as SetStorageAtResult, index$b_SnapshotParams as SnapshotParams, index$b_SnapshotRequest as SnapshotRequest, type index$b_SnapshotRequestType as SnapshotRequestType, index$b_SnapshotResponse as SnapshotResponse, type index$b_SnapshotResponseType as SnapshotResponseType, index$b_SnapshotResult as SnapshotResult, StopImpersonatingAccountParams$1 as StopImpersonatingAccountParams, StopImpersonatingAccountRequest$1 as StopImpersonatingAccountRequest, type StopImpersonatingAccountRequestType$1 as StopImpersonatingAccountRequestType, StopImpersonatingAccountResponse$1 as StopImpersonatingAccountResponse, type StopImpersonatingAccountResponseType$1 as StopImpersonatingAccountResponseType, StopImpersonatingAccountResult$1 as StopImpersonatingAccountResult };
|
|
3285
3349
|
}
|
|
3286
3350
|
|
|
3287
3351
|
/**
|
|
@@ -7095,309 +7159,309 @@ declare const EthMethodRequest: S.Union<[S.Struct<{
|
|
|
7095
7159
|
/** Type for EthMethodRequest union */
|
|
7096
7160
|
type EthMethodRequestType = S.Schema.Type<typeof EthMethodRequest>;
|
|
7097
7161
|
|
|
7098
|
-
declare const index$
|
|
7099
|
-
declare const index$
|
|
7100
|
-
type index$
|
|
7101
|
-
declare const index$
|
|
7102
|
-
type index$
|
|
7103
|
-
declare const index$
|
|
7104
|
-
declare const index$
|
|
7105
|
-
declare const index$
|
|
7106
|
-
type index$
|
|
7107
|
-
declare const index$
|
|
7108
|
-
type index$
|
|
7109
|
-
declare const index$
|
|
7110
|
-
declare const index$
|
|
7111
|
-
declare const index$
|
|
7112
|
-
type index$
|
|
7113
|
-
declare const index$
|
|
7114
|
-
type index$
|
|
7115
|
-
declare const index$
|
|
7116
|
-
declare const index$
|
|
7117
|
-
declare const index$
|
|
7118
|
-
type index$
|
|
7119
|
-
declare const index$
|
|
7120
|
-
type index$
|
|
7121
|
-
declare const index$
|
|
7122
|
-
declare const index$
|
|
7123
|
-
declare const index$
|
|
7124
|
-
type index$
|
|
7125
|
-
declare const index$
|
|
7126
|
-
type index$
|
|
7127
|
-
declare const index$
|
|
7128
|
-
declare const index$
|
|
7129
|
-
declare const index$
|
|
7130
|
-
type index$
|
|
7131
|
-
declare const index$
|
|
7132
|
-
type index$
|
|
7133
|
-
declare const index$
|
|
7134
|
-
declare const index$
|
|
7135
|
-
declare const index$
|
|
7136
|
-
type index$
|
|
7137
|
-
declare const index$
|
|
7138
|
-
type index$
|
|
7139
|
-
declare const index$
|
|
7140
|
-
declare const index$
|
|
7141
|
-
declare const index$
|
|
7142
|
-
type index$
|
|
7143
|
-
declare const index$
|
|
7144
|
-
type index$
|
|
7145
|
-
declare const index$
|
|
7146
|
-
declare const index$
|
|
7147
|
-
type index$
|
|
7148
|
-
declare const index$
|
|
7149
|
-
declare const index$
|
|
7150
|
-
type index$
|
|
7151
|
-
declare const index$
|
|
7152
|
-
type index$
|
|
7153
|
-
declare const index$
|
|
7154
|
-
declare const index$
|
|
7155
|
-
declare const index$
|
|
7156
|
-
type index$
|
|
7157
|
-
declare const index$
|
|
7158
|
-
type index$
|
|
7159
|
-
declare const index$
|
|
7160
|
-
declare const index$
|
|
7161
|
-
declare const index$
|
|
7162
|
-
type index$
|
|
7163
|
-
declare const index$
|
|
7164
|
-
type index$
|
|
7165
|
-
declare const index$
|
|
7166
|
-
declare const index$
|
|
7167
|
-
declare const index$
|
|
7168
|
-
type index$
|
|
7169
|
-
declare const index$
|
|
7170
|
-
type index$
|
|
7171
|
-
declare const index$
|
|
7172
|
-
declare const index$
|
|
7173
|
-
declare const index$
|
|
7174
|
-
type index$
|
|
7175
|
-
declare const index$
|
|
7176
|
-
type index$
|
|
7177
|
-
declare const index$
|
|
7178
|
-
declare const index$
|
|
7179
|
-
declare const index$
|
|
7180
|
-
type index$
|
|
7181
|
-
declare const index$
|
|
7182
|
-
type index$
|
|
7183
|
-
declare const index$
|
|
7184
|
-
declare const index$
|
|
7185
|
-
declare const index$
|
|
7186
|
-
type index$
|
|
7187
|
-
declare const index$
|
|
7188
|
-
type index$
|
|
7189
|
-
declare const index$
|
|
7190
|
-
declare const index$
|
|
7191
|
-
declare const index$
|
|
7192
|
-
type index$
|
|
7193
|
-
declare const index$
|
|
7194
|
-
type index$
|
|
7195
|
-
declare const index$
|
|
7196
|
-
declare const index$
|
|
7197
|
-
declare const index$
|
|
7198
|
-
type index$
|
|
7199
|
-
declare const index$
|
|
7200
|
-
type index$
|
|
7201
|
-
declare const index$
|
|
7202
|
-
declare const index$
|
|
7203
|
-
declare const index$
|
|
7204
|
-
type index$
|
|
7205
|
-
declare const index$
|
|
7206
|
-
type index$
|
|
7207
|
-
declare const index$
|
|
7208
|
-
declare const index$
|
|
7209
|
-
declare const index$
|
|
7210
|
-
type index$
|
|
7211
|
-
declare const index$
|
|
7212
|
-
type index$
|
|
7213
|
-
declare const index$
|
|
7214
|
-
declare const index$
|
|
7215
|
-
declare const index$
|
|
7216
|
-
type index$
|
|
7217
|
-
declare const index$
|
|
7218
|
-
type index$
|
|
7219
|
-
declare const index$
|
|
7220
|
-
declare const index$
|
|
7221
|
-
declare const index$
|
|
7222
|
-
type index$
|
|
7223
|
-
declare const index$
|
|
7224
|
-
type index$
|
|
7225
|
-
declare const index$
|
|
7226
|
-
declare const index$
|
|
7227
|
-
declare const index$
|
|
7228
|
-
type index$
|
|
7229
|
-
declare const index$
|
|
7230
|
-
type index$
|
|
7231
|
-
declare const index$
|
|
7232
|
-
declare const index$
|
|
7233
|
-
declare const index$
|
|
7234
|
-
type index$
|
|
7235
|
-
declare const index$
|
|
7236
|
-
type index$
|
|
7237
|
-
declare const index$
|
|
7238
|
-
declare const index$
|
|
7239
|
-
declare const index$
|
|
7240
|
-
type index$
|
|
7241
|
-
declare const index$
|
|
7242
|
-
type index$
|
|
7243
|
-
declare const index$
|
|
7244
|
-
declare const index$
|
|
7245
|
-
declare const index$
|
|
7246
|
-
type index$
|
|
7247
|
-
declare const index$
|
|
7248
|
-
type index$
|
|
7249
|
-
declare const index$
|
|
7250
|
-
declare const index$
|
|
7251
|
-
declare const index$
|
|
7252
|
-
type index$
|
|
7253
|
-
declare const index$
|
|
7254
|
-
type index$
|
|
7255
|
-
declare const index$
|
|
7256
|
-
declare const index$
|
|
7257
|
-
declare const index$
|
|
7258
|
-
type index$
|
|
7259
|
-
declare const index$
|
|
7260
|
-
type index$
|
|
7261
|
-
declare const index$
|
|
7262
|
-
declare const index$
|
|
7263
|
-
declare const index$
|
|
7264
|
-
type index$
|
|
7265
|
-
declare const index$
|
|
7266
|
-
type index$
|
|
7267
|
-
declare const index$
|
|
7268
|
-
declare const index$
|
|
7269
|
-
declare const index$
|
|
7270
|
-
type index$
|
|
7271
|
-
declare const index$
|
|
7272
|
-
type index$
|
|
7273
|
-
declare const index$
|
|
7274
|
-
declare const index$
|
|
7275
|
-
declare const index$
|
|
7276
|
-
type index$
|
|
7277
|
-
declare const index$
|
|
7278
|
-
type index$
|
|
7279
|
-
declare const index$
|
|
7280
|
-
declare const index$
|
|
7281
|
-
declare const index$
|
|
7282
|
-
type index$
|
|
7283
|
-
declare const index$
|
|
7284
|
-
type index$
|
|
7285
|
-
declare const index$
|
|
7286
|
-
declare const index$
|
|
7287
|
-
declare const index$
|
|
7288
|
-
type index$
|
|
7289
|
-
declare const index$
|
|
7290
|
-
type index$
|
|
7291
|
-
declare const index$
|
|
7292
|
-
declare const index$
|
|
7293
|
-
declare const index$
|
|
7294
|
-
type index$
|
|
7295
|
-
declare const index$
|
|
7296
|
-
type index$
|
|
7297
|
-
declare const index$
|
|
7298
|
-
declare const index$
|
|
7299
|
-
declare const index$
|
|
7300
|
-
type index$
|
|
7301
|
-
declare const index$
|
|
7302
|
-
type index$
|
|
7303
|
-
declare const index$
|
|
7304
|
-
declare const index$
|
|
7305
|
-
declare const index$
|
|
7306
|
-
type index$
|
|
7307
|
-
declare const index$
|
|
7308
|
-
type index$
|
|
7309
|
-
declare const index$
|
|
7310
|
-
declare const index$
|
|
7311
|
-
declare const index$
|
|
7312
|
-
type index$
|
|
7313
|
-
declare const index$
|
|
7314
|
-
type index$
|
|
7315
|
-
declare const index$
|
|
7316
|
-
declare const index$
|
|
7317
|
-
declare const index$
|
|
7318
|
-
type index$
|
|
7319
|
-
declare const index$
|
|
7320
|
-
type index$
|
|
7321
|
-
declare const index$
|
|
7322
|
-
declare const index$
|
|
7323
|
-
declare const index$
|
|
7324
|
-
type index$
|
|
7325
|
-
declare const index$
|
|
7326
|
-
type index$
|
|
7327
|
-
declare const index$
|
|
7328
|
-
declare const index$
|
|
7329
|
-
declare const index$
|
|
7330
|
-
type index$
|
|
7331
|
-
declare const index$
|
|
7332
|
-
type index$
|
|
7333
|
-
declare const index$
|
|
7334
|
-
declare const index$
|
|
7335
|
-
declare const index$
|
|
7336
|
-
type index$
|
|
7337
|
-
declare const index$
|
|
7338
|
-
type index$
|
|
7339
|
-
declare const index$
|
|
7340
|
-
declare const index$
|
|
7341
|
-
declare const index$
|
|
7342
|
-
type index$
|
|
7343
|
-
declare const index$
|
|
7344
|
-
type index$
|
|
7345
|
-
declare const index$
|
|
7346
|
-
declare const index$
|
|
7347
|
-
declare const index$
|
|
7348
|
-
type index$
|
|
7349
|
-
declare const index$
|
|
7350
|
-
type index$
|
|
7351
|
-
declare const index$
|
|
7352
|
-
declare const index$
|
|
7353
|
-
declare const index$
|
|
7354
|
-
type index$
|
|
7355
|
-
declare const index$
|
|
7356
|
-
type index$
|
|
7357
|
-
declare const index$
|
|
7358
|
-
declare const index$
|
|
7359
|
-
declare const index$
|
|
7360
|
-
type index$
|
|
7361
|
-
declare const index$
|
|
7362
|
-
type index$
|
|
7363
|
-
declare const index$
|
|
7364
|
-
declare const index$
|
|
7365
|
-
declare const index$
|
|
7366
|
-
type index$
|
|
7367
|
-
declare const index$
|
|
7368
|
-
type index$
|
|
7369
|
-
declare const index$
|
|
7370
|
-
declare const index$
|
|
7371
|
-
declare const index$
|
|
7372
|
-
declare const index$
|
|
7373
|
-
declare const index$
|
|
7374
|
-
declare const index$
|
|
7375
|
-
declare const index$
|
|
7376
|
-
type index$
|
|
7377
|
-
declare const index$
|
|
7378
|
-
type index$
|
|
7379
|
-
declare const index$
|
|
7380
|
-
declare const index$
|
|
7381
|
-
declare const index$
|
|
7382
|
-
declare const index$
|
|
7383
|
-
type index$
|
|
7384
|
-
declare const index$
|
|
7385
|
-
type index$
|
|
7386
|
-
declare const index$
|
|
7387
|
-
declare const index$
|
|
7388
|
-
declare const index$
|
|
7389
|
-
type index$
|
|
7390
|
-
declare const index$
|
|
7391
|
-
type index$
|
|
7392
|
-
declare const index$
|
|
7393
|
-
declare const index$
|
|
7394
|
-
declare const index$
|
|
7395
|
-
type index$
|
|
7396
|
-
declare const index$
|
|
7397
|
-
type index$
|
|
7398
|
-
declare const index$
|
|
7399
|
-
declare namespace index$
|
|
7400
|
-
export { index$9_AccountsParams as AccountsParams, index$9_AccountsRequest as AccountsRequest, type index$9_AccountsRequestType as AccountsRequestType, index$9_AccountsResponse as AccountsResponse, type index$9_AccountsResponseType as AccountsResponseType, index$9_AccountsResult as AccountsResult, index$9_BlobBaseFeeParams as BlobBaseFeeParams, index$9_BlobBaseFeeRequest as BlobBaseFeeRequest, type index$9_BlobBaseFeeRequestType as BlobBaseFeeRequestType, index$9_BlobBaseFeeResponse as BlobBaseFeeResponse, type index$9_BlobBaseFeeResponseType as BlobBaseFeeResponseType, index$9_BlobBaseFeeResult as BlobBaseFeeResult, index$9_BlockNumberParams as BlockNumberParams, index$9_BlockNumberRequest as BlockNumberRequest, type index$9_BlockNumberRequestType as BlockNumberRequestType, index$9_BlockNumberResponse as BlockNumberResponse, type index$9_BlockNumberResponseType as BlockNumberResponseType, index$9_BlockNumberResult as BlockNumberResult, index$9_CallParams as CallParams, index$9_CallRequest as CallRequest, type index$9_CallRequestType as CallRequestType, index$9_CallResponse as CallResponse, type index$9_CallResponseType as CallResponseType, index$9_CallResult as CallResult, index$9_ChainIdParams as ChainIdParams, index$9_ChainIdRequest as ChainIdRequest, type index$9_ChainIdRequestType as ChainIdRequestType, index$9_ChainIdResponse as ChainIdResponse, type index$9_ChainIdResponseType as ChainIdResponseType, index$9_ChainIdResult as ChainIdResult, index$9_CoinbaseParams as CoinbaseParams, index$9_CoinbaseRequest as CoinbaseRequest, type index$9_CoinbaseRequestType as CoinbaseRequestType, index$9_CoinbaseResponse as CoinbaseResponse, type index$9_CoinbaseResponseType as CoinbaseResponseType, index$9_CoinbaseResult as CoinbaseResult, index$9_CreateAccessListParams as CreateAccessListParams, index$9_CreateAccessListRequest as CreateAccessListRequest, type index$9_CreateAccessListRequestType as CreateAccessListRequestType, index$9_CreateAccessListResponse as CreateAccessListResponse, type index$9_CreateAccessListResponseType as CreateAccessListResponseType, index$9_CreateAccessListResult as CreateAccessListResult, index$9_EstimateGasParams as EstimateGasParams, index$9_EstimateGasRequest as EstimateGasRequest, type index$9_EstimateGasRequestType as EstimateGasRequestType, index$9_EstimateGasResponse as EstimateGasResponse, type index$9_EstimateGasResponseType as EstimateGasResponseType, index$9_EstimateGasResult as EstimateGasResult, index$9_EthMethodRequest as EthMethodRequest, type index$9_EthMethodRequestType as EthMethodRequestType, index$9_FeeHistoryParams as FeeHistoryParams, index$9_FeeHistoryRequest as FeeHistoryRequest, type index$9_FeeHistoryRequestType as FeeHistoryRequestType, index$9_FeeHistoryResponse as FeeHistoryResponse, type index$9_FeeHistoryResponseType as FeeHistoryResponseType, index$9_FeeHistoryResult as FeeHistoryResult, index$9_GasPriceParams as GasPriceParams, index$9_GasPriceRequest as GasPriceRequest, type index$9_GasPriceRequestType as GasPriceRequestType, index$9_GasPriceResponse as GasPriceResponse, type index$9_GasPriceResponseType as GasPriceResponseType, index$9_GasPriceResult as GasPriceResult, index$9_GetBalanceParams as GetBalanceParams, index$9_GetBalanceRequest as GetBalanceRequest, type index$9_GetBalanceRequestType as GetBalanceRequestType, index$9_GetBalanceResponse as GetBalanceResponse, type index$9_GetBalanceResponseType as GetBalanceResponseType, index$9_GetBalanceResult as GetBalanceResult, index$9_GetBlockByHashParams as GetBlockByHashParams, index$9_GetBlockByHashRequest as GetBlockByHashRequest, type index$9_GetBlockByHashRequestType as GetBlockByHashRequestType, index$9_GetBlockByHashResponse as GetBlockByHashResponse, type index$9_GetBlockByHashResponseType as GetBlockByHashResponseType, index$9_GetBlockByHashResult as GetBlockByHashResult, index$9_GetBlockByNumberParams as GetBlockByNumberParams, index$9_GetBlockByNumberRequest as GetBlockByNumberRequest, type index$9_GetBlockByNumberRequestType as GetBlockByNumberRequestType, index$9_GetBlockByNumberResponse as GetBlockByNumberResponse, type index$9_GetBlockByNumberResponseType as GetBlockByNumberResponseType, index$9_GetBlockByNumberResult as GetBlockByNumberResult, index$9_GetBlockReceiptsParams as GetBlockReceiptsParams, index$9_GetBlockReceiptsRequest as GetBlockReceiptsRequest, type index$9_GetBlockReceiptsRequestType as GetBlockReceiptsRequestType, index$9_GetBlockReceiptsResponse as GetBlockReceiptsResponse, type index$9_GetBlockReceiptsResponseType as GetBlockReceiptsResponseType, index$9_GetBlockReceiptsResult as GetBlockReceiptsResult, index$9_GetBlockTransactionCountByHashParams as GetBlockTransactionCountByHashParams, index$9_GetBlockTransactionCountByHashRequest as GetBlockTransactionCountByHashRequest, type index$9_GetBlockTransactionCountByHashRequestType as GetBlockTransactionCountByHashRequestType, index$9_GetBlockTransactionCountByHashResponse as GetBlockTransactionCountByHashResponse, type index$9_GetBlockTransactionCountByHashResponseType as GetBlockTransactionCountByHashResponseType, index$9_GetBlockTransactionCountByHashResult as GetBlockTransactionCountByHashResult, index$9_GetBlockTransactionCountByNumberParams as GetBlockTransactionCountByNumberParams, index$9_GetBlockTransactionCountByNumberRequest as GetBlockTransactionCountByNumberRequest, type index$9_GetBlockTransactionCountByNumberRequestType as GetBlockTransactionCountByNumberRequestType, index$9_GetBlockTransactionCountByNumberResponse as GetBlockTransactionCountByNumberResponse, type index$9_GetBlockTransactionCountByNumberResponseType as GetBlockTransactionCountByNumberResponseType, index$9_GetBlockTransactionCountByNumberResult as GetBlockTransactionCountByNumberResult, index$9_GetCodeParams as GetCodeParams, index$9_GetCodeRequest as GetCodeRequest, type index$9_GetCodeRequestType as GetCodeRequestType, index$9_GetCodeResponse as GetCodeResponse, type index$9_GetCodeResponseType as GetCodeResponseType, index$9_GetCodeResult as GetCodeResult, index$9_GetFilterChangesParams as GetFilterChangesParams, index$9_GetFilterChangesRequest as GetFilterChangesRequest, type index$9_GetFilterChangesRequestType as GetFilterChangesRequestType, index$9_GetFilterChangesResponse as GetFilterChangesResponse, type index$9_GetFilterChangesResponseType as GetFilterChangesResponseType, index$9_GetFilterChangesResult as GetFilterChangesResult, index$9_GetFilterLogsParams as GetFilterLogsParams, index$9_GetFilterLogsRequest as GetFilterLogsRequest, type index$9_GetFilterLogsRequestType as GetFilterLogsRequestType, index$9_GetFilterLogsResponse as GetFilterLogsResponse, type index$9_GetFilterLogsResponseType as GetFilterLogsResponseType, index$9_GetFilterLogsResult as GetFilterLogsResult, index$9_GetLogsParams as GetLogsParams, index$9_GetLogsRequest as GetLogsRequest, type index$9_GetLogsRequestType as GetLogsRequestType, index$9_GetLogsResponse as GetLogsResponse, type index$9_GetLogsResponseType as GetLogsResponseType, index$9_GetLogsResult as GetLogsResult, index$9_GetProofParams as GetProofParams, index$9_GetProofRequest as GetProofRequest, type index$9_GetProofRequestType as GetProofRequestType, index$9_GetProofResponse as GetProofResponse, type index$9_GetProofResponseType as GetProofResponseType, index$9_GetProofResult as GetProofResult, index$9_GetStorageAtParams as GetStorageAtParams, index$9_GetStorageAtRequest as GetStorageAtRequest, type index$9_GetStorageAtRequestType as GetStorageAtRequestType, index$9_GetStorageAtResponse as GetStorageAtResponse, type index$9_GetStorageAtResponseType as GetStorageAtResponseType, index$9_GetStorageAtResult as GetStorageAtResult, index$9_GetTransactionByBlockHashAndIndexParams as GetTransactionByBlockHashAndIndexParams, index$9_GetTransactionByBlockHashAndIndexRequest as GetTransactionByBlockHashAndIndexRequest, type index$9_GetTransactionByBlockHashAndIndexRequestType as GetTransactionByBlockHashAndIndexRequestType, index$9_GetTransactionByBlockHashAndIndexResponse as GetTransactionByBlockHashAndIndexResponse, type index$9_GetTransactionByBlockHashAndIndexResponseType as GetTransactionByBlockHashAndIndexResponseType, index$9_GetTransactionByBlockHashAndIndexResult as GetTransactionByBlockHashAndIndexResult, index$9_GetTransactionByBlockNumberAndIndexParams as GetTransactionByBlockNumberAndIndexParams, index$9_GetTransactionByBlockNumberAndIndexRequest as GetTransactionByBlockNumberAndIndexRequest, type index$9_GetTransactionByBlockNumberAndIndexRequestType as GetTransactionByBlockNumberAndIndexRequestType, index$9_GetTransactionByBlockNumberAndIndexResponse as GetTransactionByBlockNumberAndIndexResponse, type index$9_GetTransactionByBlockNumberAndIndexResponseType as GetTransactionByBlockNumberAndIndexResponseType, index$9_GetTransactionByBlockNumberAndIndexResult as GetTransactionByBlockNumberAndIndexResult, index$9_GetTransactionByHashParams as GetTransactionByHashParams, index$9_GetTransactionByHashRequest as GetTransactionByHashRequest, type index$9_GetTransactionByHashRequestType as GetTransactionByHashRequestType, index$9_GetTransactionByHashResponse as GetTransactionByHashResponse, type index$9_GetTransactionByHashResponseType as GetTransactionByHashResponseType, index$9_GetTransactionByHashResult as GetTransactionByHashResult, index$9_GetTransactionCountParams as GetTransactionCountParams, index$9_GetTransactionCountRequest as GetTransactionCountRequest, type index$9_GetTransactionCountRequestType as GetTransactionCountRequestType, index$9_GetTransactionCountResponse as GetTransactionCountResponse, type index$9_GetTransactionCountResponseType as GetTransactionCountResponseType, index$9_GetTransactionCountResult as GetTransactionCountResult, index$9_GetTransactionReceiptParams as GetTransactionReceiptParams, index$9_GetTransactionReceiptRequest as GetTransactionReceiptRequest, type index$9_GetTransactionReceiptRequestType as GetTransactionReceiptRequestType, index$9_GetTransactionReceiptResponse as GetTransactionReceiptResponse, type index$9_GetTransactionReceiptResponseType as GetTransactionReceiptResponseType, index$9_GetTransactionReceiptResult as GetTransactionReceiptResult, index$9_GetUncleByBlockHashAndIndexParams as GetUncleByBlockHashAndIndexParams, index$9_GetUncleByBlockHashAndIndexRequest as GetUncleByBlockHashAndIndexRequest, type index$9_GetUncleByBlockHashAndIndexRequestType as GetUncleByBlockHashAndIndexRequestType, index$9_GetUncleByBlockHashAndIndexResponse as GetUncleByBlockHashAndIndexResponse, type index$9_GetUncleByBlockHashAndIndexResponseType as GetUncleByBlockHashAndIndexResponseType, index$9_GetUncleByBlockHashAndIndexResult as GetUncleByBlockHashAndIndexResult, index$9_GetUncleByBlockNumberAndIndexParams as GetUncleByBlockNumberAndIndexParams, index$9_GetUncleByBlockNumberAndIndexRequest as GetUncleByBlockNumberAndIndexRequest, type index$9_GetUncleByBlockNumberAndIndexRequestType as GetUncleByBlockNumberAndIndexRequestType, index$9_GetUncleByBlockNumberAndIndexResponse as GetUncleByBlockNumberAndIndexResponse, type index$9_GetUncleByBlockNumberAndIndexResponseType as GetUncleByBlockNumberAndIndexResponseType, index$9_GetUncleByBlockNumberAndIndexResult as GetUncleByBlockNumberAndIndexResult, index$9_GetUncleCountByBlockHashParams as GetUncleCountByBlockHashParams, index$9_GetUncleCountByBlockHashRequest as GetUncleCountByBlockHashRequest, type index$9_GetUncleCountByBlockHashRequestType as GetUncleCountByBlockHashRequestType, index$9_GetUncleCountByBlockHashResponse as GetUncleCountByBlockHashResponse, type index$9_GetUncleCountByBlockHashResponseType as GetUncleCountByBlockHashResponseType, index$9_GetUncleCountByBlockHashResult as GetUncleCountByBlockHashResult, index$9_GetUncleCountByBlockNumberParams as GetUncleCountByBlockNumberParams, index$9_GetUncleCountByBlockNumberRequest as GetUncleCountByBlockNumberRequest, type index$9_GetUncleCountByBlockNumberRequestType as GetUncleCountByBlockNumberRequestType, index$9_GetUncleCountByBlockNumberResponse as GetUncleCountByBlockNumberResponse, type index$9_GetUncleCountByBlockNumberResponseType as GetUncleCountByBlockNumberResponseType, index$9_GetUncleCountByBlockNumberResult as GetUncleCountByBlockNumberResult, index$9_GetWorkParams as GetWorkParams, index$9_GetWorkRequest as GetWorkRequest, type index$9_GetWorkRequestType as GetWorkRequestType, index$9_GetWorkResponse as GetWorkResponse, type index$9_GetWorkResponseType as GetWorkResponseType, index$9_GetWorkResult as GetWorkResult, index$9_HashrateParams as HashrateParams, index$9_HashrateRequest as HashrateRequest, type index$9_HashrateRequestType as HashrateRequestType, index$9_HashrateResponse as HashrateResponse, type index$9_HashrateResponseType as HashrateResponseType, index$9_HashrateResult as HashrateResult, index$9_MaxPriorityFeePerGasParams as MaxPriorityFeePerGasParams, index$9_MaxPriorityFeePerGasRequest as MaxPriorityFeePerGasRequest, type index$9_MaxPriorityFeePerGasRequestType as MaxPriorityFeePerGasRequestType, index$9_MaxPriorityFeePerGasResponse as MaxPriorityFeePerGasResponse, type index$9_MaxPriorityFeePerGasResponseType as MaxPriorityFeePerGasResponseType, index$9_MaxPriorityFeePerGasResult as MaxPriorityFeePerGasResult, index$9_MiningParams as MiningParams, index$9_MiningRequest as MiningRequest, type index$9_MiningRequestType as MiningRequestType, index$9_MiningResponse as MiningResponse, type index$9_MiningResponseType as MiningResponseType, index$9_MiningResult as MiningResult, index$9_NewBlockFilterParams as NewBlockFilterParams, index$9_NewBlockFilterRequest as NewBlockFilterRequest, type index$9_NewBlockFilterRequestType as NewBlockFilterRequestType, index$9_NewBlockFilterResponse as NewBlockFilterResponse, type index$9_NewBlockFilterResponseType as NewBlockFilterResponseType, index$9_NewBlockFilterResult as NewBlockFilterResult, index$9_NewFilterParams as NewFilterParams, index$9_NewFilterRequest as NewFilterRequest, type index$9_NewFilterRequestType as NewFilterRequestType, index$9_NewFilterResponse as NewFilterResponse, type index$9_NewFilterResponseType as NewFilterResponseType, index$9_NewFilterResult as NewFilterResult, index$9_NewPendingTransactionFilterParams as NewPendingTransactionFilterParams, index$9_NewPendingTransactionFilterRequest as NewPendingTransactionFilterRequest, type index$9_NewPendingTransactionFilterRequestType as NewPendingTransactionFilterRequestType, index$9_NewPendingTransactionFilterResponse as NewPendingTransactionFilterResponse, type index$9_NewPendingTransactionFilterResponseType as NewPendingTransactionFilterResponseType, index$9_NewPendingTransactionFilterResult as NewPendingTransactionFilterResult, index$9_ProtocolVersionParams as ProtocolVersionParams, index$9_ProtocolVersionRequest as ProtocolVersionRequest, type index$9_ProtocolVersionRequestType as ProtocolVersionRequestType, index$9_ProtocolVersionResponse as ProtocolVersionResponse, type index$9_ProtocolVersionResponseType as ProtocolVersionResponseType, index$9_ProtocolVersionResult as ProtocolVersionResult, index$9_SendRawTransactionParams as SendRawTransactionParams, index$9_SendRawTransactionRequest as SendRawTransactionRequest, type index$9_SendRawTransactionRequestType as SendRawTransactionRequestType, index$9_SendRawTransactionResponse as SendRawTransactionResponse, type index$9_SendRawTransactionResponseType as SendRawTransactionResponseType, index$9_SendRawTransactionResult as SendRawTransactionResult, index$9_SendTransactionParams as SendTransactionParams, index$9_SendTransactionRequest as SendTransactionRequest, type index$9_SendTransactionRequestType as SendTransactionRequestType, index$9_SendTransactionResponse as SendTransactionResponse, type index$9_SendTransactionResponseType as SendTransactionResponseType, index$9_SendTransactionResult as SendTransactionResult, index$9_SignParams as SignParams, index$9_SignRequest as SignRequest, type index$9_SignRequestType as SignRequestType, index$9_SignResponse as SignResponse, type index$9_SignResponseType as SignResponseType, index$9_SignResult as SignResult, index$9_SignTransactionParams as SignTransactionParams, index$9_SignTransactionRequest as SignTransactionRequest, type index$9_SignTransactionRequestType as SignTransactionRequestType, index$9_SignTransactionResponse as SignTransactionResponse, type index$9_SignTransactionResponseType as SignTransactionResponseType, index$9_SignTransactionResult as SignTransactionResult, index$9_SubmitHashrateParams as SubmitHashrateParams, index$9_SubmitHashrateRequest as SubmitHashrateRequest, type index$9_SubmitHashrateRequestType as SubmitHashrateRequestType, index$9_SubmitHashrateResponse as SubmitHashrateResponse, type index$9_SubmitHashrateResponseType as SubmitHashrateResponseType, index$9_SubmitHashrateResult as SubmitHashrateResult, index$9_SubmitWorkParams as SubmitWorkParams, index$9_SubmitWorkRequest as SubmitWorkRequest, type index$9_SubmitWorkRequestType as SubmitWorkRequestType, index$9_SubmitWorkResponse as SubmitWorkResponse, type index$9_SubmitWorkResponseType as SubmitWorkResponseType, index$9_SubmitWorkResult as SubmitWorkResult, index$9_SubscribeLogsParamsNoFilter as SubscribeLogsParamsNoFilter, index$9_SubscribeLogsParamsWithFilter as SubscribeLogsParamsWithFilter, index$9_SubscribeNewHeadsParams as SubscribeNewHeadsParams, index$9_SubscribeNewPendingTransactionsParams as SubscribeNewPendingTransactionsParams, index$9_SubscribeParams as SubscribeParams, index$9_SubscribeRequest as SubscribeRequest, type index$9_SubscribeRequestType as SubscribeRequestType, index$9_SubscribeResponse as SubscribeResponse, type index$9_SubscribeResponseType as SubscribeResponseType, index$9_SubscribeResult as SubscribeResult, index$9_SubscribeSyncingParams as SubscribeSyncingParams, index$9_SyncingParams as SyncingParams, index$9_SyncingRequest as SyncingRequest, type index$9_SyncingRequestType as SyncingRequestType, index$9_SyncingResponse as SyncingResponse, type index$9_SyncingResponseType as SyncingResponseType, index$9_SyncingResult as SyncingResult, index$9_UninstallFilterParams as UninstallFilterParams, index$9_UninstallFilterRequest as UninstallFilterRequest, type index$9_UninstallFilterRequestType as UninstallFilterRequestType, index$9_UninstallFilterResponse as UninstallFilterResponse, type index$9_UninstallFilterResponseType as UninstallFilterResponseType, index$9_UninstallFilterResult as UninstallFilterResult, index$9_UnsubscribeParams as UnsubscribeParams, index$9_UnsubscribeRequest as UnsubscribeRequest, type index$9_UnsubscribeRequestType as UnsubscribeRequestType, index$9_UnsubscribeResponse as UnsubscribeResponse, type index$9_UnsubscribeResponseType as UnsubscribeResponseType, index$9_UnsubscribeResult as UnsubscribeResult };
|
|
7162
|
+
declare const index$a_AccountsParams: typeof AccountsParams;
|
|
7163
|
+
declare const index$a_AccountsRequest: typeof AccountsRequest;
|
|
7164
|
+
type index$a_AccountsRequestType = AccountsRequestType;
|
|
7165
|
+
declare const index$a_AccountsResponse: typeof AccountsResponse;
|
|
7166
|
+
type index$a_AccountsResponseType = AccountsResponseType;
|
|
7167
|
+
declare const index$a_AccountsResult: typeof AccountsResult;
|
|
7168
|
+
declare const index$a_BlobBaseFeeParams: typeof BlobBaseFeeParams;
|
|
7169
|
+
declare const index$a_BlobBaseFeeRequest: typeof BlobBaseFeeRequest;
|
|
7170
|
+
type index$a_BlobBaseFeeRequestType = BlobBaseFeeRequestType;
|
|
7171
|
+
declare const index$a_BlobBaseFeeResponse: typeof BlobBaseFeeResponse;
|
|
7172
|
+
type index$a_BlobBaseFeeResponseType = BlobBaseFeeResponseType;
|
|
7173
|
+
declare const index$a_BlobBaseFeeResult: typeof BlobBaseFeeResult;
|
|
7174
|
+
declare const index$a_BlockNumberParams: typeof BlockNumberParams;
|
|
7175
|
+
declare const index$a_BlockNumberRequest: typeof BlockNumberRequest;
|
|
7176
|
+
type index$a_BlockNumberRequestType = BlockNumberRequestType;
|
|
7177
|
+
declare const index$a_BlockNumberResponse: typeof BlockNumberResponse;
|
|
7178
|
+
type index$a_BlockNumberResponseType = BlockNumberResponseType;
|
|
7179
|
+
declare const index$a_BlockNumberResult: typeof BlockNumberResult;
|
|
7180
|
+
declare const index$a_CallParams: typeof CallParams;
|
|
7181
|
+
declare const index$a_CallRequest: typeof CallRequest;
|
|
7182
|
+
type index$a_CallRequestType = CallRequestType;
|
|
7183
|
+
declare const index$a_CallResponse: typeof CallResponse;
|
|
7184
|
+
type index$a_CallResponseType = CallResponseType;
|
|
7185
|
+
declare const index$a_CallResult: typeof CallResult;
|
|
7186
|
+
declare const index$a_ChainIdParams: typeof ChainIdParams;
|
|
7187
|
+
declare const index$a_ChainIdRequest: typeof ChainIdRequest;
|
|
7188
|
+
type index$a_ChainIdRequestType = ChainIdRequestType;
|
|
7189
|
+
declare const index$a_ChainIdResponse: typeof ChainIdResponse;
|
|
7190
|
+
type index$a_ChainIdResponseType = ChainIdResponseType;
|
|
7191
|
+
declare const index$a_ChainIdResult: typeof ChainIdResult;
|
|
7192
|
+
declare const index$a_CoinbaseParams: typeof CoinbaseParams;
|
|
7193
|
+
declare const index$a_CoinbaseRequest: typeof CoinbaseRequest;
|
|
7194
|
+
type index$a_CoinbaseRequestType = CoinbaseRequestType;
|
|
7195
|
+
declare const index$a_CoinbaseResponse: typeof CoinbaseResponse;
|
|
7196
|
+
type index$a_CoinbaseResponseType = CoinbaseResponseType;
|
|
7197
|
+
declare const index$a_CoinbaseResult: typeof CoinbaseResult;
|
|
7198
|
+
declare const index$a_CreateAccessListParams: typeof CreateAccessListParams;
|
|
7199
|
+
declare const index$a_CreateAccessListRequest: typeof CreateAccessListRequest;
|
|
7200
|
+
type index$a_CreateAccessListRequestType = CreateAccessListRequestType;
|
|
7201
|
+
declare const index$a_CreateAccessListResponse: typeof CreateAccessListResponse;
|
|
7202
|
+
type index$a_CreateAccessListResponseType = CreateAccessListResponseType;
|
|
7203
|
+
declare const index$a_CreateAccessListResult: typeof CreateAccessListResult;
|
|
7204
|
+
declare const index$a_EstimateGasParams: typeof EstimateGasParams;
|
|
7205
|
+
declare const index$a_EstimateGasRequest: typeof EstimateGasRequest;
|
|
7206
|
+
type index$a_EstimateGasRequestType = EstimateGasRequestType;
|
|
7207
|
+
declare const index$a_EstimateGasResponse: typeof EstimateGasResponse;
|
|
7208
|
+
type index$a_EstimateGasResponseType = EstimateGasResponseType;
|
|
7209
|
+
declare const index$a_EstimateGasResult: typeof EstimateGasResult;
|
|
7210
|
+
declare const index$a_EthMethodRequest: typeof EthMethodRequest;
|
|
7211
|
+
type index$a_EthMethodRequestType = EthMethodRequestType;
|
|
7212
|
+
declare const index$a_FeeHistoryParams: typeof FeeHistoryParams;
|
|
7213
|
+
declare const index$a_FeeHistoryRequest: typeof FeeHistoryRequest;
|
|
7214
|
+
type index$a_FeeHistoryRequestType = FeeHistoryRequestType;
|
|
7215
|
+
declare const index$a_FeeHistoryResponse: typeof FeeHistoryResponse;
|
|
7216
|
+
type index$a_FeeHistoryResponseType = FeeHistoryResponseType;
|
|
7217
|
+
declare const index$a_FeeHistoryResult: typeof FeeHistoryResult;
|
|
7218
|
+
declare const index$a_GasPriceParams: typeof GasPriceParams;
|
|
7219
|
+
declare const index$a_GasPriceRequest: typeof GasPriceRequest;
|
|
7220
|
+
type index$a_GasPriceRequestType = GasPriceRequestType;
|
|
7221
|
+
declare const index$a_GasPriceResponse: typeof GasPriceResponse;
|
|
7222
|
+
type index$a_GasPriceResponseType = GasPriceResponseType;
|
|
7223
|
+
declare const index$a_GasPriceResult: typeof GasPriceResult;
|
|
7224
|
+
declare const index$a_GetBalanceParams: typeof GetBalanceParams;
|
|
7225
|
+
declare const index$a_GetBalanceRequest: typeof GetBalanceRequest;
|
|
7226
|
+
type index$a_GetBalanceRequestType = GetBalanceRequestType;
|
|
7227
|
+
declare const index$a_GetBalanceResponse: typeof GetBalanceResponse;
|
|
7228
|
+
type index$a_GetBalanceResponseType = GetBalanceResponseType;
|
|
7229
|
+
declare const index$a_GetBalanceResult: typeof GetBalanceResult;
|
|
7230
|
+
declare const index$a_GetBlockByHashParams: typeof GetBlockByHashParams;
|
|
7231
|
+
declare const index$a_GetBlockByHashRequest: typeof GetBlockByHashRequest;
|
|
7232
|
+
type index$a_GetBlockByHashRequestType = GetBlockByHashRequestType;
|
|
7233
|
+
declare const index$a_GetBlockByHashResponse: typeof GetBlockByHashResponse;
|
|
7234
|
+
type index$a_GetBlockByHashResponseType = GetBlockByHashResponseType;
|
|
7235
|
+
declare const index$a_GetBlockByHashResult: typeof GetBlockByHashResult;
|
|
7236
|
+
declare const index$a_GetBlockByNumberParams: typeof GetBlockByNumberParams;
|
|
7237
|
+
declare const index$a_GetBlockByNumberRequest: typeof GetBlockByNumberRequest;
|
|
7238
|
+
type index$a_GetBlockByNumberRequestType = GetBlockByNumberRequestType;
|
|
7239
|
+
declare const index$a_GetBlockByNumberResponse: typeof GetBlockByNumberResponse;
|
|
7240
|
+
type index$a_GetBlockByNumberResponseType = GetBlockByNumberResponseType;
|
|
7241
|
+
declare const index$a_GetBlockByNumberResult: typeof GetBlockByNumberResult;
|
|
7242
|
+
declare const index$a_GetBlockReceiptsParams: typeof GetBlockReceiptsParams;
|
|
7243
|
+
declare const index$a_GetBlockReceiptsRequest: typeof GetBlockReceiptsRequest;
|
|
7244
|
+
type index$a_GetBlockReceiptsRequestType = GetBlockReceiptsRequestType;
|
|
7245
|
+
declare const index$a_GetBlockReceiptsResponse: typeof GetBlockReceiptsResponse;
|
|
7246
|
+
type index$a_GetBlockReceiptsResponseType = GetBlockReceiptsResponseType;
|
|
7247
|
+
declare const index$a_GetBlockReceiptsResult: typeof GetBlockReceiptsResult;
|
|
7248
|
+
declare const index$a_GetBlockTransactionCountByHashParams: typeof GetBlockTransactionCountByHashParams;
|
|
7249
|
+
declare const index$a_GetBlockTransactionCountByHashRequest: typeof GetBlockTransactionCountByHashRequest;
|
|
7250
|
+
type index$a_GetBlockTransactionCountByHashRequestType = GetBlockTransactionCountByHashRequestType;
|
|
7251
|
+
declare const index$a_GetBlockTransactionCountByHashResponse: typeof GetBlockTransactionCountByHashResponse;
|
|
7252
|
+
type index$a_GetBlockTransactionCountByHashResponseType = GetBlockTransactionCountByHashResponseType;
|
|
7253
|
+
declare const index$a_GetBlockTransactionCountByHashResult: typeof GetBlockTransactionCountByHashResult;
|
|
7254
|
+
declare const index$a_GetBlockTransactionCountByNumberParams: typeof GetBlockTransactionCountByNumberParams;
|
|
7255
|
+
declare const index$a_GetBlockTransactionCountByNumberRequest: typeof GetBlockTransactionCountByNumberRequest;
|
|
7256
|
+
type index$a_GetBlockTransactionCountByNumberRequestType = GetBlockTransactionCountByNumberRequestType;
|
|
7257
|
+
declare const index$a_GetBlockTransactionCountByNumberResponse: typeof GetBlockTransactionCountByNumberResponse;
|
|
7258
|
+
type index$a_GetBlockTransactionCountByNumberResponseType = GetBlockTransactionCountByNumberResponseType;
|
|
7259
|
+
declare const index$a_GetBlockTransactionCountByNumberResult: typeof GetBlockTransactionCountByNumberResult;
|
|
7260
|
+
declare const index$a_GetCodeParams: typeof GetCodeParams;
|
|
7261
|
+
declare const index$a_GetCodeRequest: typeof GetCodeRequest;
|
|
7262
|
+
type index$a_GetCodeRequestType = GetCodeRequestType;
|
|
7263
|
+
declare const index$a_GetCodeResponse: typeof GetCodeResponse;
|
|
7264
|
+
type index$a_GetCodeResponseType = GetCodeResponseType;
|
|
7265
|
+
declare const index$a_GetCodeResult: typeof GetCodeResult;
|
|
7266
|
+
declare const index$a_GetFilterChangesParams: typeof GetFilterChangesParams;
|
|
7267
|
+
declare const index$a_GetFilterChangesRequest: typeof GetFilterChangesRequest;
|
|
7268
|
+
type index$a_GetFilterChangesRequestType = GetFilterChangesRequestType;
|
|
7269
|
+
declare const index$a_GetFilterChangesResponse: typeof GetFilterChangesResponse;
|
|
7270
|
+
type index$a_GetFilterChangesResponseType = GetFilterChangesResponseType;
|
|
7271
|
+
declare const index$a_GetFilterChangesResult: typeof GetFilterChangesResult;
|
|
7272
|
+
declare const index$a_GetFilterLogsParams: typeof GetFilterLogsParams;
|
|
7273
|
+
declare const index$a_GetFilterLogsRequest: typeof GetFilterLogsRequest;
|
|
7274
|
+
type index$a_GetFilterLogsRequestType = GetFilterLogsRequestType;
|
|
7275
|
+
declare const index$a_GetFilterLogsResponse: typeof GetFilterLogsResponse;
|
|
7276
|
+
type index$a_GetFilterLogsResponseType = GetFilterLogsResponseType;
|
|
7277
|
+
declare const index$a_GetFilterLogsResult: typeof GetFilterLogsResult;
|
|
7278
|
+
declare const index$a_GetLogsParams: typeof GetLogsParams;
|
|
7279
|
+
declare const index$a_GetLogsRequest: typeof GetLogsRequest;
|
|
7280
|
+
type index$a_GetLogsRequestType = GetLogsRequestType;
|
|
7281
|
+
declare const index$a_GetLogsResponse: typeof GetLogsResponse;
|
|
7282
|
+
type index$a_GetLogsResponseType = GetLogsResponseType;
|
|
7283
|
+
declare const index$a_GetLogsResult: typeof GetLogsResult;
|
|
7284
|
+
declare const index$a_GetProofParams: typeof GetProofParams;
|
|
7285
|
+
declare const index$a_GetProofRequest: typeof GetProofRequest;
|
|
7286
|
+
type index$a_GetProofRequestType = GetProofRequestType;
|
|
7287
|
+
declare const index$a_GetProofResponse: typeof GetProofResponse;
|
|
7288
|
+
type index$a_GetProofResponseType = GetProofResponseType;
|
|
7289
|
+
declare const index$a_GetProofResult: typeof GetProofResult;
|
|
7290
|
+
declare const index$a_GetStorageAtParams: typeof GetStorageAtParams;
|
|
7291
|
+
declare const index$a_GetStorageAtRequest: typeof GetStorageAtRequest;
|
|
7292
|
+
type index$a_GetStorageAtRequestType = GetStorageAtRequestType;
|
|
7293
|
+
declare const index$a_GetStorageAtResponse: typeof GetStorageAtResponse;
|
|
7294
|
+
type index$a_GetStorageAtResponseType = GetStorageAtResponseType;
|
|
7295
|
+
declare const index$a_GetStorageAtResult: typeof GetStorageAtResult;
|
|
7296
|
+
declare const index$a_GetTransactionByBlockHashAndIndexParams: typeof GetTransactionByBlockHashAndIndexParams;
|
|
7297
|
+
declare const index$a_GetTransactionByBlockHashAndIndexRequest: typeof GetTransactionByBlockHashAndIndexRequest;
|
|
7298
|
+
type index$a_GetTransactionByBlockHashAndIndexRequestType = GetTransactionByBlockHashAndIndexRequestType;
|
|
7299
|
+
declare const index$a_GetTransactionByBlockHashAndIndexResponse: typeof GetTransactionByBlockHashAndIndexResponse;
|
|
7300
|
+
type index$a_GetTransactionByBlockHashAndIndexResponseType = GetTransactionByBlockHashAndIndexResponseType;
|
|
7301
|
+
declare const index$a_GetTransactionByBlockHashAndIndexResult: typeof GetTransactionByBlockHashAndIndexResult;
|
|
7302
|
+
declare const index$a_GetTransactionByBlockNumberAndIndexParams: typeof GetTransactionByBlockNumberAndIndexParams;
|
|
7303
|
+
declare const index$a_GetTransactionByBlockNumberAndIndexRequest: typeof GetTransactionByBlockNumberAndIndexRequest;
|
|
7304
|
+
type index$a_GetTransactionByBlockNumberAndIndexRequestType = GetTransactionByBlockNumberAndIndexRequestType;
|
|
7305
|
+
declare const index$a_GetTransactionByBlockNumberAndIndexResponse: typeof GetTransactionByBlockNumberAndIndexResponse;
|
|
7306
|
+
type index$a_GetTransactionByBlockNumberAndIndexResponseType = GetTransactionByBlockNumberAndIndexResponseType;
|
|
7307
|
+
declare const index$a_GetTransactionByBlockNumberAndIndexResult: typeof GetTransactionByBlockNumberAndIndexResult;
|
|
7308
|
+
declare const index$a_GetTransactionByHashParams: typeof GetTransactionByHashParams;
|
|
7309
|
+
declare const index$a_GetTransactionByHashRequest: typeof GetTransactionByHashRequest;
|
|
7310
|
+
type index$a_GetTransactionByHashRequestType = GetTransactionByHashRequestType;
|
|
7311
|
+
declare const index$a_GetTransactionByHashResponse: typeof GetTransactionByHashResponse;
|
|
7312
|
+
type index$a_GetTransactionByHashResponseType = GetTransactionByHashResponseType;
|
|
7313
|
+
declare const index$a_GetTransactionByHashResult: typeof GetTransactionByHashResult;
|
|
7314
|
+
declare const index$a_GetTransactionCountParams: typeof GetTransactionCountParams;
|
|
7315
|
+
declare const index$a_GetTransactionCountRequest: typeof GetTransactionCountRequest;
|
|
7316
|
+
type index$a_GetTransactionCountRequestType = GetTransactionCountRequestType;
|
|
7317
|
+
declare const index$a_GetTransactionCountResponse: typeof GetTransactionCountResponse;
|
|
7318
|
+
type index$a_GetTransactionCountResponseType = GetTransactionCountResponseType;
|
|
7319
|
+
declare const index$a_GetTransactionCountResult: typeof GetTransactionCountResult;
|
|
7320
|
+
declare const index$a_GetTransactionReceiptParams: typeof GetTransactionReceiptParams;
|
|
7321
|
+
declare const index$a_GetTransactionReceiptRequest: typeof GetTransactionReceiptRequest;
|
|
7322
|
+
type index$a_GetTransactionReceiptRequestType = GetTransactionReceiptRequestType;
|
|
7323
|
+
declare const index$a_GetTransactionReceiptResponse: typeof GetTransactionReceiptResponse;
|
|
7324
|
+
type index$a_GetTransactionReceiptResponseType = GetTransactionReceiptResponseType;
|
|
7325
|
+
declare const index$a_GetTransactionReceiptResult: typeof GetTransactionReceiptResult;
|
|
7326
|
+
declare const index$a_GetUncleByBlockHashAndIndexParams: typeof GetUncleByBlockHashAndIndexParams;
|
|
7327
|
+
declare const index$a_GetUncleByBlockHashAndIndexRequest: typeof GetUncleByBlockHashAndIndexRequest;
|
|
7328
|
+
type index$a_GetUncleByBlockHashAndIndexRequestType = GetUncleByBlockHashAndIndexRequestType;
|
|
7329
|
+
declare const index$a_GetUncleByBlockHashAndIndexResponse: typeof GetUncleByBlockHashAndIndexResponse;
|
|
7330
|
+
type index$a_GetUncleByBlockHashAndIndexResponseType = GetUncleByBlockHashAndIndexResponseType;
|
|
7331
|
+
declare const index$a_GetUncleByBlockHashAndIndexResult: typeof GetUncleByBlockHashAndIndexResult;
|
|
7332
|
+
declare const index$a_GetUncleByBlockNumberAndIndexParams: typeof GetUncleByBlockNumberAndIndexParams;
|
|
7333
|
+
declare const index$a_GetUncleByBlockNumberAndIndexRequest: typeof GetUncleByBlockNumberAndIndexRequest;
|
|
7334
|
+
type index$a_GetUncleByBlockNumberAndIndexRequestType = GetUncleByBlockNumberAndIndexRequestType;
|
|
7335
|
+
declare const index$a_GetUncleByBlockNumberAndIndexResponse: typeof GetUncleByBlockNumberAndIndexResponse;
|
|
7336
|
+
type index$a_GetUncleByBlockNumberAndIndexResponseType = GetUncleByBlockNumberAndIndexResponseType;
|
|
7337
|
+
declare const index$a_GetUncleByBlockNumberAndIndexResult: typeof GetUncleByBlockNumberAndIndexResult;
|
|
7338
|
+
declare const index$a_GetUncleCountByBlockHashParams: typeof GetUncleCountByBlockHashParams;
|
|
7339
|
+
declare const index$a_GetUncleCountByBlockHashRequest: typeof GetUncleCountByBlockHashRequest;
|
|
7340
|
+
type index$a_GetUncleCountByBlockHashRequestType = GetUncleCountByBlockHashRequestType;
|
|
7341
|
+
declare const index$a_GetUncleCountByBlockHashResponse: typeof GetUncleCountByBlockHashResponse;
|
|
7342
|
+
type index$a_GetUncleCountByBlockHashResponseType = GetUncleCountByBlockHashResponseType;
|
|
7343
|
+
declare const index$a_GetUncleCountByBlockHashResult: typeof GetUncleCountByBlockHashResult;
|
|
7344
|
+
declare const index$a_GetUncleCountByBlockNumberParams: typeof GetUncleCountByBlockNumberParams;
|
|
7345
|
+
declare const index$a_GetUncleCountByBlockNumberRequest: typeof GetUncleCountByBlockNumberRequest;
|
|
7346
|
+
type index$a_GetUncleCountByBlockNumberRequestType = GetUncleCountByBlockNumberRequestType;
|
|
7347
|
+
declare const index$a_GetUncleCountByBlockNumberResponse: typeof GetUncleCountByBlockNumberResponse;
|
|
7348
|
+
type index$a_GetUncleCountByBlockNumberResponseType = GetUncleCountByBlockNumberResponseType;
|
|
7349
|
+
declare const index$a_GetUncleCountByBlockNumberResult: typeof GetUncleCountByBlockNumberResult;
|
|
7350
|
+
declare const index$a_GetWorkParams: typeof GetWorkParams;
|
|
7351
|
+
declare const index$a_GetWorkRequest: typeof GetWorkRequest;
|
|
7352
|
+
type index$a_GetWorkRequestType = GetWorkRequestType;
|
|
7353
|
+
declare const index$a_GetWorkResponse: typeof GetWorkResponse;
|
|
7354
|
+
type index$a_GetWorkResponseType = GetWorkResponseType;
|
|
7355
|
+
declare const index$a_GetWorkResult: typeof GetWorkResult;
|
|
7356
|
+
declare const index$a_HashrateParams: typeof HashrateParams;
|
|
7357
|
+
declare const index$a_HashrateRequest: typeof HashrateRequest;
|
|
7358
|
+
type index$a_HashrateRequestType = HashrateRequestType;
|
|
7359
|
+
declare const index$a_HashrateResponse: typeof HashrateResponse;
|
|
7360
|
+
type index$a_HashrateResponseType = HashrateResponseType;
|
|
7361
|
+
declare const index$a_HashrateResult: typeof HashrateResult;
|
|
7362
|
+
declare const index$a_MaxPriorityFeePerGasParams: typeof MaxPriorityFeePerGasParams;
|
|
7363
|
+
declare const index$a_MaxPriorityFeePerGasRequest: typeof MaxPriorityFeePerGasRequest;
|
|
7364
|
+
type index$a_MaxPriorityFeePerGasRequestType = MaxPriorityFeePerGasRequestType;
|
|
7365
|
+
declare const index$a_MaxPriorityFeePerGasResponse: typeof MaxPriorityFeePerGasResponse;
|
|
7366
|
+
type index$a_MaxPriorityFeePerGasResponseType = MaxPriorityFeePerGasResponseType;
|
|
7367
|
+
declare const index$a_MaxPriorityFeePerGasResult: typeof MaxPriorityFeePerGasResult;
|
|
7368
|
+
declare const index$a_MiningParams: typeof MiningParams;
|
|
7369
|
+
declare const index$a_MiningRequest: typeof MiningRequest;
|
|
7370
|
+
type index$a_MiningRequestType = MiningRequestType;
|
|
7371
|
+
declare const index$a_MiningResponse: typeof MiningResponse;
|
|
7372
|
+
type index$a_MiningResponseType = MiningResponseType;
|
|
7373
|
+
declare const index$a_MiningResult: typeof MiningResult;
|
|
7374
|
+
declare const index$a_NewBlockFilterParams: typeof NewBlockFilterParams;
|
|
7375
|
+
declare const index$a_NewBlockFilterRequest: typeof NewBlockFilterRequest;
|
|
7376
|
+
type index$a_NewBlockFilterRequestType = NewBlockFilterRequestType;
|
|
7377
|
+
declare const index$a_NewBlockFilterResponse: typeof NewBlockFilterResponse;
|
|
7378
|
+
type index$a_NewBlockFilterResponseType = NewBlockFilterResponseType;
|
|
7379
|
+
declare const index$a_NewBlockFilterResult: typeof NewBlockFilterResult;
|
|
7380
|
+
declare const index$a_NewFilterParams: typeof NewFilterParams;
|
|
7381
|
+
declare const index$a_NewFilterRequest: typeof NewFilterRequest;
|
|
7382
|
+
type index$a_NewFilterRequestType = NewFilterRequestType;
|
|
7383
|
+
declare const index$a_NewFilterResponse: typeof NewFilterResponse;
|
|
7384
|
+
type index$a_NewFilterResponseType = NewFilterResponseType;
|
|
7385
|
+
declare const index$a_NewFilterResult: typeof NewFilterResult;
|
|
7386
|
+
declare const index$a_NewPendingTransactionFilterParams: typeof NewPendingTransactionFilterParams;
|
|
7387
|
+
declare const index$a_NewPendingTransactionFilterRequest: typeof NewPendingTransactionFilterRequest;
|
|
7388
|
+
type index$a_NewPendingTransactionFilterRequestType = NewPendingTransactionFilterRequestType;
|
|
7389
|
+
declare const index$a_NewPendingTransactionFilterResponse: typeof NewPendingTransactionFilterResponse;
|
|
7390
|
+
type index$a_NewPendingTransactionFilterResponseType = NewPendingTransactionFilterResponseType;
|
|
7391
|
+
declare const index$a_NewPendingTransactionFilterResult: typeof NewPendingTransactionFilterResult;
|
|
7392
|
+
declare const index$a_ProtocolVersionParams: typeof ProtocolVersionParams;
|
|
7393
|
+
declare const index$a_ProtocolVersionRequest: typeof ProtocolVersionRequest;
|
|
7394
|
+
type index$a_ProtocolVersionRequestType = ProtocolVersionRequestType;
|
|
7395
|
+
declare const index$a_ProtocolVersionResponse: typeof ProtocolVersionResponse;
|
|
7396
|
+
type index$a_ProtocolVersionResponseType = ProtocolVersionResponseType;
|
|
7397
|
+
declare const index$a_ProtocolVersionResult: typeof ProtocolVersionResult;
|
|
7398
|
+
declare const index$a_SendRawTransactionParams: typeof SendRawTransactionParams;
|
|
7399
|
+
declare const index$a_SendRawTransactionRequest: typeof SendRawTransactionRequest;
|
|
7400
|
+
type index$a_SendRawTransactionRequestType = SendRawTransactionRequestType;
|
|
7401
|
+
declare const index$a_SendRawTransactionResponse: typeof SendRawTransactionResponse;
|
|
7402
|
+
type index$a_SendRawTransactionResponseType = SendRawTransactionResponseType;
|
|
7403
|
+
declare const index$a_SendRawTransactionResult: typeof SendRawTransactionResult;
|
|
7404
|
+
declare const index$a_SendTransactionParams: typeof SendTransactionParams;
|
|
7405
|
+
declare const index$a_SendTransactionRequest: typeof SendTransactionRequest;
|
|
7406
|
+
type index$a_SendTransactionRequestType = SendTransactionRequestType;
|
|
7407
|
+
declare const index$a_SendTransactionResponse: typeof SendTransactionResponse;
|
|
7408
|
+
type index$a_SendTransactionResponseType = SendTransactionResponseType;
|
|
7409
|
+
declare const index$a_SendTransactionResult: typeof SendTransactionResult;
|
|
7410
|
+
declare const index$a_SignParams: typeof SignParams;
|
|
7411
|
+
declare const index$a_SignRequest: typeof SignRequest;
|
|
7412
|
+
type index$a_SignRequestType = SignRequestType;
|
|
7413
|
+
declare const index$a_SignResponse: typeof SignResponse;
|
|
7414
|
+
type index$a_SignResponseType = SignResponseType;
|
|
7415
|
+
declare const index$a_SignResult: typeof SignResult;
|
|
7416
|
+
declare const index$a_SignTransactionParams: typeof SignTransactionParams;
|
|
7417
|
+
declare const index$a_SignTransactionRequest: typeof SignTransactionRequest;
|
|
7418
|
+
type index$a_SignTransactionRequestType = SignTransactionRequestType;
|
|
7419
|
+
declare const index$a_SignTransactionResponse: typeof SignTransactionResponse;
|
|
7420
|
+
type index$a_SignTransactionResponseType = SignTransactionResponseType;
|
|
7421
|
+
declare const index$a_SignTransactionResult: typeof SignTransactionResult;
|
|
7422
|
+
declare const index$a_SubmitHashrateParams: typeof SubmitHashrateParams;
|
|
7423
|
+
declare const index$a_SubmitHashrateRequest: typeof SubmitHashrateRequest;
|
|
7424
|
+
type index$a_SubmitHashrateRequestType = SubmitHashrateRequestType;
|
|
7425
|
+
declare const index$a_SubmitHashrateResponse: typeof SubmitHashrateResponse;
|
|
7426
|
+
type index$a_SubmitHashrateResponseType = SubmitHashrateResponseType;
|
|
7427
|
+
declare const index$a_SubmitHashrateResult: typeof SubmitHashrateResult;
|
|
7428
|
+
declare const index$a_SubmitWorkParams: typeof SubmitWorkParams;
|
|
7429
|
+
declare const index$a_SubmitWorkRequest: typeof SubmitWorkRequest;
|
|
7430
|
+
type index$a_SubmitWorkRequestType = SubmitWorkRequestType;
|
|
7431
|
+
declare const index$a_SubmitWorkResponse: typeof SubmitWorkResponse;
|
|
7432
|
+
type index$a_SubmitWorkResponseType = SubmitWorkResponseType;
|
|
7433
|
+
declare const index$a_SubmitWorkResult: typeof SubmitWorkResult;
|
|
7434
|
+
declare const index$a_SubscribeLogsParamsNoFilter: typeof SubscribeLogsParamsNoFilter;
|
|
7435
|
+
declare const index$a_SubscribeLogsParamsWithFilter: typeof SubscribeLogsParamsWithFilter;
|
|
7436
|
+
declare const index$a_SubscribeNewHeadsParams: typeof SubscribeNewHeadsParams;
|
|
7437
|
+
declare const index$a_SubscribeNewPendingTransactionsParams: typeof SubscribeNewPendingTransactionsParams;
|
|
7438
|
+
declare const index$a_SubscribeParams: typeof SubscribeParams;
|
|
7439
|
+
declare const index$a_SubscribeRequest: typeof SubscribeRequest;
|
|
7440
|
+
type index$a_SubscribeRequestType = SubscribeRequestType;
|
|
7441
|
+
declare const index$a_SubscribeResponse: typeof SubscribeResponse;
|
|
7442
|
+
type index$a_SubscribeResponseType = SubscribeResponseType;
|
|
7443
|
+
declare const index$a_SubscribeResult: typeof SubscribeResult;
|
|
7444
|
+
declare const index$a_SubscribeSyncingParams: typeof SubscribeSyncingParams;
|
|
7445
|
+
declare const index$a_SyncingParams: typeof SyncingParams;
|
|
7446
|
+
declare const index$a_SyncingRequest: typeof SyncingRequest;
|
|
7447
|
+
type index$a_SyncingRequestType = SyncingRequestType;
|
|
7448
|
+
declare const index$a_SyncingResponse: typeof SyncingResponse;
|
|
7449
|
+
type index$a_SyncingResponseType = SyncingResponseType;
|
|
7450
|
+
declare const index$a_SyncingResult: typeof SyncingResult;
|
|
7451
|
+
declare const index$a_UninstallFilterParams: typeof UninstallFilterParams;
|
|
7452
|
+
declare const index$a_UninstallFilterRequest: typeof UninstallFilterRequest;
|
|
7453
|
+
type index$a_UninstallFilterRequestType = UninstallFilterRequestType;
|
|
7454
|
+
declare const index$a_UninstallFilterResponse: typeof UninstallFilterResponse;
|
|
7455
|
+
type index$a_UninstallFilterResponseType = UninstallFilterResponseType;
|
|
7456
|
+
declare const index$a_UninstallFilterResult: typeof UninstallFilterResult;
|
|
7457
|
+
declare const index$a_UnsubscribeParams: typeof UnsubscribeParams;
|
|
7458
|
+
declare const index$a_UnsubscribeRequest: typeof UnsubscribeRequest;
|
|
7459
|
+
type index$a_UnsubscribeRequestType = UnsubscribeRequestType;
|
|
7460
|
+
declare const index$a_UnsubscribeResponse: typeof UnsubscribeResponse;
|
|
7461
|
+
type index$a_UnsubscribeResponseType = UnsubscribeResponseType;
|
|
7462
|
+
declare const index$a_UnsubscribeResult: typeof UnsubscribeResult;
|
|
7463
|
+
declare namespace index$a {
|
|
7464
|
+
export { index$a_AccountsParams as AccountsParams, index$a_AccountsRequest as AccountsRequest, type index$a_AccountsRequestType as AccountsRequestType, index$a_AccountsResponse as AccountsResponse, type index$a_AccountsResponseType as AccountsResponseType, index$a_AccountsResult as AccountsResult, index$a_BlobBaseFeeParams as BlobBaseFeeParams, index$a_BlobBaseFeeRequest as BlobBaseFeeRequest, type index$a_BlobBaseFeeRequestType as BlobBaseFeeRequestType, index$a_BlobBaseFeeResponse as BlobBaseFeeResponse, type index$a_BlobBaseFeeResponseType as BlobBaseFeeResponseType, index$a_BlobBaseFeeResult as BlobBaseFeeResult, index$a_BlockNumberParams as BlockNumberParams, index$a_BlockNumberRequest as BlockNumberRequest, type index$a_BlockNumberRequestType as BlockNumberRequestType, index$a_BlockNumberResponse as BlockNumberResponse, type index$a_BlockNumberResponseType as BlockNumberResponseType, index$a_BlockNumberResult as BlockNumberResult, index$a_CallParams as CallParams, index$a_CallRequest as CallRequest, type index$a_CallRequestType as CallRequestType, index$a_CallResponse as CallResponse, type index$a_CallResponseType as CallResponseType, index$a_CallResult as CallResult, index$a_ChainIdParams as ChainIdParams, index$a_ChainIdRequest as ChainIdRequest, type index$a_ChainIdRequestType as ChainIdRequestType, index$a_ChainIdResponse as ChainIdResponse, type index$a_ChainIdResponseType as ChainIdResponseType, index$a_ChainIdResult as ChainIdResult, index$a_CoinbaseParams as CoinbaseParams, index$a_CoinbaseRequest as CoinbaseRequest, type index$a_CoinbaseRequestType as CoinbaseRequestType, index$a_CoinbaseResponse as CoinbaseResponse, type index$a_CoinbaseResponseType as CoinbaseResponseType, index$a_CoinbaseResult as CoinbaseResult, index$a_CreateAccessListParams as CreateAccessListParams, index$a_CreateAccessListRequest as CreateAccessListRequest, type index$a_CreateAccessListRequestType as CreateAccessListRequestType, index$a_CreateAccessListResponse as CreateAccessListResponse, type index$a_CreateAccessListResponseType as CreateAccessListResponseType, index$a_CreateAccessListResult as CreateAccessListResult, index$a_EstimateGasParams as EstimateGasParams, index$a_EstimateGasRequest as EstimateGasRequest, type index$a_EstimateGasRequestType as EstimateGasRequestType, index$a_EstimateGasResponse as EstimateGasResponse, type index$a_EstimateGasResponseType as EstimateGasResponseType, index$a_EstimateGasResult as EstimateGasResult, index$a_EthMethodRequest as EthMethodRequest, type index$a_EthMethodRequestType as EthMethodRequestType, index$a_FeeHistoryParams as FeeHistoryParams, index$a_FeeHistoryRequest as FeeHistoryRequest, type index$a_FeeHistoryRequestType as FeeHistoryRequestType, index$a_FeeHistoryResponse as FeeHistoryResponse, type index$a_FeeHistoryResponseType as FeeHistoryResponseType, index$a_FeeHistoryResult as FeeHistoryResult, index$a_GasPriceParams as GasPriceParams, index$a_GasPriceRequest as GasPriceRequest, type index$a_GasPriceRequestType as GasPriceRequestType, index$a_GasPriceResponse as GasPriceResponse, type index$a_GasPriceResponseType as GasPriceResponseType, index$a_GasPriceResult as GasPriceResult, index$a_GetBalanceParams as GetBalanceParams, index$a_GetBalanceRequest as GetBalanceRequest, type index$a_GetBalanceRequestType as GetBalanceRequestType, index$a_GetBalanceResponse as GetBalanceResponse, type index$a_GetBalanceResponseType as GetBalanceResponseType, index$a_GetBalanceResult as GetBalanceResult, index$a_GetBlockByHashParams as GetBlockByHashParams, index$a_GetBlockByHashRequest as GetBlockByHashRequest, type index$a_GetBlockByHashRequestType as GetBlockByHashRequestType, index$a_GetBlockByHashResponse as GetBlockByHashResponse, type index$a_GetBlockByHashResponseType as GetBlockByHashResponseType, index$a_GetBlockByHashResult as GetBlockByHashResult, index$a_GetBlockByNumberParams as GetBlockByNumberParams, index$a_GetBlockByNumberRequest as GetBlockByNumberRequest, type index$a_GetBlockByNumberRequestType as GetBlockByNumberRequestType, index$a_GetBlockByNumberResponse as GetBlockByNumberResponse, type index$a_GetBlockByNumberResponseType as GetBlockByNumberResponseType, index$a_GetBlockByNumberResult as GetBlockByNumberResult, index$a_GetBlockReceiptsParams as GetBlockReceiptsParams, index$a_GetBlockReceiptsRequest as GetBlockReceiptsRequest, type index$a_GetBlockReceiptsRequestType as GetBlockReceiptsRequestType, index$a_GetBlockReceiptsResponse as GetBlockReceiptsResponse, type index$a_GetBlockReceiptsResponseType as GetBlockReceiptsResponseType, index$a_GetBlockReceiptsResult as GetBlockReceiptsResult, index$a_GetBlockTransactionCountByHashParams as GetBlockTransactionCountByHashParams, index$a_GetBlockTransactionCountByHashRequest as GetBlockTransactionCountByHashRequest, type index$a_GetBlockTransactionCountByHashRequestType as GetBlockTransactionCountByHashRequestType, index$a_GetBlockTransactionCountByHashResponse as GetBlockTransactionCountByHashResponse, type index$a_GetBlockTransactionCountByHashResponseType as GetBlockTransactionCountByHashResponseType, index$a_GetBlockTransactionCountByHashResult as GetBlockTransactionCountByHashResult, index$a_GetBlockTransactionCountByNumberParams as GetBlockTransactionCountByNumberParams, index$a_GetBlockTransactionCountByNumberRequest as GetBlockTransactionCountByNumberRequest, type index$a_GetBlockTransactionCountByNumberRequestType as GetBlockTransactionCountByNumberRequestType, index$a_GetBlockTransactionCountByNumberResponse as GetBlockTransactionCountByNumberResponse, type index$a_GetBlockTransactionCountByNumberResponseType as GetBlockTransactionCountByNumberResponseType, index$a_GetBlockTransactionCountByNumberResult as GetBlockTransactionCountByNumberResult, index$a_GetCodeParams as GetCodeParams, index$a_GetCodeRequest as GetCodeRequest, type index$a_GetCodeRequestType as GetCodeRequestType, index$a_GetCodeResponse as GetCodeResponse, type index$a_GetCodeResponseType as GetCodeResponseType, index$a_GetCodeResult as GetCodeResult, index$a_GetFilterChangesParams as GetFilterChangesParams, index$a_GetFilterChangesRequest as GetFilterChangesRequest, type index$a_GetFilterChangesRequestType as GetFilterChangesRequestType, index$a_GetFilterChangesResponse as GetFilterChangesResponse, type index$a_GetFilterChangesResponseType as GetFilterChangesResponseType, index$a_GetFilterChangesResult as GetFilterChangesResult, index$a_GetFilterLogsParams as GetFilterLogsParams, index$a_GetFilterLogsRequest as GetFilterLogsRequest, type index$a_GetFilterLogsRequestType as GetFilterLogsRequestType, index$a_GetFilterLogsResponse as GetFilterLogsResponse, type index$a_GetFilterLogsResponseType as GetFilterLogsResponseType, index$a_GetFilterLogsResult as GetFilterLogsResult, index$a_GetLogsParams as GetLogsParams, index$a_GetLogsRequest as GetLogsRequest, type index$a_GetLogsRequestType as GetLogsRequestType, index$a_GetLogsResponse as GetLogsResponse, type index$a_GetLogsResponseType as GetLogsResponseType, index$a_GetLogsResult as GetLogsResult, index$a_GetProofParams as GetProofParams, index$a_GetProofRequest as GetProofRequest, type index$a_GetProofRequestType as GetProofRequestType, index$a_GetProofResponse as GetProofResponse, type index$a_GetProofResponseType as GetProofResponseType, index$a_GetProofResult as GetProofResult, index$a_GetStorageAtParams as GetStorageAtParams, index$a_GetStorageAtRequest as GetStorageAtRequest, type index$a_GetStorageAtRequestType as GetStorageAtRequestType, index$a_GetStorageAtResponse as GetStorageAtResponse, type index$a_GetStorageAtResponseType as GetStorageAtResponseType, index$a_GetStorageAtResult as GetStorageAtResult, index$a_GetTransactionByBlockHashAndIndexParams as GetTransactionByBlockHashAndIndexParams, index$a_GetTransactionByBlockHashAndIndexRequest as GetTransactionByBlockHashAndIndexRequest, type index$a_GetTransactionByBlockHashAndIndexRequestType as GetTransactionByBlockHashAndIndexRequestType, index$a_GetTransactionByBlockHashAndIndexResponse as GetTransactionByBlockHashAndIndexResponse, type index$a_GetTransactionByBlockHashAndIndexResponseType as GetTransactionByBlockHashAndIndexResponseType, index$a_GetTransactionByBlockHashAndIndexResult as GetTransactionByBlockHashAndIndexResult, index$a_GetTransactionByBlockNumberAndIndexParams as GetTransactionByBlockNumberAndIndexParams, index$a_GetTransactionByBlockNumberAndIndexRequest as GetTransactionByBlockNumberAndIndexRequest, type index$a_GetTransactionByBlockNumberAndIndexRequestType as GetTransactionByBlockNumberAndIndexRequestType, index$a_GetTransactionByBlockNumberAndIndexResponse as GetTransactionByBlockNumberAndIndexResponse, type index$a_GetTransactionByBlockNumberAndIndexResponseType as GetTransactionByBlockNumberAndIndexResponseType, index$a_GetTransactionByBlockNumberAndIndexResult as GetTransactionByBlockNumberAndIndexResult, index$a_GetTransactionByHashParams as GetTransactionByHashParams, index$a_GetTransactionByHashRequest as GetTransactionByHashRequest, type index$a_GetTransactionByHashRequestType as GetTransactionByHashRequestType, index$a_GetTransactionByHashResponse as GetTransactionByHashResponse, type index$a_GetTransactionByHashResponseType as GetTransactionByHashResponseType, index$a_GetTransactionByHashResult as GetTransactionByHashResult, index$a_GetTransactionCountParams as GetTransactionCountParams, index$a_GetTransactionCountRequest as GetTransactionCountRequest, type index$a_GetTransactionCountRequestType as GetTransactionCountRequestType, index$a_GetTransactionCountResponse as GetTransactionCountResponse, type index$a_GetTransactionCountResponseType as GetTransactionCountResponseType, index$a_GetTransactionCountResult as GetTransactionCountResult, index$a_GetTransactionReceiptParams as GetTransactionReceiptParams, index$a_GetTransactionReceiptRequest as GetTransactionReceiptRequest, type index$a_GetTransactionReceiptRequestType as GetTransactionReceiptRequestType, index$a_GetTransactionReceiptResponse as GetTransactionReceiptResponse, type index$a_GetTransactionReceiptResponseType as GetTransactionReceiptResponseType, index$a_GetTransactionReceiptResult as GetTransactionReceiptResult, index$a_GetUncleByBlockHashAndIndexParams as GetUncleByBlockHashAndIndexParams, index$a_GetUncleByBlockHashAndIndexRequest as GetUncleByBlockHashAndIndexRequest, type index$a_GetUncleByBlockHashAndIndexRequestType as GetUncleByBlockHashAndIndexRequestType, index$a_GetUncleByBlockHashAndIndexResponse as GetUncleByBlockHashAndIndexResponse, type index$a_GetUncleByBlockHashAndIndexResponseType as GetUncleByBlockHashAndIndexResponseType, index$a_GetUncleByBlockHashAndIndexResult as GetUncleByBlockHashAndIndexResult, index$a_GetUncleByBlockNumberAndIndexParams as GetUncleByBlockNumberAndIndexParams, index$a_GetUncleByBlockNumberAndIndexRequest as GetUncleByBlockNumberAndIndexRequest, type index$a_GetUncleByBlockNumberAndIndexRequestType as GetUncleByBlockNumberAndIndexRequestType, index$a_GetUncleByBlockNumberAndIndexResponse as GetUncleByBlockNumberAndIndexResponse, type index$a_GetUncleByBlockNumberAndIndexResponseType as GetUncleByBlockNumberAndIndexResponseType, index$a_GetUncleByBlockNumberAndIndexResult as GetUncleByBlockNumberAndIndexResult, index$a_GetUncleCountByBlockHashParams as GetUncleCountByBlockHashParams, index$a_GetUncleCountByBlockHashRequest as GetUncleCountByBlockHashRequest, type index$a_GetUncleCountByBlockHashRequestType as GetUncleCountByBlockHashRequestType, index$a_GetUncleCountByBlockHashResponse as GetUncleCountByBlockHashResponse, type index$a_GetUncleCountByBlockHashResponseType as GetUncleCountByBlockHashResponseType, index$a_GetUncleCountByBlockHashResult as GetUncleCountByBlockHashResult, index$a_GetUncleCountByBlockNumberParams as GetUncleCountByBlockNumberParams, index$a_GetUncleCountByBlockNumberRequest as GetUncleCountByBlockNumberRequest, type index$a_GetUncleCountByBlockNumberRequestType as GetUncleCountByBlockNumberRequestType, index$a_GetUncleCountByBlockNumberResponse as GetUncleCountByBlockNumberResponse, type index$a_GetUncleCountByBlockNumberResponseType as GetUncleCountByBlockNumberResponseType, index$a_GetUncleCountByBlockNumberResult as GetUncleCountByBlockNumberResult, index$a_GetWorkParams as GetWorkParams, index$a_GetWorkRequest as GetWorkRequest, type index$a_GetWorkRequestType as GetWorkRequestType, index$a_GetWorkResponse as GetWorkResponse, type index$a_GetWorkResponseType as GetWorkResponseType, index$a_GetWorkResult as GetWorkResult, index$a_HashrateParams as HashrateParams, index$a_HashrateRequest as HashrateRequest, type index$a_HashrateRequestType as HashrateRequestType, index$a_HashrateResponse as HashrateResponse, type index$a_HashrateResponseType as HashrateResponseType, index$a_HashrateResult as HashrateResult, index$a_MaxPriorityFeePerGasParams as MaxPriorityFeePerGasParams, index$a_MaxPriorityFeePerGasRequest as MaxPriorityFeePerGasRequest, type index$a_MaxPriorityFeePerGasRequestType as MaxPriorityFeePerGasRequestType, index$a_MaxPriorityFeePerGasResponse as MaxPriorityFeePerGasResponse, type index$a_MaxPriorityFeePerGasResponseType as MaxPriorityFeePerGasResponseType, index$a_MaxPriorityFeePerGasResult as MaxPriorityFeePerGasResult, index$a_MiningParams as MiningParams, index$a_MiningRequest as MiningRequest, type index$a_MiningRequestType as MiningRequestType, index$a_MiningResponse as MiningResponse, type index$a_MiningResponseType as MiningResponseType, index$a_MiningResult as MiningResult, index$a_NewBlockFilterParams as NewBlockFilterParams, index$a_NewBlockFilterRequest as NewBlockFilterRequest, type index$a_NewBlockFilterRequestType as NewBlockFilterRequestType, index$a_NewBlockFilterResponse as NewBlockFilterResponse, type index$a_NewBlockFilterResponseType as NewBlockFilterResponseType, index$a_NewBlockFilterResult as NewBlockFilterResult, index$a_NewFilterParams as NewFilterParams, index$a_NewFilterRequest as NewFilterRequest, type index$a_NewFilterRequestType as NewFilterRequestType, index$a_NewFilterResponse as NewFilterResponse, type index$a_NewFilterResponseType as NewFilterResponseType, index$a_NewFilterResult as NewFilterResult, index$a_NewPendingTransactionFilterParams as NewPendingTransactionFilterParams, index$a_NewPendingTransactionFilterRequest as NewPendingTransactionFilterRequest, type index$a_NewPendingTransactionFilterRequestType as NewPendingTransactionFilterRequestType, index$a_NewPendingTransactionFilterResponse as NewPendingTransactionFilterResponse, type index$a_NewPendingTransactionFilterResponseType as NewPendingTransactionFilterResponseType, index$a_NewPendingTransactionFilterResult as NewPendingTransactionFilterResult, index$a_ProtocolVersionParams as ProtocolVersionParams, index$a_ProtocolVersionRequest as ProtocolVersionRequest, type index$a_ProtocolVersionRequestType as ProtocolVersionRequestType, index$a_ProtocolVersionResponse as ProtocolVersionResponse, type index$a_ProtocolVersionResponseType as ProtocolVersionResponseType, index$a_ProtocolVersionResult as ProtocolVersionResult, index$a_SendRawTransactionParams as SendRawTransactionParams, index$a_SendRawTransactionRequest as SendRawTransactionRequest, type index$a_SendRawTransactionRequestType as SendRawTransactionRequestType, index$a_SendRawTransactionResponse as SendRawTransactionResponse, type index$a_SendRawTransactionResponseType as SendRawTransactionResponseType, index$a_SendRawTransactionResult as SendRawTransactionResult, index$a_SendTransactionParams as SendTransactionParams, index$a_SendTransactionRequest as SendTransactionRequest, type index$a_SendTransactionRequestType as SendTransactionRequestType, index$a_SendTransactionResponse as SendTransactionResponse, type index$a_SendTransactionResponseType as SendTransactionResponseType, index$a_SendTransactionResult as SendTransactionResult, index$a_SignParams as SignParams, index$a_SignRequest as SignRequest, type index$a_SignRequestType as SignRequestType, index$a_SignResponse as SignResponse, type index$a_SignResponseType as SignResponseType, index$a_SignResult as SignResult, index$a_SignTransactionParams as SignTransactionParams, index$a_SignTransactionRequest as SignTransactionRequest, type index$a_SignTransactionRequestType as SignTransactionRequestType, index$a_SignTransactionResponse as SignTransactionResponse, type index$a_SignTransactionResponseType as SignTransactionResponseType, index$a_SignTransactionResult as SignTransactionResult, index$a_SubmitHashrateParams as SubmitHashrateParams, index$a_SubmitHashrateRequest as SubmitHashrateRequest, type index$a_SubmitHashrateRequestType as SubmitHashrateRequestType, index$a_SubmitHashrateResponse as SubmitHashrateResponse, type index$a_SubmitHashrateResponseType as SubmitHashrateResponseType, index$a_SubmitHashrateResult as SubmitHashrateResult, index$a_SubmitWorkParams as SubmitWorkParams, index$a_SubmitWorkRequest as SubmitWorkRequest, type index$a_SubmitWorkRequestType as SubmitWorkRequestType, index$a_SubmitWorkResponse as SubmitWorkResponse, type index$a_SubmitWorkResponseType as SubmitWorkResponseType, index$a_SubmitWorkResult as SubmitWorkResult, index$a_SubscribeLogsParamsNoFilter as SubscribeLogsParamsNoFilter, index$a_SubscribeLogsParamsWithFilter as SubscribeLogsParamsWithFilter, index$a_SubscribeNewHeadsParams as SubscribeNewHeadsParams, index$a_SubscribeNewPendingTransactionsParams as SubscribeNewPendingTransactionsParams, index$a_SubscribeParams as SubscribeParams, index$a_SubscribeRequest as SubscribeRequest, type index$a_SubscribeRequestType as SubscribeRequestType, index$a_SubscribeResponse as SubscribeResponse, type index$a_SubscribeResponseType as SubscribeResponseType, index$a_SubscribeResult as SubscribeResult, index$a_SubscribeSyncingParams as SubscribeSyncingParams, index$a_SyncingParams as SyncingParams, index$a_SyncingRequest as SyncingRequest, type index$a_SyncingRequestType as SyncingRequestType, index$a_SyncingResponse as SyncingResponse, type index$a_SyncingResponseType as SyncingResponseType, index$a_SyncingResult as SyncingResult, index$a_UninstallFilterParams as UninstallFilterParams, index$a_UninstallFilterRequest as UninstallFilterRequest, type index$a_UninstallFilterRequestType as UninstallFilterRequestType, index$a_UninstallFilterResponse as UninstallFilterResponse, type index$a_UninstallFilterResponseType as UninstallFilterResponseType, index$a_UninstallFilterResult as UninstallFilterResult, index$a_UnsubscribeParams as UnsubscribeParams, index$a_UnsubscribeRequest as UnsubscribeRequest, type index$a_UnsubscribeRequestType as UnsubscribeRequestType, index$a_UnsubscribeResponse as UnsubscribeResponse, type index$a_UnsubscribeResponseType as UnsubscribeResponseType, index$a_UnsubscribeResult as UnsubscribeResult };
|
|
7401
7465
|
}
|
|
7402
7466
|
|
|
7403
7467
|
/**
|
|
@@ -7817,65 +7881,65 @@ declare const HardhatMethodRequest: S.Union<[S.Struct<{
|
|
|
7817
7881
|
/** Type for HardhatMethodRequest union */
|
|
7818
7882
|
type HardhatMethodRequestType = S.Schema.Type<typeof HardhatMethodRequest>;
|
|
7819
7883
|
|
|
7820
|
-
declare const index$
|
|
7821
|
-
declare const index$
|
|
7822
|
-
type index$
|
|
7823
|
-
declare const index$
|
|
7824
|
-
type index$
|
|
7825
|
-
declare const index$
|
|
7826
|
-
declare const index$
|
|
7827
|
-
declare const index$
|
|
7828
|
-
type index$
|
|
7829
|
-
declare const index$
|
|
7830
|
-
declare const index$
|
|
7831
|
-
type index$
|
|
7832
|
-
declare const index$
|
|
7833
|
-
type index$
|
|
7834
|
-
declare const index$
|
|
7835
|
-
declare const index$
|
|
7836
|
-
declare const index$
|
|
7837
|
-
type index$
|
|
7838
|
-
declare const index$
|
|
7839
|
-
type index$
|
|
7840
|
-
declare const index$
|
|
7841
|
-
declare const index$
|
|
7842
|
-
declare const index$
|
|
7843
|
-
type index$
|
|
7844
|
-
declare const index$
|
|
7845
|
-
type index$
|
|
7846
|
-
declare const index$
|
|
7847
|
-
declare const index$
|
|
7848
|
-
declare const index$
|
|
7849
|
-
type index$
|
|
7850
|
-
declare const index$
|
|
7851
|
-
type index$
|
|
7852
|
-
declare const index$
|
|
7853
|
-
declare const index$
|
|
7854
|
-
declare const index$
|
|
7855
|
-
type index$
|
|
7856
|
-
declare const index$
|
|
7857
|
-
type index$
|
|
7858
|
-
declare const index$
|
|
7859
|
-
declare const index$
|
|
7860
|
-
declare const index$
|
|
7861
|
-
type index$
|
|
7862
|
-
declare const index$
|
|
7863
|
-
type index$
|
|
7864
|
-
declare const index$
|
|
7865
|
-
declare const index$
|
|
7866
|
-
declare const index$
|
|
7867
|
-
type index$
|
|
7868
|
-
declare const index$
|
|
7869
|
-
type index$
|
|
7870
|
-
declare const index$
|
|
7871
|
-
declare const index$
|
|
7872
|
-
declare const index$
|
|
7873
|
-
type index$
|
|
7874
|
-
declare const index$
|
|
7875
|
-
type index$
|
|
7876
|
-
declare const index$
|
|
7877
|
-
declare namespace index$
|
|
7878
|
-
export { index$
|
|
7884
|
+
declare const index$9_DropTransactionParams: typeof DropTransactionParams;
|
|
7885
|
+
declare const index$9_DropTransactionRequest: typeof DropTransactionRequest;
|
|
7886
|
+
type index$9_DropTransactionRequestType = DropTransactionRequestType;
|
|
7887
|
+
declare const index$9_DropTransactionResponse: typeof DropTransactionResponse;
|
|
7888
|
+
type index$9_DropTransactionResponseType = DropTransactionResponseType;
|
|
7889
|
+
declare const index$9_DropTransactionResult: typeof DropTransactionResult;
|
|
7890
|
+
declare const index$9_ForkConfigSchema: typeof ForkConfigSchema;
|
|
7891
|
+
declare const index$9_HardhatMethodRequest: typeof HardhatMethodRequest;
|
|
7892
|
+
type index$9_HardhatMethodRequestType = HardhatMethodRequestType;
|
|
7893
|
+
declare const index$9_ImpersonateAccountParams: typeof ImpersonateAccountParams;
|
|
7894
|
+
declare const index$9_ImpersonateAccountRequest: typeof ImpersonateAccountRequest;
|
|
7895
|
+
type index$9_ImpersonateAccountRequestType = ImpersonateAccountRequestType;
|
|
7896
|
+
declare const index$9_ImpersonateAccountResponse: typeof ImpersonateAccountResponse;
|
|
7897
|
+
type index$9_ImpersonateAccountResponseType = ImpersonateAccountResponseType;
|
|
7898
|
+
declare const index$9_ImpersonateAccountResult: typeof ImpersonateAccountResult;
|
|
7899
|
+
declare const index$9_MineParams: typeof MineParams;
|
|
7900
|
+
declare const index$9_MineRequest: typeof MineRequest;
|
|
7901
|
+
type index$9_MineRequestType = MineRequestType;
|
|
7902
|
+
declare const index$9_MineResponse: typeof MineResponse;
|
|
7903
|
+
type index$9_MineResponseType = MineResponseType;
|
|
7904
|
+
declare const index$9_MineResult: typeof MineResult;
|
|
7905
|
+
declare const index$9_ResetParams: typeof ResetParams;
|
|
7906
|
+
declare const index$9_ResetRequest: typeof ResetRequest;
|
|
7907
|
+
type index$9_ResetRequestType = ResetRequestType;
|
|
7908
|
+
declare const index$9_ResetResponse: typeof ResetResponse;
|
|
7909
|
+
type index$9_ResetResponseType = ResetResponseType;
|
|
7910
|
+
declare const index$9_ResetResult: typeof ResetResult;
|
|
7911
|
+
declare const index$9_SetBalanceParams: typeof SetBalanceParams;
|
|
7912
|
+
declare const index$9_SetBalanceRequest: typeof SetBalanceRequest;
|
|
7913
|
+
type index$9_SetBalanceRequestType = SetBalanceRequestType;
|
|
7914
|
+
declare const index$9_SetBalanceResponse: typeof SetBalanceResponse;
|
|
7915
|
+
type index$9_SetBalanceResponseType = SetBalanceResponseType;
|
|
7916
|
+
declare const index$9_SetBalanceResult: typeof SetBalanceResult;
|
|
7917
|
+
declare const index$9_SetCodeParams: typeof SetCodeParams;
|
|
7918
|
+
declare const index$9_SetCodeRequest: typeof SetCodeRequest;
|
|
7919
|
+
type index$9_SetCodeRequestType = SetCodeRequestType;
|
|
7920
|
+
declare const index$9_SetCodeResponse: typeof SetCodeResponse;
|
|
7921
|
+
type index$9_SetCodeResponseType = SetCodeResponseType;
|
|
7922
|
+
declare const index$9_SetCodeResult: typeof SetCodeResult;
|
|
7923
|
+
declare const index$9_SetNonceParams: typeof SetNonceParams;
|
|
7924
|
+
declare const index$9_SetNonceRequest: typeof SetNonceRequest;
|
|
7925
|
+
type index$9_SetNonceRequestType = SetNonceRequestType;
|
|
7926
|
+
declare const index$9_SetNonceResponse: typeof SetNonceResponse;
|
|
7927
|
+
type index$9_SetNonceResponseType = SetNonceResponseType;
|
|
7928
|
+
declare const index$9_SetNonceResult: typeof SetNonceResult;
|
|
7929
|
+
declare const index$9_SetStorageAtParams: typeof SetStorageAtParams;
|
|
7930
|
+
declare const index$9_SetStorageAtRequest: typeof SetStorageAtRequest;
|
|
7931
|
+
type index$9_SetStorageAtRequestType = SetStorageAtRequestType;
|
|
7932
|
+
declare const index$9_SetStorageAtResponse: typeof SetStorageAtResponse;
|
|
7933
|
+
type index$9_SetStorageAtResponseType = SetStorageAtResponseType;
|
|
7934
|
+
declare const index$9_SetStorageAtResult: typeof SetStorageAtResult;
|
|
7935
|
+
declare const index$9_StopImpersonatingAccountParams: typeof StopImpersonatingAccountParams;
|
|
7936
|
+
declare const index$9_StopImpersonatingAccountRequest: typeof StopImpersonatingAccountRequest;
|
|
7937
|
+
type index$9_StopImpersonatingAccountRequestType = StopImpersonatingAccountRequestType;
|
|
7938
|
+
declare const index$9_StopImpersonatingAccountResponse: typeof StopImpersonatingAccountResponse;
|
|
7939
|
+
type index$9_StopImpersonatingAccountResponseType = StopImpersonatingAccountResponseType;
|
|
7940
|
+
declare const index$9_StopImpersonatingAccountResult: typeof StopImpersonatingAccountResult;
|
|
7941
|
+
declare namespace index$9 {
|
|
7942
|
+
export { index$9_DropTransactionParams as DropTransactionParams, index$9_DropTransactionRequest as DropTransactionRequest, type index$9_DropTransactionRequestType as DropTransactionRequestType, index$9_DropTransactionResponse as DropTransactionResponse, type index$9_DropTransactionResponseType as DropTransactionResponseType, index$9_DropTransactionResult as DropTransactionResult, index$9_ForkConfigSchema as ForkConfigSchema, index$9_HardhatMethodRequest as HardhatMethodRequest, type index$9_HardhatMethodRequestType as HardhatMethodRequestType, index$9_ImpersonateAccountParams as ImpersonateAccountParams, index$9_ImpersonateAccountRequest as ImpersonateAccountRequest, type index$9_ImpersonateAccountRequestType as ImpersonateAccountRequestType, index$9_ImpersonateAccountResponse as ImpersonateAccountResponse, type index$9_ImpersonateAccountResponseType as ImpersonateAccountResponseType, index$9_ImpersonateAccountResult as ImpersonateAccountResult, index$9_MineParams as MineParams, index$9_MineRequest as MineRequest, type index$9_MineRequestType as MineRequestType, index$9_MineResponse as MineResponse, type index$9_MineResponseType as MineResponseType, index$9_MineResult as MineResult, index$9_ResetParams as ResetParams, index$9_ResetRequest as ResetRequest, type index$9_ResetRequestType as ResetRequestType, index$9_ResetResponse as ResetResponse, type index$9_ResetResponseType as ResetResponseType, index$9_ResetResult as ResetResult, index$9_SetBalanceParams as SetBalanceParams, index$9_SetBalanceRequest as SetBalanceRequest, type index$9_SetBalanceRequestType as SetBalanceRequestType, index$9_SetBalanceResponse as SetBalanceResponse, type index$9_SetBalanceResponseType as SetBalanceResponseType, index$9_SetBalanceResult as SetBalanceResult, index$9_SetCodeParams as SetCodeParams, index$9_SetCodeRequest as SetCodeRequest, type index$9_SetCodeRequestType as SetCodeRequestType, index$9_SetCodeResponse as SetCodeResponse, type index$9_SetCodeResponseType as SetCodeResponseType, index$9_SetCodeResult as SetCodeResult, index$9_SetNonceParams as SetNonceParams, index$9_SetNonceRequest as SetNonceRequest, type index$9_SetNonceRequestType as SetNonceRequestType, index$9_SetNonceResponse as SetNonceResponse, type index$9_SetNonceResponseType as SetNonceResponseType, index$9_SetNonceResult as SetNonceResult, index$9_SetStorageAtParams as SetStorageAtParams, index$9_SetStorageAtRequest as SetStorageAtRequest, type index$9_SetStorageAtRequestType as SetStorageAtRequestType, index$9_SetStorageAtResponse as SetStorageAtResponse, type index$9_SetStorageAtResponseType as SetStorageAtResponseType, index$9_SetStorageAtResult as SetStorageAtResult, index$9_StopImpersonatingAccountParams as StopImpersonatingAccountParams, index$9_StopImpersonatingAccountRequest as StopImpersonatingAccountRequest, type index$9_StopImpersonatingAccountRequestType as StopImpersonatingAccountRequestType, index$9_StopImpersonatingAccountResponse as StopImpersonatingAccountResponse, type index$9_StopImpersonatingAccountResponseType as StopImpersonatingAccountResponseType, index$9_StopImpersonatingAccountResult as StopImpersonatingAccountResult };
|
|
7879
7943
|
}
|
|
7880
7944
|
|
|
7881
7945
|
/**
|
|
@@ -8021,28 +8085,28 @@ declare const NetMethodRequest: S.Union<[S.Struct<{
|
|
|
8021
8085
|
/** Type for NetMethodRequest union */
|
|
8022
8086
|
type NetMethodRequestType = S.Schema.Type<typeof NetMethodRequest>;
|
|
8023
8087
|
|
|
8024
|
-
declare const index$
|
|
8025
|
-
declare const index$
|
|
8026
|
-
type index$
|
|
8027
|
-
declare const index$
|
|
8028
|
-
type index$
|
|
8029
|
-
declare const index$
|
|
8030
|
-
declare const index$
|
|
8031
|
-
type index$
|
|
8032
|
-
declare const index$
|
|
8033
|
-
declare const index$
|
|
8034
|
-
type index$
|
|
8035
|
-
declare const index$
|
|
8036
|
-
type index$
|
|
8037
|
-
declare const index$
|
|
8038
|
-
declare const index$
|
|
8039
|
-
declare const index$
|
|
8040
|
-
type index$
|
|
8041
|
-
declare const index$
|
|
8042
|
-
type index$
|
|
8043
|
-
declare const index$
|
|
8044
|
-
declare namespace index$
|
|
8045
|
-
export { index$
|
|
8088
|
+
declare const index$8_ListeningParams: typeof ListeningParams;
|
|
8089
|
+
declare const index$8_ListeningRequest: typeof ListeningRequest;
|
|
8090
|
+
type index$8_ListeningRequestType = ListeningRequestType;
|
|
8091
|
+
declare const index$8_ListeningResponse: typeof ListeningResponse;
|
|
8092
|
+
type index$8_ListeningResponseType = ListeningResponseType;
|
|
8093
|
+
declare const index$8_ListeningResult: typeof ListeningResult;
|
|
8094
|
+
declare const index$8_NetMethodRequest: typeof NetMethodRequest;
|
|
8095
|
+
type index$8_NetMethodRequestType = NetMethodRequestType;
|
|
8096
|
+
declare const index$8_PeerCountParams: typeof PeerCountParams;
|
|
8097
|
+
declare const index$8_PeerCountRequest: typeof PeerCountRequest;
|
|
8098
|
+
type index$8_PeerCountRequestType = PeerCountRequestType;
|
|
8099
|
+
declare const index$8_PeerCountResponse: typeof PeerCountResponse;
|
|
8100
|
+
type index$8_PeerCountResponseType = PeerCountResponseType;
|
|
8101
|
+
declare const index$8_PeerCountResult: typeof PeerCountResult;
|
|
8102
|
+
declare const index$8_VersionParams: typeof VersionParams;
|
|
8103
|
+
declare const index$8_VersionRequest: typeof VersionRequest;
|
|
8104
|
+
type index$8_VersionRequestType = VersionRequestType;
|
|
8105
|
+
declare const index$8_VersionResponse: typeof VersionResponse;
|
|
8106
|
+
type index$8_VersionResponseType = VersionResponseType;
|
|
8107
|
+
declare const index$8_VersionResult: typeof VersionResult;
|
|
8108
|
+
declare namespace index$8 {
|
|
8109
|
+
export { index$8_ListeningParams as ListeningParams, index$8_ListeningRequest as ListeningRequest, type index$8_ListeningRequestType as ListeningRequestType, index$8_ListeningResponse as ListeningResponse, type index$8_ListeningResponseType as ListeningResponseType, index$8_ListeningResult as ListeningResult, index$8_NetMethodRequest as NetMethodRequest, type index$8_NetMethodRequestType as NetMethodRequestType, index$8_PeerCountParams as PeerCountParams, index$8_PeerCountRequest as PeerCountRequest, type index$8_PeerCountRequestType as PeerCountRequestType, index$8_PeerCountResponse as PeerCountResponse, type index$8_PeerCountResponseType as PeerCountResponseType, index$8_PeerCountResult as PeerCountResult, index$8_VersionParams as VersionParams, index$8_VersionRequest as VersionRequest, type index$8_VersionRequestType as VersionRequestType, index$8_VersionResponse as VersionResponse, type index$8_VersionResponseType as VersionResponseType, index$8_VersionResult as VersionResult };
|
|
8046
8110
|
}
|
|
8047
8111
|
|
|
8048
8112
|
/**
|
|
@@ -8383,29 +8447,29 @@ declare const TxpoolMethodRequest: S.Union<[S.Struct<{
|
|
|
8383
8447
|
/** Type for TxpoolMethodRequest union */
|
|
8384
8448
|
type TxpoolMethodRequestType = S.Schema.Type<typeof TxpoolMethodRequest>;
|
|
8385
8449
|
|
|
8386
|
-
declare const index$
|
|
8387
|
-
type index$
|
|
8388
|
-
declare const index$
|
|
8389
|
-
type index$
|
|
8390
|
-
declare const index$
|
|
8391
|
-
declare const index$
|
|
8392
|
-
type index$
|
|
8393
|
-
declare const index$
|
|
8394
|
-
type index$
|
|
8395
|
-
declare const index$
|
|
8396
|
-
declare const index$
|
|
8397
|
-
type index$
|
|
8398
|
-
declare const index$
|
|
8399
|
-
type index$
|
|
8400
|
-
declare const index$
|
|
8401
|
-
declare const index$
|
|
8402
|
-
declare const index$
|
|
8403
|
-
declare const index$
|
|
8404
|
-
declare const index$
|
|
8405
|
-
declare const index$
|
|
8406
|
-
type index$
|
|
8407
|
-
declare namespace index$
|
|
8408
|
-
export { index$
|
|
8450
|
+
declare const index$7_ContentParams: typeof ContentParams;
|
|
8451
|
+
type index$7_ContentRequestType = ContentRequestType;
|
|
8452
|
+
declare const index$7_ContentResponse: typeof ContentResponse;
|
|
8453
|
+
type index$7_ContentResponseType = ContentResponseType;
|
|
8454
|
+
declare const index$7_ContentResult: typeof ContentResult;
|
|
8455
|
+
declare const index$7_InspectParams: typeof InspectParams;
|
|
8456
|
+
type index$7_InspectRequestType = InspectRequestType;
|
|
8457
|
+
declare const index$7_InspectResponse: typeof InspectResponse;
|
|
8458
|
+
type index$7_InspectResponseType = InspectResponseType;
|
|
8459
|
+
declare const index$7_InspectResult: typeof InspectResult;
|
|
8460
|
+
declare const index$7_StatusParams: typeof StatusParams;
|
|
8461
|
+
type index$7_StatusRequestType = StatusRequestType;
|
|
8462
|
+
declare const index$7_StatusResponse: typeof StatusResponse;
|
|
8463
|
+
type index$7_StatusResponseType = StatusResponseType;
|
|
8464
|
+
declare const index$7_StatusResult: typeof StatusResult;
|
|
8465
|
+
declare const index$7_TransactionSummaryByAddressSchema: typeof TransactionSummaryByAddressSchema;
|
|
8466
|
+
declare const index$7_TransactionSummaryByNonceSchema: typeof TransactionSummaryByNonceSchema;
|
|
8467
|
+
declare const index$7_TransactionsByAddressSchema: typeof TransactionsByAddressSchema;
|
|
8468
|
+
declare const index$7_TransactionsByNonceSchema: typeof TransactionsByNonceSchema;
|
|
8469
|
+
declare const index$7_TxpoolMethodRequest: typeof TxpoolMethodRequest;
|
|
8470
|
+
type index$7_TxpoolMethodRequestType = TxpoolMethodRequestType;
|
|
8471
|
+
declare namespace index$7 {
|
|
8472
|
+
export { index$7_ContentParams as ContentParams, ContentRequest$1 as ContentRequest, type index$7_ContentRequestType as ContentRequestType, index$7_ContentResponse as ContentResponse, type index$7_ContentResponseType as ContentResponseType, index$7_ContentResult as ContentResult, index$7_InspectParams as InspectParams, InspectRequest$1 as InspectRequest, type index$7_InspectRequestType as InspectRequestType, index$7_InspectResponse as InspectResponse, type index$7_InspectResponseType as InspectResponseType, index$7_InspectResult as InspectResult, index$7_StatusParams as StatusParams, StatusRequest$1 as StatusRequest, type index$7_StatusRequestType as StatusRequestType, index$7_StatusResponse as StatusResponse, type index$7_StatusResponseType as StatusResponseType, index$7_StatusResult as StatusResult, index$7_TransactionSummaryByAddressSchema as TransactionSummaryByAddressSchema, index$7_TransactionSummaryByNonceSchema as TransactionSummaryByNonceSchema, index$7_TransactionsByAddressSchema as TransactionsByAddressSchema, index$7_TransactionsByNonceSchema as TransactionsByNonceSchema, index$7_TxpoolMethodRequest as TxpoolMethodRequest, type index$7_TxpoolMethodRequestType as TxpoolMethodRequestType };
|
|
8409
8473
|
}
|
|
8410
8474
|
|
|
8411
8475
|
/**
|
|
@@ -9262,99 +9326,99 @@ declare const WalletMethodRequest: S.Union<[S.Struct<{
|
|
|
9262
9326
|
/** Type for WalletMethodRequest union */
|
|
9263
9327
|
type WalletMethodRequestType = S.Schema.Type<typeof WalletMethodRequest>;
|
|
9264
9328
|
|
|
9265
|
-
declare const index$
|
|
9266
|
-
type index$
|
|
9267
|
-
declare const index$
|
|
9268
|
-
type index$
|
|
9269
|
-
declare const index$
|
|
9270
|
-
type index$
|
|
9271
|
-
declare const index$
|
|
9272
|
-
declare const index$
|
|
9273
|
-
type index$
|
|
9274
|
-
declare const index$
|
|
9275
|
-
type index$
|
|
9276
|
-
declare const index$
|
|
9277
|
-
declare const index$
|
|
9278
|
-
type index$
|
|
9279
|
-
declare const index$
|
|
9280
|
-
declare const index$
|
|
9281
|
-
type index$
|
|
9282
|
-
declare const index$
|
|
9283
|
-
type index$
|
|
9284
|
-
declare const index$
|
|
9285
|
-
declare const index$
|
|
9286
|
-
declare const index$
|
|
9287
|
-
type index$
|
|
9288
|
-
declare const index$
|
|
9289
|
-
type index$
|
|
9290
|
-
declare const index$
|
|
9291
|
-
type index$
|
|
9292
|
-
declare const index$
|
|
9293
|
-
type index$
|
|
9294
|
-
declare const index$
|
|
9295
|
-
type index$
|
|
9296
|
-
declare const index$
|
|
9297
|
-
declare const index$
|
|
9298
|
-
declare const index$
|
|
9299
|
-
declare const index$
|
|
9300
|
-
type index$
|
|
9301
|
-
type index$
|
|
9302
|
-
declare const index$
|
|
9303
|
-
type index$
|
|
9304
|
-
declare const index$
|
|
9305
|
-
declare const index$
|
|
9306
|
-
type index$
|
|
9307
|
-
declare const index$
|
|
9308
|
-
type index$
|
|
9309
|
-
declare const index$
|
|
9310
|
-
declare const index$
|
|
9311
|
-
type index$
|
|
9312
|
-
declare const index$
|
|
9313
|
-
type index$
|
|
9314
|
-
declare const index$
|
|
9315
|
-
declare const index$
|
|
9316
|
-
type index$
|
|
9317
|
-
declare const index$
|
|
9318
|
-
type index$
|
|
9319
|
-
declare const index$
|
|
9320
|
-
type index$
|
|
9321
|
-
declare const index$
|
|
9322
|
-
declare const index$
|
|
9323
|
-
type index$
|
|
9324
|
-
declare const index$
|
|
9325
|
-
declare const index$
|
|
9326
|
-
type index$
|
|
9327
|
-
declare const index$
|
|
9328
|
-
type index$
|
|
9329
|
-
declare const index$
|
|
9330
|
-
declare const index$
|
|
9331
|
-
declare const index$
|
|
9332
|
-
type index$
|
|
9333
|
-
declare const index$
|
|
9334
|
-
type index$
|
|
9335
|
-
declare const index$
|
|
9336
|
-
declare const index$
|
|
9337
|
-
type index$
|
|
9338
|
-
declare const index$
|
|
9339
|
-
type index$
|
|
9340
|
-
declare const index$
|
|
9341
|
-
type index$
|
|
9342
|
-
declare const index$
|
|
9343
|
-
declare const index$
|
|
9344
|
-
type index$
|
|
9345
|
-
declare const index$
|
|
9346
|
-
type index$
|
|
9347
|
-
declare const index$
|
|
9348
|
-
type index$
|
|
9349
|
-
declare const index$
|
|
9350
|
-
type index$
|
|
9351
|
-
declare const index$
|
|
9352
|
-
type index$
|
|
9353
|
-
declare const index$
|
|
9354
|
-
type index$
|
|
9355
|
-
declare const index$
|
|
9356
|
-
declare namespace index$
|
|
9357
|
-
export { index$
|
|
9329
|
+
declare const index$6_AddEthereumChainParameter: typeof AddEthereumChainParameter;
|
|
9330
|
+
type index$6_AddEthereumChainParameterType = AddEthereumChainParameterType;
|
|
9331
|
+
declare const index$6_AddEthereumChainParams: typeof AddEthereumChainParams;
|
|
9332
|
+
type index$6_AddEthereumChainRequestType = AddEthereumChainRequestType;
|
|
9333
|
+
declare const index$6_AddEthereumChainResponse: typeof AddEthereumChainResponse;
|
|
9334
|
+
type index$6_AddEthereumChainResponseType = AddEthereumChainResponseType;
|
|
9335
|
+
declare const index$6_AddEthereumChainResult: typeof AddEthereumChainResult;
|
|
9336
|
+
declare const index$6_CallReceipt: typeof CallReceipt;
|
|
9337
|
+
type index$6_CallReceiptType = CallReceiptType;
|
|
9338
|
+
declare const index$6_CallsStatus: typeof CallsStatus;
|
|
9339
|
+
type index$6_CallsStatusType = CallsStatusType;
|
|
9340
|
+
declare const index$6_CapabilityValue: typeof CapabilityValue;
|
|
9341
|
+
declare const index$6_ChainCapabilities: typeof ChainCapabilities;
|
|
9342
|
+
type index$6_ChainCapabilitiesType = ChainCapabilitiesType;
|
|
9343
|
+
declare const index$6_GetCallsStatusParams: typeof GetCallsStatusParams;
|
|
9344
|
+
declare const index$6_GetCallsStatusRequest: typeof GetCallsStatusRequest;
|
|
9345
|
+
type index$6_GetCallsStatusRequestType = GetCallsStatusRequestType;
|
|
9346
|
+
declare const index$6_GetCallsStatusResponse: typeof GetCallsStatusResponse;
|
|
9347
|
+
type index$6_GetCallsStatusResponseType = GetCallsStatusResponseType;
|
|
9348
|
+
declare const index$6_GetCallsStatusResult: typeof GetCallsStatusResult;
|
|
9349
|
+
declare const index$6_GetCapabilitiesParams: typeof GetCapabilitiesParams;
|
|
9350
|
+
declare const index$6_GetCapabilitiesRequest: typeof GetCapabilitiesRequest;
|
|
9351
|
+
type index$6_GetCapabilitiesRequestType = GetCapabilitiesRequestType;
|
|
9352
|
+
declare const index$6_GetCapabilitiesResponse: typeof GetCapabilitiesResponse;
|
|
9353
|
+
type index$6_GetCapabilitiesResponseType = GetCapabilitiesResponseType;
|
|
9354
|
+
declare const index$6_GetCapabilitiesResult: typeof GetCapabilitiesResult;
|
|
9355
|
+
type index$6_GetCapabilitiesResultType = GetCapabilitiesResultType;
|
|
9356
|
+
declare const index$6_GetPermissionsParams: typeof GetPermissionsParams;
|
|
9357
|
+
type index$6_GetPermissionsRequestType = GetPermissionsRequestType;
|
|
9358
|
+
declare const index$6_GetPermissionsResponse: typeof GetPermissionsResponse;
|
|
9359
|
+
type index$6_GetPermissionsResponseType = GetPermissionsResponseType;
|
|
9360
|
+
declare const index$6_GetPermissionsResult: typeof GetPermissionsResult;
|
|
9361
|
+
declare const index$6_NativeCurrencySchema: typeof NativeCurrencySchema;
|
|
9362
|
+
declare const index$6_Permission: typeof Permission;
|
|
9363
|
+
declare const index$6_PermissionCaveat: typeof PermissionCaveat;
|
|
9364
|
+
type index$6_PermissionCaveatType = PermissionCaveatType;
|
|
9365
|
+
type index$6_PermissionType = PermissionType;
|
|
9366
|
+
declare const index$6_PermissionsToRevoke: typeof PermissionsToRevoke;
|
|
9367
|
+
type index$6_PermissionsToRevokeType = PermissionsToRevokeType;
|
|
9368
|
+
declare const index$6_RegisterOnboardingParams: typeof RegisterOnboardingParams;
|
|
9369
|
+
declare const index$6_RegisterOnboardingRequest: typeof RegisterOnboardingRequest;
|
|
9370
|
+
type index$6_RegisterOnboardingRequestType = RegisterOnboardingRequestType;
|
|
9371
|
+
declare const index$6_RegisterOnboardingResponse: typeof RegisterOnboardingResponse;
|
|
9372
|
+
type index$6_RegisterOnboardingResponseType = RegisterOnboardingResponseType;
|
|
9373
|
+
declare const index$6_RegisterOnboardingResult: typeof RegisterOnboardingResult;
|
|
9374
|
+
declare const index$6_RequestPermissionsParams: typeof RequestPermissionsParams;
|
|
9375
|
+
type index$6_RequestPermissionsRequestType = RequestPermissionsRequestType;
|
|
9376
|
+
declare const index$6_RequestPermissionsResponse: typeof RequestPermissionsResponse;
|
|
9377
|
+
type index$6_RequestPermissionsResponseType = RequestPermissionsResponseType;
|
|
9378
|
+
declare const index$6_RequestPermissionsResult: typeof RequestPermissionsResult;
|
|
9379
|
+
declare const index$6_RequestedPermissions: typeof RequestedPermissions;
|
|
9380
|
+
type index$6_RequestedPermissionsType = RequestedPermissionsType;
|
|
9381
|
+
declare const index$6_RevokePermissionsParams: typeof RevokePermissionsParams;
|
|
9382
|
+
type index$6_RevokePermissionsRequestType = RevokePermissionsRequestType;
|
|
9383
|
+
declare const index$6_RevokePermissionsResponse: typeof RevokePermissionsResponse;
|
|
9384
|
+
type index$6_RevokePermissionsResponseType = RevokePermissionsResponseType;
|
|
9385
|
+
declare const index$6_RevokePermissionsResult: typeof RevokePermissionsResult;
|
|
9386
|
+
declare const index$6_SendCallsParameter: typeof SendCallsParameter;
|
|
9387
|
+
type index$6_SendCallsParameterType = SendCallsParameterType;
|
|
9388
|
+
declare const index$6_SendCallsParams: typeof SendCallsParams;
|
|
9389
|
+
declare const index$6_SendCallsRequest: typeof SendCallsRequest;
|
|
9390
|
+
type index$6_SendCallsRequestType = SendCallsRequestType;
|
|
9391
|
+
declare const index$6_SendCallsResponse: typeof SendCallsResponse;
|
|
9392
|
+
type index$6_SendCallsResponseType = SendCallsResponseType;
|
|
9393
|
+
declare const index$6_SendCallsResult: typeof SendCallsResult;
|
|
9394
|
+
declare const index$6_ShowCallsStatusParams: typeof ShowCallsStatusParams;
|
|
9395
|
+
declare const index$6_ShowCallsStatusRequest: typeof ShowCallsStatusRequest;
|
|
9396
|
+
type index$6_ShowCallsStatusRequestType = ShowCallsStatusRequestType;
|
|
9397
|
+
declare const index$6_ShowCallsStatusResponse: typeof ShowCallsStatusResponse;
|
|
9398
|
+
type index$6_ShowCallsStatusResponseType = ShowCallsStatusResponseType;
|
|
9399
|
+
declare const index$6_ShowCallsStatusResult: typeof ShowCallsStatusResult;
|
|
9400
|
+
declare const index$6_SwitchEthereumChainParameter: typeof SwitchEthereumChainParameter;
|
|
9401
|
+
type index$6_SwitchEthereumChainParameterType = SwitchEthereumChainParameterType;
|
|
9402
|
+
declare const index$6_SwitchEthereumChainParams: typeof SwitchEthereumChainParams;
|
|
9403
|
+
type index$6_SwitchEthereumChainRequestType = SwitchEthereumChainRequestType;
|
|
9404
|
+
declare const index$6_SwitchEthereumChainResponse: typeof SwitchEthereumChainResponse;
|
|
9405
|
+
type index$6_SwitchEthereumChainResponseType = SwitchEthereumChainResponseType;
|
|
9406
|
+
declare const index$6_SwitchEthereumChainResult: typeof SwitchEthereumChainResult;
|
|
9407
|
+
declare const index$6_WalletCall: typeof WalletCall;
|
|
9408
|
+
type index$6_WalletCallType = WalletCallType;
|
|
9409
|
+
declare const index$6_WalletMethodRequest: typeof WalletMethodRequest;
|
|
9410
|
+
type index$6_WalletMethodRequestType = WalletMethodRequestType;
|
|
9411
|
+
declare const index$6_WatchAssetOptions: typeof WatchAssetOptions;
|
|
9412
|
+
type index$6_WatchAssetOptionsType = WatchAssetOptionsType;
|
|
9413
|
+
declare const index$6_WatchAssetParameter: typeof WatchAssetParameter;
|
|
9414
|
+
type index$6_WatchAssetParameterType = WatchAssetParameterType;
|
|
9415
|
+
declare const index$6_WatchAssetParams: typeof WatchAssetParams;
|
|
9416
|
+
type index$6_WatchAssetRequestType = WatchAssetRequestType;
|
|
9417
|
+
declare const index$6_WatchAssetResponse: typeof WatchAssetResponse;
|
|
9418
|
+
type index$6_WatchAssetResponseType = WatchAssetResponseType;
|
|
9419
|
+
declare const index$6_WatchAssetResult: typeof WatchAssetResult;
|
|
9420
|
+
declare namespace index$6 {
|
|
9421
|
+
export { index$6_AddEthereumChainParameter as AddEthereumChainParameter, type index$6_AddEthereumChainParameterType as AddEthereumChainParameterType, index$6_AddEthereumChainParams as AddEthereumChainParams, AddEthereumChainRequest$1 as AddEthereumChainRequest, type index$6_AddEthereumChainRequestType as AddEthereumChainRequestType, index$6_AddEthereumChainResponse as AddEthereumChainResponse, type index$6_AddEthereumChainResponseType as AddEthereumChainResponseType, index$6_AddEthereumChainResult as AddEthereumChainResult, index$6_CallReceipt as CallReceipt, type index$6_CallReceiptType as CallReceiptType, index$6_CallsStatus as CallsStatus, type index$6_CallsStatusType as CallsStatusType, index$6_CapabilityValue as CapabilityValue, index$6_ChainCapabilities as ChainCapabilities, type index$6_ChainCapabilitiesType as ChainCapabilitiesType, index$6_GetCallsStatusParams as GetCallsStatusParams, index$6_GetCallsStatusRequest as GetCallsStatusRequest, type index$6_GetCallsStatusRequestType as GetCallsStatusRequestType, index$6_GetCallsStatusResponse as GetCallsStatusResponse, type index$6_GetCallsStatusResponseType as GetCallsStatusResponseType, index$6_GetCallsStatusResult as GetCallsStatusResult, index$6_GetCapabilitiesParams as GetCapabilitiesParams, index$6_GetCapabilitiesRequest as GetCapabilitiesRequest, type index$6_GetCapabilitiesRequestType as GetCapabilitiesRequestType, index$6_GetCapabilitiesResponse as GetCapabilitiesResponse, type index$6_GetCapabilitiesResponseType as GetCapabilitiesResponseType, index$6_GetCapabilitiesResult as GetCapabilitiesResult, type index$6_GetCapabilitiesResultType as GetCapabilitiesResultType, index$6_GetPermissionsParams as GetPermissionsParams, GetPermissionsRequest$1 as GetPermissionsRequest, type index$6_GetPermissionsRequestType as GetPermissionsRequestType, index$6_GetPermissionsResponse as GetPermissionsResponse, type index$6_GetPermissionsResponseType as GetPermissionsResponseType, index$6_GetPermissionsResult as GetPermissionsResult, index$6_NativeCurrencySchema as NativeCurrencySchema, index$6_Permission as Permission, index$6_PermissionCaveat as PermissionCaveat, type index$6_PermissionCaveatType as PermissionCaveatType, type index$6_PermissionType as PermissionType, index$6_PermissionsToRevoke as PermissionsToRevoke, type index$6_PermissionsToRevokeType as PermissionsToRevokeType, index$6_RegisterOnboardingParams as RegisterOnboardingParams, index$6_RegisterOnboardingRequest as RegisterOnboardingRequest, type index$6_RegisterOnboardingRequestType as RegisterOnboardingRequestType, index$6_RegisterOnboardingResponse as RegisterOnboardingResponse, type index$6_RegisterOnboardingResponseType as RegisterOnboardingResponseType, index$6_RegisterOnboardingResult as RegisterOnboardingResult, index$6_RequestPermissionsParams as RequestPermissionsParams, RequestPermissionsRequest$1 as RequestPermissionsRequest, type index$6_RequestPermissionsRequestType as RequestPermissionsRequestType, index$6_RequestPermissionsResponse as RequestPermissionsResponse, type index$6_RequestPermissionsResponseType as RequestPermissionsResponseType, index$6_RequestPermissionsResult as RequestPermissionsResult, index$6_RequestedPermissions as RequestedPermissions, type index$6_RequestedPermissionsType as RequestedPermissionsType, index$6_RevokePermissionsParams as RevokePermissionsParams, RevokePermissionsRequest$1 as RevokePermissionsRequest, type index$6_RevokePermissionsRequestType as RevokePermissionsRequestType, index$6_RevokePermissionsResponse as RevokePermissionsResponse, type index$6_RevokePermissionsResponseType as RevokePermissionsResponseType, index$6_RevokePermissionsResult as RevokePermissionsResult, index$6_SendCallsParameter as SendCallsParameter, type index$6_SendCallsParameterType as SendCallsParameterType, index$6_SendCallsParams as SendCallsParams, index$6_SendCallsRequest as SendCallsRequest, type index$6_SendCallsRequestType as SendCallsRequestType, index$6_SendCallsResponse as SendCallsResponse, type index$6_SendCallsResponseType as SendCallsResponseType, index$6_SendCallsResult as SendCallsResult, index$6_ShowCallsStatusParams as ShowCallsStatusParams, index$6_ShowCallsStatusRequest as ShowCallsStatusRequest, type index$6_ShowCallsStatusRequestType as ShowCallsStatusRequestType, index$6_ShowCallsStatusResponse as ShowCallsStatusResponse, type index$6_ShowCallsStatusResponseType as ShowCallsStatusResponseType, index$6_ShowCallsStatusResult as ShowCallsStatusResult, index$6_SwitchEthereumChainParameter as SwitchEthereumChainParameter, type index$6_SwitchEthereumChainParameterType as SwitchEthereumChainParameterType, index$6_SwitchEthereumChainParams as SwitchEthereumChainParams, SwitchEthereumChainRequest$1 as SwitchEthereumChainRequest, type index$6_SwitchEthereumChainRequestType as SwitchEthereumChainRequestType, index$6_SwitchEthereumChainResponse as SwitchEthereumChainResponse, type index$6_SwitchEthereumChainResponseType as SwitchEthereumChainResponseType, index$6_SwitchEthereumChainResult as SwitchEthereumChainResult, index$6_WalletCall as WalletCall, type index$6_WalletCallType as WalletCallType, index$6_WalletMethodRequest as WalletMethodRequest, type index$6_WalletMethodRequestType as WalletMethodRequestType, index$6_WatchAssetOptions as WatchAssetOptions, type index$6_WatchAssetOptionsType as WatchAssetOptionsType, index$6_WatchAssetParameter as WatchAssetParameter, type index$6_WatchAssetParameterType as WatchAssetParameterType, index$6_WatchAssetParams as WatchAssetParams, WatchAssetRequest$1 as WatchAssetRequest, type index$6_WatchAssetRequestType as WatchAssetRequestType, index$6_WatchAssetResponse as WatchAssetResponse, type index$6_WatchAssetResponseType as WatchAssetResponseType, index$6_WatchAssetResult as WatchAssetResult };
|
|
9358
9422
|
}
|
|
9359
9423
|
|
|
9360
9424
|
/**
|
|
@@ -9457,20 +9521,20 @@ declare const Web3MethodRequest: S.Union<[S.Struct<{
|
|
|
9457
9521
|
/** Type for Web3MethodRequest union */
|
|
9458
9522
|
type Web3MethodRequestType = S.Schema.Type<typeof Web3MethodRequest>;
|
|
9459
9523
|
|
|
9460
|
-
declare const index$
|
|
9461
|
-
type index$
|
|
9462
|
-
declare const index$
|
|
9463
|
-
type index$
|
|
9464
|
-
declare const index$
|
|
9465
|
-
declare const index$
|
|
9466
|
-
type index$
|
|
9467
|
-
declare const index$
|
|
9468
|
-
type index$
|
|
9469
|
-
declare const index$
|
|
9470
|
-
declare const index$
|
|
9471
|
-
type index$
|
|
9472
|
-
declare namespace index$
|
|
9473
|
-
export { index$
|
|
9524
|
+
declare const index$5_ClientVersionParams: typeof ClientVersionParams;
|
|
9525
|
+
type index$5_ClientVersionRequestType = ClientVersionRequestType;
|
|
9526
|
+
declare const index$5_ClientVersionResponse: typeof ClientVersionResponse;
|
|
9527
|
+
type index$5_ClientVersionResponseType = ClientVersionResponseType;
|
|
9528
|
+
declare const index$5_ClientVersionResult: typeof ClientVersionResult;
|
|
9529
|
+
declare const index$5_Sha3Params: typeof Sha3Params;
|
|
9530
|
+
type index$5_Sha3RequestType = Sha3RequestType;
|
|
9531
|
+
declare const index$5_Sha3Response: typeof Sha3Response;
|
|
9532
|
+
type index$5_Sha3ResponseType = Sha3ResponseType;
|
|
9533
|
+
declare const index$5_Sha3Result: typeof Sha3Result;
|
|
9534
|
+
declare const index$5_Web3MethodRequest: typeof Web3MethodRequest;
|
|
9535
|
+
type index$5_Web3MethodRequestType = Web3MethodRequestType;
|
|
9536
|
+
declare namespace index$5 {
|
|
9537
|
+
export { index$5_ClientVersionParams as ClientVersionParams, ClientVersionRequest$1 as ClientVersionRequest, type index$5_ClientVersionRequestType as ClientVersionRequestType, index$5_ClientVersionResponse as ClientVersionResponse, type index$5_ClientVersionResponseType as ClientVersionResponseType, index$5_ClientVersionResult as ClientVersionResult, index$5_Sha3Params as Sha3Params, Sha3Request$1 as Sha3Request, type index$5_Sha3RequestType as Sha3RequestType, index$5_Sha3Response as Sha3Response, type index$5_Sha3ResponseType as Sha3ResponseType, index$5_Sha3Result as Sha3Result, index$5_Web3MethodRequest as Web3MethodRequest, type index$5_Web3MethodRequestType as Web3MethodRequestType };
|
|
9474
9538
|
}
|
|
9475
9539
|
|
|
9476
9540
|
/**
|
|
@@ -10476,13 +10540,13 @@ declare const decodeRequest: (u: unknown, overrideOptions?: effect_SchemaAST.Par
|
|
|
10476
10540
|
readonly to?: string | null | undefined;
|
|
10477
10541
|
readonly value?: string | undefined;
|
|
10478
10542
|
readonly gas?: string | undefined;
|
|
10479
|
-
readonly gasPrice?: string | undefined;
|
|
10480
|
-
readonly maxFeePerGas?: string | undefined;
|
|
10481
|
-
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10482
10543
|
readonly accessList?: readonly {
|
|
10483
10544
|
readonly address: string;
|
|
10484
10545
|
readonly storageKeys: readonly string[];
|
|
10485
10546
|
}[] | undefined;
|
|
10547
|
+
readonly gasPrice?: string | undefined;
|
|
10548
|
+
readonly maxFeePerGas?: string | undefined;
|
|
10549
|
+
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10486
10550
|
readonly maxFeePerBlobGas?: string | undefined;
|
|
10487
10551
|
readonly blobVersionedHashes?: readonly string[] | undefined;
|
|
10488
10552
|
readonly authorizationList?: readonly {
|
|
@@ -10501,13 +10565,13 @@ declare const decodeRequest: (u: unknown, overrideOptions?: effect_SchemaAST.Par
|
|
|
10501
10565
|
readonly to?: string | null | undefined;
|
|
10502
10566
|
readonly value?: string | undefined;
|
|
10503
10567
|
readonly gas?: string | undefined;
|
|
10504
|
-
readonly gasPrice?: string | undefined;
|
|
10505
|
-
readonly maxFeePerGas?: string | undefined;
|
|
10506
|
-
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10507
10568
|
readonly accessList?: readonly {
|
|
10508
10569
|
readonly address: string;
|
|
10509
10570
|
readonly storageKeys: readonly string[];
|
|
10510
10571
|
}[] | undefined;
|
|
10572
|
+
readonly gasPrice?: string | undefined;
|
|
10573
|
+
readonly maxFeePerGas?: string | undefined;
|
|
10574
|
+
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10511
10575
|
readonly maxFeePerBlobGas?: string | undefined;
|
|
10512
10576
|
readonly blobVersionedHashes?: readonly string[] | undefined;
|
|
10513
10577
|
readonly authorizationList?: readonly {
|
|
@@ -10538,13 +10602,13 @@ declare const decodeRequest: (u: unknown, overrideOptions?: effect_SchemaAST.Par
|
|
|
10538
10602
|
readonly to?: string | null | undefined;
|
|
10539
10603
|
readonly value?: string | undefined;
|
|
10540
10604
|
readonly gas?: string | undefined;
|
|
10541
|
-
readonly gasPrice?: string | undefined;
|
|
10542
|
-
readonly maxFeePerGas?: string | undefined;
|
|
10543
|
-
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10544
10605
|
readonly accessList?: readonly {
|
|
10545
10606
|
readonly address: string;
|
|
10546
10607
|
readonly storageKeys: readonly string[];
|
|
10547
10608
|
}[] | undefined;
|
|
10609
|
+
readonly gasPrice?: string | undefined;
|
|
10610
|
+
readonly maxFeePerGas?: string | undefined;
|
|
10611
|
+
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10548
10612
|
readonly maxFeePerBlobGas?: string | undefined;
|
|
10549
10613
|
readonly blobVersionedHashes?: readonly string[] | undefined;
|
|
10550
10614
|
readonly authorizationList?: readonly {
|
|
@@ -10573,8 +10637,8 @@ declare const decodeRequest: (u: unknown, overrideOptions?: effect_SchemaAST.Par
|
|
|
10573
10637
|
readonly time?: string | undefined;
|
|
10574
10638
|
readonly gasLimit?: string | undefined;
|
|
10575
10639
|
readonly coinbase?: string | undefined;
|
|
10576
|
-
readonly random?: string | undefined;
|
|
10577
10640
|
readonly baseFee?: string | undefined;
|
|
10641
|
+
readonly random?: string | undefined;
|
|
10578
10642
|
readonly blobBaseFee?: string | undefined;
|
|
10579
10643
|
}];
|
|
10580
10644
|
readonly jsonrpc: "2.0";
|
|
@@ -10599,13 +10663,13 @@ declare const decodeRequest: (u: unknown, overrideOptions?: effect_SchemaAST.Par
|
|
|
10599
10663
|
readonly to?: string | null | undefined;
|
|
10600
10664
|
readonly value?: string | undefined;
|
|
10601
10665
|
readonly gas?: string | undefined;
|
|
10602
|
-
readonly gasPrice?: string | undefined;
|
|
10603
|
-
readonly maxFeePerGas?: string | undefined;
|
|
10604
|
-
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10605
10666
|
readonly accessList?: readonly {
|
|
10606
10667
|
readonly address: string;
|
|
10607
10668
|
readonly storageKeys: readonly string[];
|
|
10608
10669
|
}[] | undefined;
|
|
10670
|
+
readonly gasPrice?: string | undefined;
|
|
10671
|
+
readonly maxFeePerGas?: string | undefined;
|
|
10672
|
+
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10609
10673
|
readonly maxFeePerBlobGas?: string | undefined;
|
|
10610
10674
|
readonly blobVersionedHashes?: readonly string[] | undefined;
|
|
10611
10675
|
readonly authorizationList?: readonly {
|
|
@@ -10629,13 +10693,13 @@ declare const decodeRequest: (u: unknown, overrideOptions?: effect_SchemaAST.Par
|
|
|
10629
10693
|
readonly to?: string | null | undefined;
|
|
10630
10694
|
readonly value?: string | undefined;
|
|
10631
10695
|
readonly gas?: string | undefined;
|
|
10632
|
-
readonly gasPrice?: string | undefined;
|
|
10633
|
-
readonly maxFeePerGas?: string | undefined;
|
|
10634
|
-
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10635
10696
|
readonly accessList?: readonly {
|
|
10636
10697
|
readonly address: string;
|
|
10637
10698
|
readonly storageKeys: readonly string[];
|
|
10638
10699
|
}[] | undefined;
|
|
10700
|
+
readonly gasPrice?: string | undefined;
|
|
10701
|
+
readonly maxFeePerGas?: string | undefined;
|
|
10702
|
+
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10639
10703
|
readonly maxFeePerBlobGas?: string | undefined;
|
|
10640
10704
|
readonly blobVersionedHashes?: readonly string[] | undefined;
|
|
10641
10705
|
readonly authorizationList?: readonly {
|
|
@@ -10654,13 +10718,13 @@ declare const decodeRequest: (u: unknown, overrideOptions?: effect_SchemaAST.Par
|
|
|
10654
10718
|
readonly to?: string | null | undefined;
|
|
10655
10719
|
readonly value?: string | undefined;
|
|
10656
10720
|
readonly gas?: string | undefined;
|
|
10657
|
-
readonly gasPrice?: string | undefined;
|
|
10658
|
-
readonly maxFeePerGas?: string | undefined;
|
|
10659
|
-
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10660
10721
|
readonly accessList?: readonly {
|
|
10661
10722
|
readonly address: string;
|
|
10662
10723
|
readonly storageKeys: readonly string[];
|
|
10663
10724
|
}[] | undefined;
|
|
10725
|
+
readonly gasPrice?: string | undefined;
|
|
10726
|
+
readonly maxFeePerGas?: string | undefined;
|
|
10727
|
+
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10664
10728
|
readonly maxFeePerBlobGas?: string | undefined;
|
|
10665
10729
|
readonly blobVersionedHashes?: readonly string[] | undefined;
|
|
10666
10730
|
readonly authorizationList?: readonly {
|
|
@@ -10679,13 +10743,13 @@ declare const decodeRequest: (u: unknown, overrideOptions?: effect_SchemaAST.Par
|
|
|
10679
10743
|
readonly to?: string | null | undefined;
|
|
10680
10744
|
readonly value?: string | undefined;
|
|
10681
10745
|
readonly gas?: string | undefined;
|
|
10682
|
-
readonly gasPrice?: string | undefined;
|
|
10683
|
-
readonly maxFeePerGas?: string | undefined;
|
|
10684
|
-
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10685
10746
|
readonly accessList?: readonly {
|
|
10686
10747
|
readonly address: string;
|
|
10687
10748
|
readonly storageKeys: readonly string[];
|
|
10688
10749
|
}[] | undefined;
|
|
10750
|
+
readonly gasPrice?: string | undefined;
|
|
10751
|
+
readonly maxFeePerGas?: string | undefined;
|
|
10752
|
+
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10689
10753
|
readonly maxFeePerBlobGas?: string | undefined;
|
|
10690
10754
|
readonly blobVersionedHashes?: readonly string[] | undefined;
|
|
10691
10755
|
readonly authorizationList?: readonly {
|
|
@@ -10893,13 +10957,13 @@ declare const decodeRequest: (u: unknown, overrideOptions?: effect_SchemaAST.Par
|
|
|
10893
10957
|
readonly to?: string | null | undefined;
|
|
10894
10958
|
readonly value?: string | undefined;
|
|
10895
10959
|
readonly gas?: string | undefined;
|
|
10896
|
-
readonly gasPrice?: string | undefined;
|
|
10897
|
-
readonly maxFeePerGas?: string | undefined;
|
|
10898
|
-
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10899
10960
|
readonly accessList?: readonly {
|
|
10900
10961
|
readonly address: string;
|
|
10901
10962
|
readonly storageKeys: readonly string[];
|
|
10902
10963
|
}[] | undefined;
|
|
10964
|
+
readonly gasPrice?: string | undefined;
|
|
10965
|
+
readonly maxFeePerGas?: string | undefined;
|
|
10966
|
+
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10903
10967
|
readonly maxFeePerBlobGas?: string | undefined;
|
|
10904
10968
|
readonly blobVersionedHashes?: readonly string[] | undefined;
|
|
10905
10969
|
readonly authorizationList?: readonly {
|
|
@@ -10928,13 +10992,13 @@ declare const decodeRequest: (u: unknown, overrideOptions?: effect_SchemaAST.Par
|
|
|
10928
10992
|
readonly to?: string | null | undefined;
|
|
10929
10993
|
readonly value?: string | undefined;
|
|
10930
10994
|
readonly gas?: string | undefined;
|
|
10931
|
-
readonly gasPrice?: string | undefined;
|
|
10932
|
-
readonly maxFeePerGas?: string | undefined;
|
|
10933
|
-
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10934
10995
|
readonly accessList?: readonly {
|
|
10935
10996
|
readonly address: string;
|
|
10936
10997
|
readonly storageKeys: readonly string[];
|
|
10937
10998
|
}[] | undefined;
|
|
10999
|
+
readonly gasPrice?: string | undefined;
|
|
11000
|
+
readonly maxFeePerGas?: string | undefined;
|
|
11001
|
+
readonly maxPriorityFeePerGas?: string | undefined;
|
|
10938
11002
|
readonly maxFeePerBlobGas?: string | undefined;
|
|
10939
11003
|
readonly blobVersionedHashes?: readonly string[] | undefined;
|
|
10940
11004
|
readonly authorizationList?: readonly {
|
|
@@ -11221,73 +11285,73 @@ declare const isErrorResponse: (response: GenericJsonRpcResponseType) => respons
|
|
|
11221
11285
|
*/
|
|
11222
11286
|
declare const isSuccessResponse: (response: GenericJsonRpcResponseType) => response is S.Schema.Type<typeof GenericJsonRpcSuccessResponse>;
|
|
11223
11287
|
|
|
11224
|
-
declare const index$
|
|
11225
|
-
type index$
|
|
11226
|
-
declare const index$
|
|
11227
|
-
type index$
|
|
11228
|
-
declare const index$
|
|
11229
|
-
declare const index$
|
|
11230
|
-
type index$
|
|
11231
|
-
declare const index$
|
|
11232
|
-
type index$
|
|
11233
|
-
declare const index$
|
|
11234
|
-
type index$
|
|
11235
|
-
declare const index$
|
|
11236
|
-
type index$
|
|
11237
|
-
declare const index$
|
|
11238
|
-
type index$
|
|
11239
|
-
declare const index$
|
|
11240
|
-
type index$
|
|
11241
|
-
declare const index$
|
|
11242
|
-
declare const index$
|
|
11243
|
-
type index$
|
|
11244
|
-
declare const index$
|
|
11245
|
-
type index$
|
|
11246
|
-
declare const index$
|
|
11247
|
-
type index$
|
|
11248
|
-
declare const index$
|
|
11249
|
-
declare const index$
|
|
11250
|
-
type index$
|
|
11251
|
-
declare const index$
|
|
11252
|
-
type index$
|
|
11253
|
-
declare const index$
|
|
11254
|
-
type index$
|
|
11255
|
-
declare const index$
|
|
11256
|
-
type index$
|
|
11257
|
-
type index$
|
|
11258
|
-
declare const index$
|
|
11259
|
-
declare const index$
|
|
11260
|
-
type index$
|
|
11261
|
-
declare const index$
|
|
11262
|
-
type index$
|
|
11263
|
-
declare const index$
|
|
11264
|
-
type index$
|
|
11265
|
-
declare const index$
|
|
11266
|
-
type index$
|
|
11267
|
-
type index$
|
|
11268
|
-
declare const index$
|
|
11269
|
-
type index$
|
|
11270
|
-
declare const index$
|
|
11271
|
-
type index$
|
|
11272
|
-
declare const index$
|
|
11273
|
-
type index$
|
|
11274
|
-
declare const index$
|
|
11275
|
-
declare const index$
|
|
11276
|
-
type index$
|
|
11277
|
-
declare const index$
|
|
11278
|
-
type index$
|
|
11279
|
-
declare const index$
|
|
11280
|
-
type index$
|
|
11281
|
-
declare const index$
|
|
11282
|
-
declare const index$
|
|
11283
|
-
declare const index$
|
|
11284
|
-
declare const index$
|
|
11285
|
-
declare const index$
|
|
11286
|
-
declare const index$
|
|
11287
|
-
declare const index$
|
|
11288
|
-
declare const index$
|
|
11289
|
-
declare namespace index$
|
|
11290
|
-
export { index$
|
|
11288
|
+
declare const index$4_AccessListItemRpcSchema: typeof AccessListItemRpcSchema;
|
|
11289
|
+
type index$4_AccessListResultRpc = AccessListResultRpc;
|
|
11290
|
+
declare const index$4_AccessListResultRpcSchema: typeof AccessListResultRpcSchema;
|
|
11291
|
+
type index$4_AccountProofRpc = AccountProofRpc;
|
|
11292
|
+
declare const index$4_AccountProofRpcSchema: typeof AccountProofRpcSchema;
|
|
11293
|
+
declare const index$4_AccountStateOverrideSchema: typeof AccountStateOverrideSchema;
|
|
11294
|
+
type index$4_AddressHex = AddressHex;
|
|
11295
|
+
declare const index$4_AddressHexSchema: typeof AddressHexSchema;
|
|
11296
|
+
type index$4_BlockOverride = BlockOverride;
|
|
11297
|
+
declare const index$4_BlockOverrideSchema: typeof BlockOverrideSchema;
|
|
11298
|
+
type index$4_BlockRpc = BlockRpc;
|
|
11299
|
+
declare const index$4_BlockRpcSchema: typeof BlockRpcSchema;
|
|
11300
|
+
type index$4_BlockTag = BlockTag;
|
|
11301
|
+
declare const index$4_BlockTagSchema: typeof BlockTagSchema;
|
|
11302
|
+
type index$4_Bytes32Hex = Bytes32Hex;
|
|
11303
|
+
declare const index$4_Bytes32HexSchema: typeof Bytes32HexSchema;
|
|
11304
|
+
type index$4_FeeHistoryRpc = FeeHistoryRpc;
|
|
11305
|
+
declare const index$4_FeeHistoryRpcSchema: typeof FeeHistoryRpcSchema;
|
|
11306
|
+
declare const index$4_GenericJsonRpcRequest: typeof GenericJsonRpcRequest;
|
|
11307
|
+
type index$4_GenericJsonRpcRequestType = GenericJsonRpcRequestType;
|
|
11308
|
+
declare const index$4_GenericJsonRpcResponse: typeof GenericJsonRpcResponse;
|
|
11309
|
+
type index$4_GenericJsonRpcResponseType = GenericJsonRpcResponseType;
|
|
11310
|
+
declare const index$4_GenericJsonRpcSuccessResponse: typeof GenericJsonRpcSuccessResponse;
|
|
11311
|
+
type index$4_Hex = Hex;
|
|
11312
|
+
declare const index$4_HexSchema: typeof HexSchema;
|
|
11313
|
+
declare const index$4_JsonRpcBatchRequest: typeof JsonRpcBatchRequest;
|
|
11314
|
+
type index$4_JsonRpcBatchRequestType = JsonRpcBatchRequestType;
|
|
11315
|
+
declare const index$4_JsonRpcBatchResponse: typeof JsonRpcBatchResponse;
|
|
11316
|
+
type index$4_JsonRpcBatchResponseType = JsonRpcBatchResponseType;
|
|
11317
|
+
declare const index$4_JsonRpcErrorResponseSchema: typeof JsonRpcErrorResponseSchema;
|
|
11318
|
+
type index$4_JsonRpcErrorResponseType = JsonRpcErrorResponseType;
|
|
11319
|
+
declare const index$4_JsonRpcErrorSchema: typeof JsonRpcErrorSchema;
|
|
11320
|
+
type index$4_JsonRpcErrorType = JsonRpcErrorType;
|
|
11321
|
+
type index$4_JsonRpcId = JsonRpcId;
|
|
11322
|
+
declare const index$4_JsonRpcIdSchema: typeof JsonRpcIdSchema;
|
|
11323
|
+
declare const index$4_JsonRpcMethodRequest: typeof JsonRpcMethodRequest;
|
|
11324
|
+
type index$4_JsonRpcMethodRequestType = JsonRpcMethodRequestType;
|
|
11325
|
+
declare const index$4_JsonRpcVersionSchema: typeof JsonRpcVersionSchema;
|
|
11326
|
+
type index$4_LogFilter = LogFilter;
|
|
11327
|
+
declare const index$4_LogFilterSchema: typeof LogFilterSchema;
|
|
11328
|
+
type index$4_LogRpc = LogRpc;
|
|
11329
|
+
declare const index$4_LogRpcSchema: typeof LogRpcSchema;
|
|
11330
|
+
type index$4_MethodResult<M extends keyof typeof methodResultSchemas> = MethodResult<M>;
|
|
11331
|
+
type index$4_QuantityHex = QuantityHex;
|
|
11332
|
+
declare const index$4_QuantityHexSchema: typeof QuantityHexSchema;
|
|
11333
|
+
type index$4_ReceiptRpc = ReceiptRpc;
|
|
11334
|
+
declare const index$4_ReceiptRpcSchema: typeof ReceiptRpcSchema;
|
|
11335
|
+
type index$4_StateOverrideSet = StateOverrideSet;
|
|
11336
|
+
declare const index$4_StateOverrideSetSchema: typeof StateOverrideSetSchema;
|
|
11337
|
+
type index$4_SyncStatusRpc = SyncStatusRpc;
|
|
11338
|
+
declare const index$4_SyncStatusRpcSchema: typeof SyncStatusRpcSchema;
|
|
11339
|
+
declare const index$4_TopicFilterValueSchema: typeof TopicFilterValueSchema;
|
|
11340
|
+
type index$4_TransactionRequest = TransactionRequest;
|
|
11341
|
+
declare const index$4_TransactionRequestSchema: typeof TransactionRequestSchema;
|
|
11342
|
+
type index$4_TransactionRpc = TransactionRpc;
|
|
11343
|
+
declare const index$4_TransactionRpcSchema: typeof TransactionRpcSchema;
|
|
11344
|
+
type index$4_WithdrawalRpc = WithdrawalRpc;
|
|
11345
|
+
declare const index$4_WithdrawalRpcSchema: typeof WithdrawalRpcSchema;
|
|
11346
|
+
declare const index$4_decodeRequest: typeof decodeRequest;
|
|
11347
|
+
declare const index$4_decodeResponse: typeof decodeResponse;
|
|
11348
|
+
declare const index$4_isErrorResponse: typeof isErrorResponse;
|
|
11349
|
+
declare const index$4_isSuccessResponse: typeof isSuccessResponse;
|
|
11350
|
+
declare const index$4_isValidRequest: typeof isValidRequest;
|
|
11351
|
+
declare const index$4_isValidResponse: typeof isValidResponse;
|
|
11352
|
+
declare const index$4_methodResultSchemas: typeof methodResultSchemas;
|
|
11353
|
+
declare namespace index$4 {
|
|
11354
|
+
export { index$4_AccessListItemRpcSchema as AccessListItemRpcSchema, type index$4_AccessListResultRpc as AccessListResultRpc, index$4_AccessListResultRpcSchema as AccessListResultRpcSchema, type index$4_AccountProofRpc as AccountProofRpc, index$4_AccountProofRpcSchema as AccountProofRpcSchema, index$4_AccountStateOverrideSchema as AccountStateOverrideSchema, type index$4_AddressHex as AddressHex, index$4_AddressHexSchema as AddressHexSchema, index$b as Anvil, type index$4_BlockOverride as BlockOverride, index$4_BlockOverrideSchema as BlockOverrideSchema, type index$4_BlockRpc as BlockRpc, index$4_BlockRpcSchema as BlockRpcSchema, type index$4_BlockTag as BlockTag, index$4_BlockTagSchema as BlockTagSchema, type index$4_Bytes32Hex as Bytes32Hex, index$4_Bytes32HexSchema as Bytes32HexSchema, index$a as Eth, type index$4_FeeHistoryRpc as FeeHistoryRpc, index$4_FeeHistoryRpcSchema as FeeHistoryRpcSchema, index$4_GenericJsonRpcRequest as GenericJsonRpcRequest, type index$4_GenericJsonRpcRequestType as GenericJsonRpcRequestType, index$4_GenericJsonRpcResponse as GenericJsonRpcResponse, type index$4_GenericJsonRpcResponseType as GenericJsonRpcResponseType, index$4_GenericJsonRpcSuccessResponse as GenericJsonRpcSuccessResponse, index$9 as Hardhat, type index$4_Hex as Hex, index$4_HexSchema as HexSchema, index$4_JsonRpcBatchRequest as JsonRpcBatchRequest, type index$4_JsonRpcBatchRequestType as JsonRpcBatchRequestType, index$4_JsonRpcBatchResponse as JsonRpcBatchResponse, type index$4_JsonRpcBatchResponseType as JsonRpcBatchResponseType, index$4_JsonRpcErrorResponseSchema as JsonRpcErrorResponseSchema, type index$4_JsonRpcErrorResponseType as JsonRpcErrorResponseType, index$4_JsonRpcErrorSchema as JsonRpcErrorSchema, type index$4_JsonRpcErrorType as JsonRpcErrorType, type index$4_JsonRpcId as JsonRpcId, index$4_JsonRpcIdSchema as JsonRpcIdSchema, index$4_JsonRpcMethodRequest as JsonRpcMethodRequest, type index$4_JsonRpcMethodRequestType as JsonRpcMethodRequestType, index$4_JsonRpcVersionSchema as JsonRpcVersionSchema, type index$4_LogFilter as LogFilter, index$4_LogFilterSchema as LogFilterSchema, type index$4_LogRpc as LogRpc, index$4_LogRpcSchema as LogRpcSchema, type index$4_MethodResult as MethodResult, index$8 as Net, type index$4_QuantityHex as QuantityHex, index$4_QuantityHexSchema as QuantityHexSchema, type index$4_ReceiptRpc as ReceiptRpc, index$4_ReceiptRpcSchema as ReceiptRpcSchema, type index$4_StateOverrideSet as StateOverrideSet, index$4_StateOverrideSetSchema as StateOverrideSetSchema, type index$4_SyncStatusRpc as SyncStatusRpc, index$4_SyncStatusRpcSchema as SyncStatusRpcSchema, index$4_TopicFilterValueSchema as TopicFilterValueSchema, type index$4_TransactionRequest as TransactionRequest, index$4_TransactionRequestSchema as TransactionRequestSchema, type index$4_TransactionRpc as TransactionRpc, index$4_TransactionRpcSchema as TransactionRpcSchema, index$7 as Txpool, index$6 as Wallet, index$5 as Web3, type index$4_WithdrawalRpc as WithdrawalRpc, index$4_WithdrawalRpcSchema as WithdrawalRpcSchema, index$4_decodeRequest as decodeRequest, index$4_decodeResponse as decodeResponse, index$4_isErrorResponse as isErrorResponse, index$4_isSuccessResponse as isSuccessResponse, index$4_isValidRequest as isValidRequest, index$4_isValidResponse as isValidResponse, index$4_methodResultSchemas as methodResultSchemas };
|
|
11291
11355
|
}
|
|
11292
11356
|
|
|
11293
11357
|
declare const StatusRequest: () => JsonRpcRequestType;
|
|
@@ -11383,101 +11447,2256 @@ declare namespace Web3$1 {
|
|
|
11383
11447
|
export { Web3$1_ClientVersionRequest as ClientVersionRequest, Web3$1_Sha3Request as Sha3Request, Web3$1_Web3 as Web3 };
|
|
11384
11448
|
}
|
|
11385
11449
|
|
|
11386
|
-
declare const index$
|
|
11387
|
-
type index$
|
|
11388
|
-
declare const index$
|
|
11389
|
-
type index$
|
|
11390
|
-
declare const index$
|
|
11391
|
-
type index$
|
|
11392
|
-
declare const index$
|
|
11393
|
-
declare const index$
|
|
11394
|
-
type index$
|
|
11395
|
-
declare const index$
|
|
11396
|
-
declare const index$
|
|
11397
|
-
type index$
|
|
11398
|
-
declare const index$
|
|
11399
|
-
declare const index$
|
|
11400
|
-
declare const index$
|
|
11401
|
-
declare const index$
|
|
11402
|
-
declare const index$
|
|
11403
|
-
declare const index$
|
|
11404
|
-
type index$
|
|
11405
|
-
declare const index$
|
|
11406
|
-
type index$
|
|
11407
|
-
declare const index$
|
|
11408
|
-
type index$
|
|
11409
|
-
declare const index$
|
|
11410
|
-
type index$
|
|
11411
|
-
declare const index$
|
|
11412
|
-
type index$
|
|
11413
|
-
declare const index$
|
|
11414
|
-
declare const index$
|
|
11415
|
-
declare const index$
|
|
11416
|
-
type index$
|
|
11417
|
-
declare const index$
|
|
11418
|
-
type index$
|
|
11419
|
-
type index$
|
|
11420
|
-
declare const index$
|
|
11421
|
-
type index$
|
|
11422
|
-
type index$
|
|
11423
|
-
type index$
|
|
11424
|
-
declare const index$
|
|
11425
|
-
type index$
|
|
11426
|
-
declare const index$
|
|
11427
|
-
declare const index$
|
|
11428
|
-
declare const index$
|
|
11429
|
-
type index$
|
|
11430
|
-
declare const index$
|
|
11431
|
-
type index$
|
|
11432
|
-
declare const index$
|
|
11433
|
-
declare const index$
|
|
11434
|
-
declare const index$
|
|
11435
|
-
type index$
|
|
11436
|
-
declare const index$
|
|
11437
|
-
type index$
|
|
11438
|
-
declare const index$
|
|
11439
|
-
declare const index$
|
|
11440
|
-
type index$
|
|
11441
|
-
declare const index$
|
|
11442
|
-
declare const index$
|
|
11443
|
-
declare const index$
|
|
11444
|
-
declare const index$
|
|
11445
|
-
type index$
|
|
11446
|
-
declare const index$
|
|
11447
|
-
type index$
|
|
11448
|
-
declare const index$
|
|
11449
|
-
declare const index$
|
|
11450
|
-
type index$
|
|
11451
|
-
type index$
|
|
11452
|
-
declare const index$
|
|
11453
|
-
type index$
|
|
11454
|
-
declare const index$
|
|
11455
|
-
declare const index$
|
|
11456
|
-
declare const index$
|
|
11457
|
-
declare const index$
|
|
11458
|
-
type index$
|
|
11459
|
-
declare const index$
|
|
11460
|
-
type index$
|
|
11461
|
-
declare const index$
|
|
11462
|
-
type index$
|
|
11463
|
-
declare const index$
|
|
11464
|
-
declare const index$
|
|
11465
|
-
declare const index$
|
|
11466
|
-
declare const index$
|
|
11467
|
-
declare const index$
|
|
11468
|
-
declare const index$
|
|
11469
|
-
declare const index$
|
|
11470
|
-
declare const index$
|
|
11471
|
-
declare const index$
|
|
11472
|
-
declare const index$
|
|
11473
|
-
declare const index$
|
|
11474
|
-
declare const index$
|
|
11475
|
-
declare const index$
|
|
11476
|
-
declare const index$
|
|
11477
|
-
declare const index$
|
|
11478
|
-
declare const index$
|
|
11450
|
+
declare const index$3_BatchRequest: typeof BatchRequest;
|
|
11451
|
+
type index$3_BatchRequestType = BatchRequestType;
|
|
11452
|
+
declare const index$3_BatchResponse: typeof BatchResponse;
|
|
11453
|
+
type index$3_BatchResponseType = BatchResponseType;
|
|
11454
|
+
declare const index$3_CHAIN_DISCONNECTED: typeof CHAIN_DISCONNECTED;
|
|
11455
|
+
type index$3_ChainDisconnectedError = ChainDisconnectedError;
|
|
11456
|
+
declare const index$3_ChainDisconnectedError: typeof ChainDisconnectedError;
|
|
11457
|
+
declare const index$3_DISCONNECTED: typeof DISCONNECTED;
|
|
11458
|
+
type index$3_DisconnectedError = DisconnectedError;
|
|
11459
|
+
declare const index$3_DisconnectedError: typeof DisconnectedError;
|
|
11460
|
+
declare const index$3_EXECUTION_REVERTED: typeof EXECUTION_REVERTED;
|
|
11461
|
+
type index$3_ExecutionRevertedError = ExecutionRevertedError;
|
|
11462
|
+
declare const index$3_ExecutionRevertedError: typeof ExecutionRevertedError;
|
|
11463
|
+
declare const index$3_INSUFFICIENT_FUNDS: typeof INSUFFICIENT_FUNDS;
|
|
11464
|
+
declare const index$3_INTERNAL_ERROR: typeof INTERNAL_ERROR;
|
|
11465
|
+
declare const index$3_INVALID_INPUT: typeof INVALID_INPUT;
|
|
11466
|
+
declare const index$3_INVALID_PARAMS: typeof INVALID_PARAMS;
|
|
11467
|
+
declare const index$3_INVALID_REQUEST: typeof INVALID_REQUEST;
|
|
11468
|
+
type index$3_InsufficientFundsError = InsufficientFundsError;
|
|
11469
|
+
declare const index$3_InsufficientFundsError: typeof InsufficientFundsError;
|
|
11470
|
+
type index$3_InternalError = InternalError;
|
|
11471
|
+
declare const index$3_InternalError: typeof InternalError;
|
|
11472
|
+
type index$3_InvalidInputError = InvalidInputError;
|
|
11473
|
+
declare const index$3_InvalidInputError: typeof InvalidInputError;
|
|
11474
|
+
type index$3_InvalidParamsError = InvalidParamsError;
|
|
11475
|
+
declare const index$3_InvalidParamsError: typeof InvalidParamsError;
|
|
11476
|
+
type index$3_InvalidRequestError = InvalidRequestError;
|
|
11477
|
+
declare const index$3_InvalidRequestError: typeof InvalidRequestError;
|
|
11478
|
+
declare const index$3_JSON_RPC_VERSION_NOT_SUPPORTED: typeof JSON_RPC_VERSION_NOT_SUPPORTED;
|
|
11479
|
+
declare const index$3_JsonRpcError: typeof JsonRpcError;
|
|
11480
|
+
type index$3_JsonRpcErrorResponse = JsonRpcErrorResponse;
|
|
11481
|
+
declare const index$3_JsonRpcErrorResponse: typeof JsonRpcErrorResponse;
|
|
11482
|
+
type index$3_JsonRpcIdType = JsonRpcIdType;
|
|
11483
|
+
type index$3_JsonRpcParseError = JsonRpcParseError;
|
|
11484
|
+
declare const index$3_JsonRpcParseError: typeof JsonRpcParseError;
|
|
11485
|
+
type index$3_JsonRpcRequestType<TParams = unknown[]> = JsonRpcRequestType<TParams>;
|
|
11486
|
+
type index$3_JsonRpcResponseType<TResult = unknown> = JsonRpcResponseType<TResult>;
|
|
11487
|
+
type index$3_JsonRpcSuccessResponseType<TResult = unknown> = JsonRpcSuccessResponseType<TResult>;
|
|
11488
|
+
declare const index$3_LIMIT_EXCEEDED: typeof LIMIT_EXCEEDED;
|
|
11489
|
+
type index$3_LimitExceededError = LimitExceededError;
|
|
11490
|
+
declare const index$3_LimitExceededError: typeof LimitExceededError;
|
|
11491
|
+
declare const index$3_METHOD_NOT_FOUND: typeof METHOD_NOT_FOUND;
|
|
11492
|
+
declare const index$3_METHOD_NOT_SUPPORTED: typeof METHOD_NOT_SUPPORTED;
|
|
11493
|
+
type index$3_MethodNotFoundError = MethodNotFoundError;
|
|
11494
|
+
declare const index$3_MethodNotFoundError: typeof MethodNotFoundError;
|
|
11495
|
+
type index$3_MethodNotSupportedError = MethodNotSupportedError;
|
|
11496
|
+
declare const index$3_MethodNotSupportedError: typeof MethodNotSupportedError;
|
|
11497
|
+
declare const index$3_NONCE_TOO_HIGH: typeof NONCE_TOO_HIGH;
|
|
11498
|
+
declare const index$3_NONCE_TOO_LOW: typeof NONCE_TOO_LOW;
|
|
11499
|
+
type index$3_NonceTooHighError = NonceTooHighError;
|
|
11500
|
+
declare const index$3_NonceTooHighError: typeof NonceTooHighError;
|
|
11501
|
+
type index$3_NonceTooLowError = NonceTooLowError;
|
|
11502
|
+
declare const index$3_NonceTooLowError: typeof NonceTooLowError;
|
|
11503
|
+
declare const index$3_PARSE_ERROR: typeof PARSE_ERROR;
|
|
11504
|
+
type index$3_ParseError = ParseError;
|
|
11505
|
+
declare const index$3_ParseError: typeof ParseError;
|
|
11506
|
+
declare const index$3_RESOURCE_NOT_FOUND: typeof RESOURCE_NOT_FOUND;
|
|
11507
|
+
declare const index$3_RESOURCE_UNAVAILABLE: typeof RESOURCE_UNAVAILABLE;
|
|
11508
|
+
declare const index$3_Request: typeof Request;
|
|
11509
|
+
type index$3_ResourceNotFoundError = ResourceNotFoundError;
|
|
11510
|
+
declare const index$3_ResourceNotFoundError: typeof ResourceNotFoundError;
|
|
11511
|
+
type index$3_ResourceUnavailableError = ResourceUnavailableError;
|
|
11512
|
+
declare const index$3_ResourceUnavailableError: typeof ResourceUnavailableError;
|
|
11513
|
+
declare const index$3_Response: typeof Response;
|
|
11514
|
+
type index$3_RpcError = RpcError;
|
|
11515
|
+
type index$3_RpcErrorCode = RpcErrorCode;
|
|
11516
|
+
declare const index$3_TRANSACTION_REJECTED: typeof TRANSACTION_REJECTED;
|
|
11517
|
+
type index$3_TransactionRejectedError = TransactionRejectedError;
|
|
11518
|
+
declare const index$3_TransactionRejectedError: typeof TransactionRejectedError;
|
|
11519
|
+
declare const index$3_UNAUTHORIZED: typeof UNAUTHORIZED;
|
|
11520
|
+
declare const index$3_UNSUPPORTED_METHOD: typeof UNSUPPORTED_METHOD;
|
|
11521
|
+
declare const index$3_USER_REJECTED_REQUEST: typeof USER_REJECTED_REQUEST;
|
|
11522
|
+
type index$3_UnauthorizedError = UnauthorizedError;
|
|
11523
|
+
declare const index$3_UnauthorizedError: typeof UnauthorizedError;
|
|
11524
|
+
type index$3_UnsupportedMethodError = UnsupportedMethodError;
|
|
11525
|
+
declare const index$3_UnsupportedMethodError: typeof UnsupportedMethodError;
|
|
11526
|
+
type index$3_UserRejectedRequestError = UserRejectedRequestError;
|
|
11527
|
+
declare const index$3_UserRejectedRequestError: typeof UserRejectedRequestError;
|
|
11528
|
+
declare const index$3_findById: typeof findById;
|
|
11529
|
+
declare const index$3_isDisconnected: typeof isDisconnected;
|
|
11530
|
+
declare const index$3_isError: typeof isError;
|
|
11531
|
+
declare const index$3_isExecutionReverted: typeof isExecutionReverted;
|
|
11532
|
+
declare const index$3_isInsufficientFunds: typeof isInsufficientFunds;
|
|
11533
|
+
declare const index$3_isNonceError: typeof isNonceError;
|
|
11534
|
+
declare const index$3_isNotification: typeof isNotification;
|
|
11535
|
+
declare const index$3_isProviderError: typeof isProviderError;
|
|
11536
|
+
declare const index$3_isSuccess: typeof isSuccess;
|
|
11537
|
+
declare const index$3_isUserRejected: typeof isUserRejected;
|
|
11538
|
+
declare const index$3_nextId: typeof nextId;
|
|
11539
|
+
declare const index$3_parseErrorCode: typeof parseErrorCode;
|
|
11540
|
+
declare const index$3_resetId: typeof resetId;
|
|
11541
|
+
declare const index$3_unwrap: typeof unwrap;
|
|
11542
|
+
declare const index$3_withParams: typeof withParams;
|
|
11543
|
+
declare namespace index$3 {
|
|
11544
|
+
export { Anvil$1 as Anvil, index$3_BatchRequest as BatchRequest, type index$3_BatchRequestType as BatchRequestType, index$3_BatchResponse as BatchResponse, type index$3_BatchResponseType as BatchResponseType, index$3_CHAIN_DISCONNECTED as CHAIN_DISCONNECTED, index$3_ChainDisconnectedError as ChainDisconnectedError, index$3_DISCONNECTED as DISCONNECTED, index$3_DisconnectedError as DisconnectedError, index$3_EXECUTION_REVERTED as EXECUTION_REVERTED, Eth$1 as Eth, index$3_ExecutionRevertedError as ExecutionRevertedError, Hardhat$1 as Hardhat, index$3_INSUFFICIENT_FUNDS as INSUFFICIENT_FUNDS, index$3_INTERNAL_ERROR as INTERNAL_ERROR, index$3_INVALID_INPUT as INVALID_INPUT, index$3_INVALID_PARAMS as INVALID_PARAMS, index$3_INVALID_REQUEST as INVALID_REQUEST, index$3_InsufficientFundsError as InsufficientFundsError, index$3_InternalError as InternalError, index$3_InvalidInputError as InvalidInputError, index$3_InvalidParamsError as InvalidParamsError, index$3_InvalidRequestError as InvalidRequestError, index$3_JSON_RPC_VERSION_NOT_SUPPORTED as JSON_RPC_VERSION_NOT_SUPPORTED, index$3_JsonRpcError as JsonRpcError, index$3_JsonRpcErrorResponse as JsonRpcErrorResponse, type JsonRpcErrorResponseType$1 as JsonRpcErrorResponseType, type JsonRpcErrorType$1 as JsonRpcErrorType, type index$3_JsonRpcIdType as JsonRpcIdType, index$3_JsonRpcParseError as JsonRpcParseError, type index$3_JsonRpcRequestType as JsonRpcRequestType, type index$3_JsonRpcResponseType as JsonRpcResponseType, type index$3_JsonRpcSuccessResponseType as JsonRpcSuccessResponseType, index$3_LIMIT_EXCEEDED as LIMIT_EXCEEDED, index$3_LimitExceededError as LimitExceededError, index$3_METHOD_NOT_FOUND as METHOD_NOT_FOUND, index$3_METHOD_NOT_SUPPORTED as METHOD_NOT_SUPPORTED, index$3_MethodNotFoundError as MethodNotFoundError, index$3_MethodNotSupportedError as MethodNotSupportedError, index$3_NONCE_TOO_HIGH as NONCE_TOO_HIGH, index$3_NONCE_TOO_LOW as NONCE_TOO_LOW, Net$1 as Net, index$3_NonceTooHighError as NonceTooHighError, index$3_NonceTooLowError as NonceTooLowError, index$3_PARSE_ERROR as PARSE_ERROR, index$3_ParseError as ParseError, index$3_RESOURCE_NOT_FOUND as RESOURCE_NOT_FOUND, index$3_RESOURCE_UNAVAILABLE as RESOURCE_UNAVAILABLE, index$3_Request as Request, index$3_ResourceNotFoundError as ResourceNotFoundError, index$3_ResourceUnavailableError as ResourceUnavailableError, index$3_Response as Response, type index$3_RpcError as RpcError, type index$3_RpcErrorCode as RpcErrorCode, index$4 as Schemas, index$3_TRANSACTION_REJECTED as TRANSACTION_REJECTED, index$3_TransactionRejectedError as TransactionRejectedError, Txpool$1 as Txpool, index$3_UNAUTHORIZED as UNAUTHORIZED, index$3_UNSUPPORTED_METHOD as UNSUPPORTED_METHOD, index$3_USER_REJECTED_REQUEST as USER_REJECTED_REQUEST, index$3_UnauthorizedError as UnauthorizedError, index$3_UnsupportedMethodError as UnsupportedMethodError, index$3_UserRejectedRequestError as UserRejectedRequestError, Wallet$1 as Wallet, Web3$1 as Web3, add as batchAdd, errors as batchErrors, from$3 as batchRequestFrom, from as batchResponseFrom, parse$1 as batchResponseParse, results as batchResults, size as batchSize, from$2 as errorFrom, toString as errorToString, index$3_findById as findById, index$3_isDisconnected as isDisconnected, index$3_isError as isError, index$3_isExecutionReverted as isExecutionReverted, index$3_isInsufficientFunds as isInsufficientFunds, index$3_isNonceError as isNonceError, index$3_isNotification as isNotification, index$3_isProviderError as isProviderError, index$3_isSuccess as isSuccess, index$3_isUserRejected as isUserRejected, index$3_nextId as nextId, index$3_parseErrorCode as parseErrorCode, from$4 as requestFrom, index$3_resetId as resetId, from$1 as responseFrom, parse$2 as responseParse, index$3_unwrap as unwrap, index$3_withParams as withParams };
|
|
11545
|
+
}
|
|
11546
|
+
|
|
11547
|
+
/**
|
|
11548
|
+
* Local abitype configuration with Uint8Array for bytes types
|
|
11549
|
+
*
|
|
11550
|
+
* This file provides scoped abitype configuration that uses Uint8Array for bytes
|
|
11551
|
+
* instead of `0x${string}`. This declaration merging is scoped to this module and
|
|
11552
|
+
* does not affect downstream users who import abitype directly.
|
|
11553
|
+
*
|
|
11554
|
+
* @internal
|
|
11555
|
+
*/
|
|
11556
|
+
declare module "abitype" {
|
|
11557
|
+
interface Register {
|
|
11558
|
+
bytesType: {
|
|
11559
|
+
inputs: Uint8Array;
|
|
11560
|
+
outputs: Uint8Array;
|
|
11561
|
+
};
|
|
11562
|
+
intType: bigint;
|
|
11563
|
+
}
|
|
11564
|
+
}
|
|
11565
|
+
//# sourceMappingURL=abitype-uint8array.d.ts.map
|
|
11566
|
+
|
|
11567
|
+
type AbiType = "uint" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "int" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "address" | "bool" | "string" | "bytes" | "bytes1" | "bytes2" | "bytes3" | "bytes4" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes22" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "bytes32" | "tuple" | `${string}[]` | `${string}[${number}]`;
|
|
11568
|
+
|
|
11569
|
+
type Parameter<TType extends AbiType = AbiType, TName extends string = string, TInternalType extends string = string> = {
|
|
11570
|
+
readonly type: TType;
|
|
11571
|
+
readonly name?: TName;
|
|
11572
|
+
readonly internalType?: TInternalType;
|
|
11573
|
+
readonly indexed?: boolean;
|
|
11574
|
+
readonly components?: readonly Parameter[];
|
|
11575
|
+
};
|
|
11576
|
+
|
|
11577
|
+
type EventType<TName extends string = string, TInputs extends readonly Parameter[] = readonly Parameter[]> = {
|
|
11578
|
+
type: "event";
|
|
11579
|
+
name: TName;
|
|
11580
|
+
inputs: TInputs;
|
|
11581
|
+
anonymous?: boolean;
|
|
11582
|
+
};
|
|
11583
|
+
|
|
11584
|
+
type StateMutability = "pure" | "view" | "nonpayable" | "payable";
|
|
11585
|
+
|
|
11586
|
+
/**
|
|
11587
|
+
* Type definition for Constructor (data only)
|
|
11588
|
+
*/
|
|
11589
|
+
type ConstructorType<TStateMutability extends StateMutability = StateMutability, TInputs extends readonly Parameter[] = readonly Parameter[]> = {
|
|
11590
|
+
type: "constructor";
|
|
11591
|
+
stateMutability: TStateMutability;
|
|
11592
|
+
inputs: TInputs;
|
|
11593
|
+
};
|
|
11594
|
+
|
|
11595
|
+
/**
|
|
11596
|
+
* Function ABI item type
|
|
11597
|
+
*
|
|
11598
|
+
* @template TName - Function name
|
|
11599
|
+
* @template TStateMutability - State mutability (pure | view | nonpayable | payable)
|
|
11600
|
+
* @template TInputs - Input parameters
|
|
11601
|
+
* @template TOutputs - Output parameters
|
|
11602
|
+
*/
|
|
11603
|
+
type FunctionType<TName extends string = string, TStateMutability extends StateMutability = StateMutability, TInputs extends readonly Parameter[] = readonly Parameter[], TOutputs extends readonly Parameter[] = readonly Parameter[]> = {
|
|
11604
|
+
type: "function";
|
|
11605
|
+
name: TName;
|
|
11606
|
+
stateMutability: TStateMutability;
|
|
11607
|
+
inputs: TInputs;
|
|
11608
|
+
outputs: TOutputs;
|
|
11609
|
+
};
|
|
11610
|
+
|
|
11611
|
+
type Fallback<TStateMutability extends StateMutability = StateMutability> = {
|
|
11612
|
+
type: "fallback";
|
|
11613
|
+
stateMutability: TStateMutability;
|
|
11614
|
+
};
|
|
11615
|
+
type Receive = {
|
|
11616
|
+
type: "receive";
|
|
11617
|
+
stateMutability: "payable";
|
|
11618
|
+
};
|
|
11619
|
+
|
|
11620
|
+
type ParameterType<TType extends AbiType = AbiType, TName extends string = string, TInternalType extends string = string> = {
|
|
11621
|
+
readonly type: TType;
|
|
11622
|
+
readonly name?: TName;
|
|
11623
|
+
readonly internalType?: TInternalType;
|
|
11624
|
+
readonly indexed?: boolean;
|
|
11625
|
+
readonly components?: readonly ParameterType[];
|
|
11626
|
+
};
|
|
11627
|
+
|
|
11628
|
+
type ErrorType<TName extends string = string, TInputs extends readonly ParameterType[] = readonly ParameterType[]> = {
|
|
11629
|
+
type: "error";
|
|
11630
|
+
name: TName;
|
|
11631
|
+
inputs: TInputs;
|
|
11632
|
+
};
|
|
11633
|
+
|
|
11634
|
+
/**
|
|
11635
|
+
* Single ABI item (function, event, error, constructor, fallback, or receive)
|
|
11636
|
+
*/
|
|
11637
|
+
type Item = FunctionType | EventType | ErrorType | ConstructorType | Fallback | Receive;
|
|
11638
|
+
|
|
11639
|
+
/**
|
|
11640
|
+
* Abi class interface
|
|
11641
|
+
*
|
|
11642
|
+
* Array-like class for working with contract ABIs, extending Array with ABI-specific methods
|
|
11643
|
+
*/
|
|
11644
|
+
interface Abi<TItems extends readonly Item[] = readonly Item[]> extends Array<TItems[number]> {
|
|
11645
|
+
getItem(name: string, type: "function" | "event" | "error"): Item | undefined;
|
|
11646
|
+
format(): string[];
|
|
11647
|
+
formatWithArgs(args: Record<string, any>): string[];
|
|
11648
|
+
encode(functionName: string, args: any[]): Uint8Array;
|
|
11649
|
+
decode(functionName: string, data: Uint8Array): any[];
|
|
11650
|
+
decodeData(data: Uint8Array): {
|
|
11651
|
+
item: Item;
|
|
11652
|
+
decoded: any[];
|
|
11653
|
+
};
|
|
11654
|
+
parseLogs(logs: any[]): any[];
|
|
11655
|
+
getFunction(name: string): FunctionType | undefined;
|
|
11656
|
+
getEvent(name: string): EventType | undefined;
|
|
11657
|
+
getError(name: string): ErrorType | undefined;
|
|
11658
|
+
getConstructor(): ConstructorType | undefined;
|
|
11659
|
+
getFallback(): any;
|
|
11660
|
+
getReceive(): any;
|
|
11661
|
+
}
|
|
11662
|
+
|
|
11663
|
+
/**
|
|
11664
|
+
* Schema for Solidity state mutability.
|
|
11665
|
+
*
|
|
11666
|
+
* @since 0.1.0
|
|
11667
|
+
*/
|
|
11668
|
+
declare const StateMutabilitySchema: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11669
|
+
/**
|
|
11670
|
+
* Schema for Solidity type strings.
|
|
11671
|
+
* Uses S.String for flexibility with array types like "uint256[]" and "address[10]".
|
|
11672
|
+
*
|
|
11673
|
+
* @since 0.1.0
|
|
11674
|
+
*/
|
|
11675
|
+
declare const AbiTypeSchema: typeof S.String;
|
|
11676
|
+
/**
|
|
11677
|
+
* Internal interface for ABI parameters.
|
|
11678
|
+
* @internal
|
|
11679
|
+
*/
|
|
11680
|
+
interface ParameterInternal {
|
|
11681
|
+
readonly type: string;
|
|
11682
|
+
readonly name?: string;
|
|
11683
|
+
readonly internalType?: string;
|
|
11684
|
+
readonly indexed?: boolean;
|
|
11685
|
+
readonly components?: readonly ParameterInternal[];
|
|
11686
|
+
}
|
|
11687
|
+
/**
|
|
11688
|
+
* Schema for ABI parameters (recursive for tuple types).
|
|
11689
|
+
*
|
|
11690
|
+
* @since 0.1.0
|
|
11691
|
+
*/
|
|
11692
|
+
declare const ParameterSchema: S.Schema<ParameterInternal>;
|
|
11693
|
+
/**
|
|
11694
|
+
* Internal schema for function ABI items.
|
|
11695
|
+
* @internal
|
|
11696
|
+
*/
|
|
11697
|
+
declare const FunctionSchemaInternal: S.Struct<{
|
|
11698
|
+
type: S.Literal<["function"]>;
|
|
11699
|
+
name: typeof S.String;
|
|
11700
|
+
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11701
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11702
|
+
outputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11703
|
+
}>;
|
|
11704
|
+
/**
|
|
11705
|
+
* Type for function items.
|
|
11706
|
+
* @internal
|
|
11707
|
+
*/
|
|
11708
|
+
type FunctionItem = {
|
|
11709
|
+
readonly type: "function";
|
|
11710
|
+
readonly name: string;
|
|
11711
|
+
readonly stateMutability: "pure" | "view" | "nonpayable" | "payable";
|
|
11712
|
+
readonly inputs: readonly ParameterInternal[];
|
|
11713
|
+
readonly outputs: readonly ParameterInternal[];
|
|
11714
|
+
};
|
|
11715
|
+
/**
|
|
11716
|
+
* Schema for function ABI items.
|
|
11717
|
+
*
|
|
11718
|
+
* @since 0.1.0
|
|
11719
|
+
*/
|
|
11720
|
+
declare const FunctionSchema: S.Schema<FunctionItem, S.Schema.Encoded<typeof FunctionSchemaInternal>>;
|
|
11721
|
+
/**
|
|
11722
|
+
* Internal schema for event ABI items.
|
|
11723
|
+
* @internal
|
|
11724
|
+
*/
|
|
11725
|
+
declare const EventSchemaInternal: S.Struct<{
|
|
11726
|
+
type: S.Literal<["event"]>;
|
|
11727
|
+
name: typeof S.String;
|
|
11728
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11729
|
+
anonymous: S.optional<typeof S.Boolean>;
|
|
11730
|
+
}>;
|
|
11731
|
+
/**
|
|
11732
|
+
* Type for event items.
|
|
11733
|
+
* @internal
|
|
11734
|
+
*/
|
|
11735
|
+
type EventItem = {
|
|
11736
|
+
readonly type: "event";
|
|
11737
|
+
readonly name: string;
|
|
11738
|
+
readonly inputs: readonly ParameterInternal[];
|
|
11739
|
+
readonly anonymous?: boolean;
|
|
11740
|
+
};
|
|
11741
|
+
/**
|
|
11742
|
+
* Schema for event ABI items.
|
|
11743
|
+
*
|
|
11744
|
+
* @since 0.1.0
|
|
11745
|
+
*/
|
|
11746
|
+
declare const EventSchema: S.Schema<EventItem, S.Schema.Encoded<typeof EventSchemaInternal>>;
|
|
11747
|
+
/**
|
|
11748
|
+
* Internal schema for error ABI items.
|
|
11749
|
+
* @internal
|
|
11750
|
+
*/
|
|
11751
|
+
declare const ErrorSchemaInternal: S.Struct<{
|
|
11752
|
+
type: S.Literal<["error"]>;
|
|
11753
|
+
name: typeof S.String;
|
|
11754
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11755
|
+
}>;
|
|
11756
|
+
/**
|
|
11757
|
+
* Type for error items.
|
|
11758
|
+
* @internal
|
|
11759
|
+
*/
|
|
11760
|
+
type ErrorItem = {
|
|
11761
|
+
readonly type: "error";
|
|
11762
|
+
readonly name: string;
|
|
11763
|
+
readonly inputs: readonly ParameterInternal[];
|
|
11764
|
+
};
|
|
11765
|
+
/**
|
|
11766
|
+
* Schema for error ABI items.
|
|
11767
|
+
*
|
|
11768
|
+
* @since 0.1.0
|
|
11769
|
+
*/
|
|
11770
|
+
declare const ErrorSchema: S.Schema<ErrorItem, S.Schema.Encoded<typeof ErrorSchemaInternal>>;
|
|
11771
|
+
/**
|
|
11772
|
+
* Internal schema for constructor ABI items.
|
|
11773
|
+
* @internal
|
|
11774
|
+
*/
|
|
11775
|
+
declare const ConstructorSchemaInternal: S.Struct<{
|
|
11776
|
+
type: S.Literal<["constructor"]>;
|
|
11777
|
+
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11778
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11779
|
+
}>;
|
|
11780
|
+
/**
|
|
11781
|
+
* Type for constructor items.
|
|
11782
|
+
* @internal
|
|
11783
|
+
*/
|
|
11784
|
+
type ConstructorItem = {
|
|
11785
|
+
readonly type: "constructor";
|
|
11786
|
+
readonly stateMutability: "pure" | "view" | "nonpayable" | "payable";
|
|
11787
|
+
readonly inputs: readonly ParameterInternal[];
|
|
11788
|
+
};
|
|
11789
|
+
/**
|
|
11790
|
+
* Schema for constructor ABI items.
|
|
11791
|
+
*
|
|
11792
|
+
* @since 0.1.0
|
|
11793
|
+
*/
|
|
11794
|
+
declare const ConstructorSchema: S.Schema<ConstructorItem, S.Schema.Encoded<typeof ConstructorSchemaInternal>>;
|
|
11795
|
+
/**
|
|
11796
|
+
* Internal schema for fallback ABI items.
|
|
11797
|
+
* @internal
|
|
11798
|
+
*/
|
|
11799
|
+
declare const FallbackSchemaInternal: S.Struct<{
|
|
11800
|
+
type: S.Literal<["fallback"]>;
|
|
11801
|
+
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11802
|
+
}>;
|
|
11803
|
+
/**
|
|
11804
|
+
* Type for fallback items.
|
|
11805
|
+
* @internal
|
|
11806
|
+
*/
|
|
11807
|
+
type FallbackItem = {
|
|
11808
|
+
readonly type: "fallback";
|
|
11809
|
+
readonly stateMutability: "pure" | "view" | "nonpayable" | "payable";
|
|
11810
|
+
};
|
|
11811
|
+
/**
|
|
11812
|
+
* Schema for fallback ABI items.
|
|
11813
|
+
*
|
|
11814
|
+
* @since 0.1.0
|
|
11815
|
+
*/
|
|
11816
|
+
declare const FallbackSchema: S.Schema<FallbackItem, S.Schema.Encoded<typeof FallbackSchemaInternal>>;
|
|
11817
|
+
/**
|
|
11818
|
+
* Internal schema for receive ABI items.
|
|
11819
|
+
* @internal
|
|
11820
|
+
*/
|
|
11821
|
+
declare const ReceiveSchemaInternal: S.Struct<{
|
|
11822
|
+
type: S.Literal<["receive"]>;
|
|
11823
|
+
stateMutability: S.Literal<["payable"]>;
|
|
11824
|
+
}>;
|
|
11825
|
+
/**
|
|
11826
|
+
* Type for receive items.
|
|
11827
|
+
* @internal
|
|
11828
|
+
*/
|
|
11829
|
+
type ReceiveItem = {
|
|
11830
|
+
readonly type: "receive";
|
|
11831
|
+
readonly stateMutability: "payable";
|
|
11832
|
+
};
|
|
11833
|
+
/**
|
|
11834
|
+
* Schema for receive ABI items.
|
|
11835
|
+
*
|
|
11836
|
+
* @since 0.1.0
|
|
11837
|
+
*/
|
|
11838
|
+
declare const ReceiveSchema: S.Schema<ReceiveItem, S.Schema.Encoded<typeof ReceiveSchemaInternal>>;
|
|
11839
|
+
/**
|
|
11840
|
+
* Internal union schema for all ABI item types.
|
|
11841
|
+
* @internal
|
|
11842
|
+
*/
|
|
11843
|
+
declare const ItemSchemaInternal: S.Union<[S.Struct<{
|
|
11844
|
+
type: S.Literal<["function"]>;
|
|
11845
|
+
name: typeof S.String;
|
|
11846
|
+
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11847
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11848
|
+
outputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11849
|
+
}>, S.Struct<{
|
|
11850
|
+
type: S.Literal<["event"]>;
|
|
11851
|
+
name: typeof S.String;
|
|
11852
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11853
|
+
anonymous: S.optional<typeof S.Boolean>;
|
|
11854
|
+
}>, S.Struct<{
|
|
11855
|
+
type: S.Literal<["error"]>;
|
|
11856
|
+
name: typeof S.String;
|
|
11857
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11858
|
+
}>, S.Struct<{
|
|
11859
|
+
type: S.Literal<["constructor"]>;
|
|
11860
|
+
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11861
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11862
|
+
}>, S.Struct<{
|
|
11863
|
+
type: S.Literal<["fallback"]>;
|
|
11864
|
+
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11865
|
+
}>, S.Struct<{
|
|
11866
|
+
type: S.Literal<["receive"]>;
|
|
11867
|
+
stateMutability: S.Literal<["payable"]>;
|
|
11868
|
+
}>]>;
|
|
11869
|
+
/**
|
|
11870
|
+
* Type for any ABI item.
|
|
11871
|
+
* @internal
|
|
11872
|
+
*/
|
|
11873
|
+
type AbiItemInternal = FunctionItem | EventItem | ErrorItem | ConstructorItem | FallbackItem | ReceiveItem;
|
|
11874
|
+
/**
|
|
11875
|
+
* Schema for any ABI item (function, event, error, constructor, fallback, receive).
|
|
11876
|
+
*
|
|
11877
|
+
* @since 0.1.0
|
|
11878
|
+
*/
|
|
11879
|
+
declare const ItemSchema: S.Schema<AbiItemInternal, S.Schema.Encoded<typeof ItemSchemaInternal>>;
|
|
11880
|
+
/**
|
|
11881
|
+
* Schema for validated Abi instances.
|
|
11882
|
+
* Use this schema to check if a value is already an Abi.
|
|
11883
|
+
*
|
|
11884
|
+
* @since 0.1.0
|
|
11885
|
+
*/
|
|
11886
|
+
declare const AbiSchema: S.declare<Abi<readonly _tevm_voltaire_Abi.ItemType[]>, Abi<readonly _tevm_voltaire_Abi.ItemType[]>, readonly [], never>;
|
|
11887
|
+
/**
|
|
11888
|
+
* Schema that parses raw ABI arrays into Abi instances.
|
|
11889
|
+
* Use this to validate and construct Abi from unknown input.
|
|
11890
|
+
*
|
|
11891
|
+
* @example
|
|
11892
|
+
* ```typescript
|
|
11893
|
+
* import * as Abi from 'voltaire-effect/primitives/Abi'
|
|
11894
|
+
* import * as S from 'effect/Schema'
|
|
11895
|
+
*
|
|
11896
|
+
* const abi = S.decodeUnknownSync(Abi.fromArray)([
|
|
11897
|
+
* { type: 'function', name: 'transfer', stateMutability: 'nonpayable',
|
|
11898
|
+
* inputs: [{ type: 'address', name: 'to' }, { type: 'uint256', name: 'amount' }],
|
|
11899
|
+
* outputs: [{ type: 'bool' }] }
|
|
11900
|
+
* ])
|
|
11901
|
+
* ```
|
|
11902
|
+
*
|
|
11903
|
+
* @since 0.1.0
|
|
11904
|
+
*/
|
|
11905
|
+
declare const fromArray: S.transformOrFail<S.Array$<S.Union<[S.Struct<{
|
|
11906
|
+
type: S.Literal<["function"]>;
|
|
11907
|
+
name: typeof S.String;
|
|
11908
|
+
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11909
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11910
|
+
outputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11911
|
+
}>, S.Struct<{
|
|
11912
|
+
type: S.Literal<["event"]>;
|
|
11913
|
+
name: typeof S.String;
|
|
11914
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11915
|
+
anonymous: S.optional<typeof S.Boolean>;
|
|
11916
|
+
}>, S.Struct<{
|
|
11917
|
+
type: S.Literal<["error"]>;
|
|
11918
|
+
name: typeof S.String;
|
|
11919
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11920
|
+
}>, S.Struct<{
|
|
11921
|
+
type: S.Literal<["constructor"]>;
|
|
11922
|
+
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11923
|
+
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11924
|
+
}>, S.Struct<{
|
|
11925
|
+
type: S.Literal<["fallback"]>;
|
|
11926
|
+
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11927
|
+
}>, S.Struct<{
|
|
11928
|
+
type: S.Literal<["receive"]>;
|
|
11929
|
+
stateMutability: S.Literal<["payable"]>;
|
|
11930
|
+
}>]>>, S.declare<Abi<readonly _tevm_voltaire_Abi.ItemType[]>, Abi<readonly _tevm_voltaire_Abi.ItemType[]>, readonly [], never>, never>;
|
|
11931
|
+
|
|
11932
|
+
/**
|
|
11933
|
+
* @fileoverview Encodes function call data from ABI by function name.
|
|
11934
|
+
* Provides Effect-based wrapper around the branded ABI encode method.
|
|
11935
|
+
*
|
|
11936
|
+
* @module Abi/encode
|
|
11937
|
+
* @since 0.0.1
|
|
11938
|
+
*/
|
|
11939
|
+
|
|
11940
|
+
type AbiInput$k = readonly ItemType[];
|
|
11941
|
+
/**
|
|
11942
|
+
* Encodes function call data from ABI by function name.
|
|
11943
|
+
*
|
|
11944
|
+
* @description
|
|
11945
|
+
* Creates encoded calldata for invoking a contract function.
|
|
11946
|
+
*
|
|
11947
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
11948
|
+
* @param {string} functionName - The function name to encode.
|
|
11949
|
+
* @param {readonly unknown[]} args - The function arguments.
|
|
11950
|
+
* @returns {Effect.Effect<Uint8Array, AbiItemNotFoundError | AbiEncodingError>}
|
|
11951
|
+
* Effect yielding encoded calldata as bytes.
|
|
11952
|
+
*
|
|
11953
|
+
* @example
|
|
11954
|
+
* ```typescript
|
|
11955
|
+
* import * as Effect from 'effect/Effect'
|
|
11956
|
+
* import { encode } from 'voltaire-effect/primitives/Abi'
|
|
11957
|
+
*
|
|
11958
|
+
* const calldata = await Effect.runPromise(
|
|
11959
|
+
* encode(abi, 'transfer', [to, amount])
|
|
11960
|
+
* )
|
|
11961
|
+
* ```
|
|
11962
|
+
*
|
|
11963
|
+
* @since 0.0.1
|
|
11964
|
+
*/
|
|
11965
|
+
declare const encode: (abi: AbiInput$k, functionName: string, args: readonly unknown[]) => Effect.Effect<Uint8Array, AbiItemNotFoundError | AbiEncodingError>;
|
|
11966
|
+
|
|
11967
|
+
/**
|
|
11968
|
+
* @fileoverview ABI encodePacked - compact encoding without padding.
|
|
11969
|
+
* Provides Effect-based wrapper for packed encoding.
|
|
11970
|
+
*
|
|
11971
|
+
* @module Abi/encodePacked
|
|
11972
|
+
* @since 0.0.1
|
|
11973
|
+
*/
|
|
11974
|
+
|
|
11975
|
+
/**
|
|
11976
|
+
* Encodes values in packed format (no padding).
|
|
11977
|
+
*
|
|
11978
|
+
* @description
|
|
11979
|
+
* Performs ABI encoding without padding, used for creating hashes
|
|
11980
|
+
* where standard ABI encoding would waste space.
|
|
11981
|
+
*
|
|
11982
|
+
* @param {readonly string[]} types - Array of Solidity type strings.
|
|
11983
|
+
* @param {readonly unknown[]} values - Array of values to encode.
|
|
11984
|
+
* @returns {Effect.Effect<HexType, AbiParameterMismatchError | AbiEncodingError>}
|
|
11985
|
+
* Effect yielding encoded hex string.
|
|
11986
|
+
*
|
|
11987
|
+
* @example
|
|
11988
|
+
* ```typescript
|
|
11989
|
+
* import * as Effect from 'effect/Effect'
|
|
11990
|
+
* import { encodePacked } from 'voltaire-effect/primitives/Abi'
|
|
11991
|
+
*
|
|
11992
|
+
* const encoded = await Effect.runPromise(
|
|
11993
|
+
* encodePacked(['address', 'uint256'], [address, amount])
|
|
11994
|
+
* )
|
|
11995
|
+
* ```
|
|
11996
|
+
*
|
|
11997
|
+
* @since 0.0.1
|
|
11998
|
+
*/
|
|
11999
|
+
declare const encodePacked: (types: readonly string[], values: readonly unknown[]) => Effect.Effect<HexType, AbiParameterMismatchError | AbiEncodingError>;
|
|
12000
|
+
|
|
12001
|
+
/**
|
|
12002
|
+
* @fileoverview Encodes ERC-7751 wrapped error data.
|
|
12003
|
+
* Provides Effect-based wrapper for wrapped error encoding.
|
|
12004
|
+
*
|
|
12005
|
+
* @module Abi/encodeWrappedError
|
|
12006
|
+
* @since 0.0.1
|
|
12007
|
+
*/
|
|
12008
|
+
|
|
12009
|
+
/**
|
|
12010
|
+
* Wrapped error input structure (ERC-7751).
|
|
12011
|
+
*/
|
|
12012
|
+
type WrappedErrorInput = WrappedErrorType;
|
|
12013
|
+
/**
|
|
12014
|
+
* Encodes ERC-7751 wrapped error data.
|
|
12015
|
+
*
|
|
12016
|
+
* @description
|
|
12017
|
+
* Creates encoded error data following the ERC-7751 specification:
|
|
12018
|
+
* `error WrappedError(address target, bytes4 selector, bytes reason, bytes details)`
|
|
12019
|
+
*
|
|
12020
|
+
* @param {WrappedErrorInput} wrappedError - Wrapped error data.
|
|
12021
|
+
* @returns {Effect.Effect<Uint8Array, AbiEncodingError>}
|
|
12022
|
+
* Effect yielding encoded error data (selector + ABI-encoded params).
|
|
12023
|
+
*
|
|
12024
|
+
* @example
|
|
12025
|
+
* ```typescript
|
|
12026
|
+
* import * as Effect from 'effect/Effect'
|
|
12027
|
+
* import { encodeWrappedError } from 'voltaire-effect/primitives/Abi'
|
|
12028
|
+
* import * as Address from '@tevm/voltaire/Address'
|
|
12029
|
+
* import * as Selector from '@tevm/voltaire/Selector'
|
|
12030
|
+
*
|
|
12031
|
+
* const encoded = await Effect.runPromise(
|
|
12032
|
+
* encodeWrappedError({
|
|
12033
|
+
* target: Address.from('0x1234...'),
|
|
12034
|
+
* selector: Selector.fromHex('0xabcd1234'),
|
|
12035
|
+
* reason: new Uint8Array([...]),
|
|
12036
|
+
* details: new Uint8Array([...])
|
|
12037
|
+
* })
|
|
12038
|
+
* )
|
|
12039
|
+
* ```
|
|
12040
|
+
*
|
|
12041
|
+
* @see https://eips.ethereum.org/EIPS/eip-7751
|
|
12042
|
+
* @since 0.0.1
|
|
12043
|
+
*/
|
|
12044
|
+
declare const encodeWrappedError: (wrappedError: WrappedErrorInput) => Effect.Effect<Uint8Array, AbiEncodingError>;
|
|
12045
|
+
|
|
12046
|
+
/**
|
|
12047
|
+
* @fileoverview Decodes function return values from ABI by function name.
|
|
12048
|
+
* Provides Effect-based wrapper around the branded ABI decode method.
|
|
12049
|
+
*
|
|
12050
|
+
* @module Abi/decode
|
|
12051
|
+
* @since 0.0.1
|
|
12052
|
+
*/
|
|
12053
|
+
|
|
12054
|
+
type AbiInput$j = readonly ItemType[];
|
|
12055
|
+
/**
|
|
12056
|
+
* Decodes function return values from ABI by function name.
|
|
12057
|
+
*
|
|
12058
|
+
* @description
|
|
12059
|
+
* Decodes the return data from a contract call using the function's output types.
|
|
12060
|
+
*
|
|
12061
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12062
|
+
* @param {string} functionName - The function name whose outputs to decode.
|
|
12063
|
+
* @param {Uint8Array} data - The encoded return data.
|
|
12064
|
+
* @returns {Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError>}
|
|
12065
|
+
* Effect yielding decoded return values.
|
|
12066
|
+
*
|
|
12067
|
+
* @example
|
|
12068
|
+
* ```typescript
|
|
12069
|
+
* import * as Effect from 'effect/Effect'
|
|
12070
|
+
* import { decode } from 'voltaire-effect/primitives/Abi'
|
|
12071
|
+
*
|
|
12072
|
+
* const result = await Effect.runPromise(
|
|
12073
|
+
* decode(abi, 'balanceOf', returnData)
|
|
12074
|
+
* )
|
|
12075
|
+
* ```
|
|
12076
|
+
*
|
|
12077
|
+
* @since 0.0.1
|
|
12078
|
+
*/
|
|
12079
|
+
declare const decode: (abi: AbiInput$j, functionName: string, data: Uint8Array) => Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError>;
|
|
12080
|
+
|
|
12081
|
+
/**
|
|
12082
|
+
* @fileoverview Decodes function call data and identifies the function.
|
|
12083
|
+
* Provides Effect-based wrapper around the branded ABI decodeData method.
|
|
12084
|
+
*
|
|
12085
|
+
* @module Abi/decodeData
|
|
12086
|
+
* @since 0.0.1
|
|
12087
|
+
*/
|
|
12088
|
+
|
|
12089
|
+
type AbiInput$i = readonly ItemType[];
|
|
12090
|
+
/**
|
|
12091
|
+
* Decodes function call data and identifies the function.
|
|
12092
|
+
*
|
|
12093
|
+
* @description
|
|
12094
|
+
* Parses encoded calldata to extract the function name and decoded arguments.
|
|
12095
|
+
* The data must start with a 4-byte function selector.
|
|
12096
|
+
*
|
|
12097
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12098
|
+
* @param {Uint8Array} data - The encoded function call data.
|
|
12099
|
+
* @returns {Effect.Effect<{ functionName: string; args: readonly unknown[] }, AbiItemNotFoundError | AbiInvalidSelectorError | AbiDecodingError>}
|
|
12100
|
+
* Effect yielding the function name and decoded arguments.
|
|
12101
|
+
*
|
|
12102
|
+
* @example
|
|
12103
|
+
* ```typescript
|
|
12104
|
+
* import * as Effect from 'effect/Effect'
|
|
12105
|
+
* import { decodeData } from 'voltaire-effect/primitives/Abi'
|
|
12106
|
+
*
|
|
12107
|
+
* const decoded = await Effect.runPromise(
|
|
12108
|
+
* decodeData(abi, calldata)
|
|
12109
|
+
* )
|
|
12110
|
+
* console.log(decoded.functionName) // 'transfer'
|
|
12111
|
+
* console.log(decoded.args) // ['0x...', 100n]
|
|
12112
|
+
* ```
|
|
12113
|
+
*
|
|
12114
|
+
* @since 0.0.1
|
|
12115
|
+
*/
|
|
12116
|
+
declare const decodeData: (abi: AbiInput$i, data: Uint8Array) => Effect.Effect<{
|
|
12117
|
+
functionName: string;
|
|
12118
|
+
args: readonly unknown[];
|
|
12119
|
+
}, AbiItemNotFoundError | AbiInvalidSelectorError$1 | AbiDecodingError>;
|
|
12120
|
+
|
|
12121
|
+
/**
|
|
12122
|
+
* @fileoverview Decodes event log data using ABI.
|
|
12123
|
+
* Provides Effect-based wrapper for parsing log entries.
|
|
12124
|
+
*
|
|
12125
|
+
* @module Abi/decodeLog
|
|
12126
|
+
* @since 0.0.1
|
|
12127
|
+
*/
|
|
12128
|
+
|
|
12129
|
+
type AbiInput$h = readonly ItemType[];
|
|
12130
|
+
/**
|
|
12131
|
+
* Log input structure.
|
|
12132
|
+
*/
|
|
12133
|
+
interface LogInput$1 {
|
|
12134
|
+
data: HexType | Uint8Array;
|
|
12135
|
+
topics: readonly (HexType | Uint8Array)[];
|
|
12136
|
+
}
|
|
12137
|
+
/**
|
|
12138
|
+
* Decodes event log data using ABI.
|
|
12139
|
+
*
|
|
12140
|
+
* @description
|
|
12141
|
+
* Parses a log entry to extract the event name and decoded parameters.
|
|
12142
|
+
* Supports both regular events (matched by topic0) and anonymous events.
|
|
12143
|
+
*
|
|
12144
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12145
|
+
* @param {LogInput} log - The log object with data and topics.
|
|
12146
|
+
* @returns {Effect.Effect<{ event: string; params: Record<string, unknown> }, AbiItemNotFoundError | AbiDecodingError>}
|
|
12147
|
+
* Effect yielding the event name and decoded parameters.
|
|
12148
|
+
*
|
|
12149
|
+
* @example
|
|
12150
|
+
* ```typescript
|
|
12151
|
+
* import * as Effect from 'effect/Effect'
|
|
12152
|
+
* import { decodeLog } from 'voltaire-effect/primitives/Abi'
|
|
12153
|
+
*
|
|
12154
|
+
* const decoded = await Effect.runPromise(
|
|
12155
|
+
* decodeLog(abi, { data: '0x...', topics: ['0x...', ...] })
|
|
12156
|
+
* )
|
|
12157
|
+
* console.log(decoded.event) // 'Transfer'
|
|
12158
|
+
* console.log(decoded.params) // { from: '0x...', to: '0x...', value: 100n }
|
|
12159
|
+
* ```
|
|
12160
|
+
*
|
|
12161
|
+
* @since 0.0.1
|
|
12162
|
+
*/
|
|
12163
|
+
declare const decodeLog: (abi: AbiInput$h, log: LogInput$1) => Effect.Effect<{
|
|
12164
|
+
event: string;
|
|
12165
|
+
params: Record<string, unknown>;
|
|
12166
|
+
}, AbiItemNotFoundError | AbiDecodingError>;
|
|
12167
|
+
|
|
12168
|
+
/**
|
|
12169
|
+
* @fileoverview Decodes ERC-7751 wrapped error data.
|
|
12170
|
+
* Provides Effect-based wrapper for wrapped error decoding.
|
|
12171
|
+
*
|
|
12172
|
+
* @module Abi/decodeWrappedError
|
|
12173
|
+
* @since 0.0.1
|
|
12174
|
+
*/
|
|
12175
|
+
|
|
12176
|
+
/**
|
|
12177
|
+
* Decoded wrapped error structure (ERC-7751).
|
|
12178
|
+
*/
|
|
12179
|
+
type WrappedErrorResult = WrappedErrorType;
|
|
12180
|
+
/**
|
|
12181
|
+
* Decodes ERC-7751 wrapped error data.
|
|
12182
|
+
*
|
|
12183
|
+
* @description
|
|
12184
|
+
* Decodes a WrappedError from encoded bytes following the ERC-7751 specification.
|
|
12185
|
+
* Expects data to start with the WrappedError selector (0x90bfb865).
|
|
12186
|
+
*
|
|
12187
|
+
* @param {Uint8Array} data - Encoded error data (selector + ABI-encoded params).
|
|
12188
|
+
* @returns {Effect.Effect<WrappedErrorResult, AbiDecodingError | AbiInvalidSelectorError>}
|
|
12189
|
+
* Effect yielding decoded wrapped error.
|
|
12190
|
+
*
|
|
12191
|
+
* @example
|
|
12192
|
+
* ```typescript
|
|
12193
|
+
* import * as Effect from 'effect/Effect'
|
|
12194
|
+
* import { decodeWrappedError } from 'voltaire-effect/primitives/Abi'
|
|
12195
|
+
*
|
|
12196
|
+
* const decoded = await Effect.runPromise(
|
|
12197
|
+
* decodeWrappedError(errorData)
|
|
12198
|
+
* )
|
|
12199
|
+
* console.log(decoded.target) // Address of failing contract
|
|
12200
|
+
* console.log(decoded.selector) // Function selector
|
|
12201
|
+
* ```
|
|
12202
|
+
*
|
|
12203
|
+
* @see https://eips.ethereum.org/EIPS/eip-7751
|
|
12204
|
+
* @since 0.0.1
|
|
12205
|
+
*/
|
|
12206
|
+
declare const decodeWrappedError: (data: Uint8Array) => Effect.Effect<WrappedErrorResult, AbiDecodingError | AbiInvalidSelectorError$1>;
|
|
12207
|
+
|
|
12208
|
+
/**
|
|
12209
|
+
* @fileoverview Decodes error data using ABI.
|
|
12210
|
+
* Provides Effect-based wrapper for decoding error parameters.
|
|
12211
|
+
*
|
|
12212
|
+
* @module Abi/decodeError
|
|
12213
|
+
* @since 0.0.1
|
|
12214
|
+
*/
|
|
12215
|
+
|
|
12216
|
+
type AbiInvalidSelectorError = Error & {
|
|
12217
|
+
code: string;
|
|
12218
|
+
};
|
|
12219
|
+
/**
|
|
12220
|
+
* Represents a single ABI item.
|
|
12221
|
+
* @internal
|
|
12222
|
+
*/
|
|
12223
|
+
type AbiItem$4 = {
|
|
12224
|
+
type: string;
|
|
12225
|
+
name?: string;
|
|
12226
|
+
};
|
|
12227
|
+
/**
|
|
12228
|
+
* Type alias for ABI input.
|
|
12229
|
+
* @internal
|
|
12230
|
+
*/
|
|
12231
|
+
type AbiInput$g = readonly AbiItem$4[];
|
|
12232
|
+
/**
|
|
12233
|
+
* Decodes error data using ABI.
|
|
12234
|
+
*
|
|
12235
|
+
* @description
|
|
12236
|
+
* Decodes error data by matching the 4-byte selector and decoding parameters.
|
|
12237
|
+
* Returns the error name and decoded parameters.
|
|
12238
|
+
*
|
|
12239
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12240
|
+
* @param {string} errorName - The error name to decode as.
|
|
12241
|
+
* @param {HexType | Uint8Array} data - The encoded error data.
|
|
12242
|
+
* @returns {Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError | AbiInvalidSelectorError>}
|
|
12243
|
+
* Effect yielding the decoded error parameters.
|
|
12244
|
+
*
|
|
12245
|
+
* @example
|
|
12246
|
+
* ```typescript
|
|
12247
|
+
* import * as Effect from 'effect/Effect'
|
|
12248
|
+
* import { decodeError } from 'voltaire-effect/primitives/Abi'
|
|
12249
|
+
*
|
|
12250
|
+
* const params = await Effect.runPromise(
|
|
12251
|
+
* decodeError(abi, 'InsufficientBalance', '0x...')
|
|
12252
|
+
* )
|
|
12253
|
+
* ```
|
|
12254
|
+
*
|
|
12255
|
+
* @since 0.0.1
|
|
12256
|
+
*/
|
|
12257
|
+
declare const decodeError: (abi: AbiInput$g, errorName: string, data: HexType | Uint8Array) => Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError | AbiInvalidSelectorError>;
|
|
12258
|
+
|
|
12259
|
+
/**
|
|
12260
|
+
* @fileoverview Encodes error data with selector.
|
|
12261
|
+
* Provides Effect-based wrapper for encoding error parameters.
|
|
12262
|
+
*
|
|
12263
|
+
* @module Abi/encodeError
|
|
12264
|
+
* @since 0.0.1
|
|
12265
|
+
*/
|
|
12266
|
+
|
|
12267
|
+
/**
|
|
12268
|
+
* Represents a single ABI item.
|
|
12269
|
+
* @internal
|
|
12270
|
+
*/
|
|
12271
|
+
type AbiItem$3 = {
|
|
12272
|
+
type: string;
|
|
12273
|
+
name?: string;
|
|
12274
|
+
};
|
|
12275
|
+
/**
|
|
12276
|
+
* Type alias for ABI input.
|
|
12277
|
+
* @internal
|
|
12278
|
+
*/
|
|
12279
|
+
type AbiInput$f = readonly AbiItem$3[];
|
|
12280
|
+
/**
|
|
12281
|
+
* Encodes error data with selector.
|
|
12282
|
+
*
|
|
12283
|
+
* @description
|
|
12284
|
+
* Encodes error parameters with a 4-byte selector prefix.
|
|
12285
|
+
* The selector is the first 4 bytes of keccak256(signature).
|
|
12286
|
+
*
|
|
12287
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12288
|
+
* @param {string} errorName - The error name.
|
|
12289
|
+
* @param {readonly unknown[]} args - The error parameters.
|
|
12290
|
+
* @returns {Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>}
|
|
12291
|
+
* Effect yielding the encoded error data.
|
|
12292
|
+
*
|
|
12293
|
+
* @example
|
|
12294
|
+
* ```typescript
|
|
12295
|
+
* import * as Effect from 'effect/Effect'
|
|
12296
|
+
* import { encodeError } from 'voltaire-effect/primitives/Abi'
|
|
12297
|
+
*
|
|
12298
|
+
* const encoded = await Effect.runPromise(
|
|
12299
|
+
* encodeError(abi, 'InsufficientBalance', [100n])
|
|
12300
|
+
* )
|
|
12301
|
+
* ```
|
|
12302
|
+
*
|
|
12303
|
+
* @since 0.0.1
|
|
12304
|
+
*/
|
|
12305
|
+
declare const encodeError: (abi: AbiInput$f, errorName: string, args: readonly unknown[]) => Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>;
|
|
12306
|
+
|
|
12307
|
+
/**
|
|
12308
|
+
* @fileoverview Decodes Ethereum event logs using ABI definitions.
|
|
12309
|
+
* Provides Effect-based wrapper for decoding log data and topics into
|
|
12310
|
+
* structured event information with typed parameters.
|
|
12311
|
+
*
|
|
12312
|
+
* @module Abi/decodeEventLog
|
|
12313
|
+
* @since 0.0.1
|
|
12314
|
+
*/
|
|
12315
|
+
|
|
12316
|
+
/**
|
|
12317
|
+
* Type alias for ABI input accepted by the decoder.
|
|
12318
|
+
* @internal
|
|
12319
|
+
*/
|
|
12320
|
+
type AbiInput$e = readonly ItemType[];
|
|
12321
|
+
/**
|
|
12322
|
+
* Input structure for decoding event logs.
|
|
12323
|
+
* Represents the raw log data emitted during transaction execution.
|
|
12324
|
+
*
|
|
12325
|
+
* @description
|
|
12326
|
+
* Contains the log data payload and topics array from an Ethereum event.
|
|
12327
|
+
* The first topic (topics[0]) is typically the event signature hash,
|
|
12328
|
+
* while subsequent topics contain indexed event parameters.
|
|
12329
|
+
*
|
|
12330
|
+
* @since 0.0.1
|
|
12331
|
+
*
|
|
12332
|
+
* @example
|
|
12333
|
+
* ```typescript
|
|
12334
|
+
* const log: LogInput = {
|
|
12335
|
+
* data: '0x0000000000000000000000000000000000000000000000000de0b6b3a7640000',
|
|
12336
|
+
* topics: [
|
|
12337
|
+
* '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef', // Transfer signature
|
|
12338
|
+
* '0x000000000000000000000000sender...', // indexed from
|
|
12339
|
+
* '0x000000000000000000000000recipient...' // indexed to
|
|
12340
|
+
* ]
|
|
12341
|
+
* }
|
|
12342
|
+
* ```
|
|
12343
|
+
*/
|
|
12344
|
+
interface LogInput {
|
|
12345
|
+
/**
|
|
12346
|
+
* The log data as hex string or bytes.
|
|
12347
|
+
* Contains non-indexed event parameters ABI-encoded.
|
|
12348
|
+
*/
|
|
12349
|
+
data: HexType | Uint8Array;
|
|
12350
|
+
/**
|
|
12351
|
+
* Array of log topics as hex strings or bytes.
|
|
12352
|
+
* First topic is event signature, rest are indexed params.
|
|
12353
|
+
*/
|
|
12354
|
+
topics: readonly (HexType | Uint8Array)[];
|
|
12355
|
+
}
|
|
12356
|
+
/**
|
|
12357
|
+
* Decodes an event log using the provided ABI.
|
|
12358
|
+
*
|
|
12359
|
+
* @description
|
|
12360
|
+
* Parses raw log data and topics into a structured object containing
|
|
12361
|
+
* the event name and decoded parameters. Uses the first topic to identify
|
|
12362
|
+
* the event by its signature hash, then decodes remaining topics and data
|
|
12363
|
+
* according to the event's ABI definition.
|
|
12364
|
+
*
|
|
12365
|
+
* This function never throws exceptions. Instead, it returns an Effect
|
|
12366
|
+
* that may fail with an `AbiItemNotFoundError` if no matching event
|
|
12367
|
+
* is found in the provided ABI, or an `AbiDecodingError` if the log
|
|
12368
|
+
* data cannot be decoded.
|
|
12369
|
+
*
|
|
12370
|
+
* @param {AbiInput} abi - The contract ABI containing event definitions.
|
|
12371
|
+
* Can be a JSON ABI array or parsed ABI object.
|
|
12372
|
+
* @param {LogInput} log - The log data with topics to decode.
|
|
12373
|
+
* Must include at least one topic (the event signature).
|
|
12374
|
+
*
|
|
12375
|
+
* @returns {Effect.Effect<{ event: string; params: Record<string, unknown> }, AbiItemNotFoundError | AbiDecodingError>}
|
|
12376
|
+
* Effect yielding an object with:
|
|
12377
|
+
* - `event`: The name of the matched event
|
|
12378
|
+
* - `params`: Record of parameter names to decoded values
|
|
12379
|
+
* Or failing with `AbiItemNotFoundError` if event not found.
|
|
12380
|
+
*
|
|
12381
|
+
* @throws {AbiItemNotFoundError} When no event in the ABI matches the log's topic signature.
|
|
12382
|
+
*
|
|
12383
|
+
* @example
|
|
12384
|
+
* ```typescript
|
|
12385
|
+
* import * as Effect from 'effect/Effect'
|
|
12386
|
+
* import { decodeEventLog } from 'voltaire-effect/primitives/Abi'
|
|
12387
|
+
*
|
|
12388
|
+
* const erc20Abi = [
|
|
12389
|
+
* {
|
|
12390
|
+
* type: 'event',
|
|
12391
|
+
* name: 'Transfer',
|
|
12392
|
+
* inputs: [
|
|
12393
|
+
* { name: 'from', type: 'address', indexed: true },
|
|
12394
|
+
* { name: 'to', type: 'address', indexed: true },
|
|
12395
|
+
* { name: 'value', type: 'uint256', indexed: false }
|
|
12396
|
+
* ]
|
|
12397
|
+
* }
|
|
12398
|
+
* ]
|
|
12399
|
+
*
|
|
12400
|
+
* const result = await Effect.runPromise(decodeEventLog(erc20Abi, {
|
|
12401
|
+
* data: '0x0000000000000000000000000000000000000000000000000de0b6b3a7640000',
|
|
12402
|
+
* topics: [
|
|
12403
|
+
* '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
12404
|
+
* '0x000000000000000000000000abc...',
|
|
12405
|
+
* '0x000000000000000000000000def...'
|
|
12406
|
+
* ]
|
|
12407
|
+
* }))
|
|
12408
|
+
*
|
|
12409
|
+
* console.log(result.event) // 'Transfer'
|
|
12410
|
+
* console.log(result.params) // { from: '0xabc...', to: '0xdef...', value: 1000000000000000000n }
|
|
12411
|
+
* ```
|
|
12412
|
+
*
|
|
12413
|
+
* @example
|
|
12414
|
+
* ```typescript
|
|
12415
|
+
* // Handle unknown events gracefully
|
|
12416
|
+
* const decoded = await Effect.runPromise(
|
|
12417
|
+
* decodeEventLog(abi, log).pipe(
|
|
12418
|
+
* Effect.catchTag('AbiItemNotFoundError', (e) =>
|
|
12419
|
+
* Effect.succeed({ event: 'Unknown', params: {} })
|
|
12420
|
+
* )
|
|
12421
|
+
* )
|
|
12422
|
+
* )
|
|
12423
|
+
* ```
|
|
12424
|
+
*
|
|
12425
|
+
* @since 0.0.1
|
|
12426
|
+
* @see {@link getEvent} for retrieving event definitions by name
|
|
12427
|
+
*/
|
|
12428
|
+
declare const decodeEventLog: (abi: AbiInput$e, log: LogInput) => Effect.Effect<{
|
|
12429
|
+
event: string;
|
|
12430
|
+
params: Record<string, unknown>;
|
|
12431
|
+
}, AbiItemNotFoundError | AbiDecodingError>;
|
|
12432
|
+
|
|
12433
|
+
/**
|
|
12434
|
+
* @fileoverview Encodes event log topics.
|
|
12435
|
+
* Provides Effect-based wrapper for encoding event topics.
|
|
12436
|
+
*
|
|
12437
|
+
* @module Abi/encodeEventLog
|
|
12438
|
+
* @since 0.0.1
|
|
12439
|
+
*/
|
|
12440
|
+
|
|
12441
|
+
/**
|
|
12442
|
+
* Represents a single ABI item.
|
|
12443
|
+
* @internal
|
|
12444
|
+
*/
|
|
12445
|
+
type AbiItem$2 = {
|
|
12446
|
+
type: string;
|
|
12447
|
+
name?: string;
|
|
12448
|
+
};
|
|
12449
|
+
/**
|
|
12450
|
+
* Type alias for ABI input.
|
|
12451
|
+
* @internal
|
|
12452
|
+
*/
|
|
12453
|
+
type AbiInput$d = readonly AbiItem$2[];
|
|
12454
|
+
/**
|
|
12455
|
+
* Encodes event log topics.
|
|
12456
|
+
*
|
|
12457
|
+
* @description
|
|
12458
|
+
* Encodes indexed event parameters as topics for filtering logs.
|
|
12459
|
+
* Returns the event selector as topic0 followed by encoded indexed parameters.
|
|
12460
|
+
* Null topics indicate a wildcard match in log filters.
|
|
12461
|
+
*
|
|
12462
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12463
|
+
* @param {string} eventName - The event name.
|
|
12464
|
+
* @param {readonly unknown[]} indexedArgs - The indexed parameter values.
|
|
12465
|
+
* @returns {Effect.Effect<readonly (HexType | null)[], AbiItemNotFoundError | AbiEncodingError>}
|
|
12466
|
+
* Effect yielding the encoded topics array.
|
|
12467
|
+
*
|
|
12468
|
+
* @example
|
|
12469
|
+
* ```typescript
|
|
12470
|
+
* import * as Effect from 'effect/Effect'
|
|
12471
|
+
* import { encodeEventLog } from 'voltaire-effect/primitives/Abi'
|
|
12472
|
+
*
|
|
12473
|
+
* const topics = await Effect.runPromise(
|
|
12474
|
+
* encodeEventLog(abi, 'Transfer', [from, to])
|
|
12475
|
+
* )
|
|
12476
|
+
* ```
|
|
12477
|
+
*
|
|
12478
|
+
* @since 0.0.1
|
|
12479
|
+
*/
|
|
12480
|
+
declare const encodeEventLog: (abi: AbiInput$d, eventName: string, indexedArgs: readonly unknown[]) => Effect.Effect<readonly (HexType | null)[], AbiItemNotFoundError | AbiEncodingError>;
|
|
12481
|
+
|
|
12482
|
+
/**
|
|
12483
|
+
* @fileoverview Decodes function call data using ABI.
|
|
12484
|
+
* Provides Effect-based wrapper for parsing encoded calldata.
|
|
12485
|
+
*
|
|
12486
|
+
* @module Abi/decodeFunction
|
|
12487
|
+
* @since 0.0.1
|
|
12488
|
+
*/
|
|
12489
|
+
|
|
12490
|
+
/**
|
|
12491
|
+
* Type alias for ABI input.
|
|
12492
|
+
* @internal
|
|
12493
|
+
*/
|
|
12494
|
+
type AbiInput$c = readonly ItemType[];
|
|
12495
|
+
/**
|
|
12496
|
+
* Decodes function call data using ABI.
|
|
12497
|
+
*
|
|
12498
|
+
* @description
|
|
12499
|
+
* Parses encoded calldata to extract the function name and decoded parameters.
|
|
12500
|
+
* The data must start with a 4-byte function selector.
|
|
12501
|
+
*
|
|
12502
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12503
|
+
* @param {HexType | Uint8Array} data - The encoded function call data.
|
|
12504
|
+
* @returns {Effect.Effect<{ name: string; params: readonly unknown[] }, AbiItemNotFoundError | AbiInvalidSelectorError | AbiDecodingError>}
|
|
12505
|
+
* Effect yielding the function name and decoded parameters.
|
|
12506
|
+
*
|
|
12507
|
+
* @example
|
|
12508
|
+
* ```typescript
|
|
12509
|
+
* import * as Effect from 'effect/Effect'
|
|
12510
|
+
* import { decodeFunction } from 'voltaire-effect/primitives/Abi'
|
|
12511
|
+
*
|
|
12512
|
+
* const decoded = await Effect.runPromise(
|
|
12513
|
+
* decodeFunction(abi, '0xa9059cbb...')
|
|
12514
|
+
* )
|
|
12515
|
+
* console.log(decoded.name) // 'transfer'
|
|
12516
|
+
* console.log(decoded.params) // ['0x...', 100n]
|
|
12517
|
+
* ```
|
|
12518
|
+
*
|
|
12519
|
+
* @since 0.0.1
|
|
12520
|
+
*/
|
|
12521
|
+
declare const decodeFunction: (abi: AbiInput$c, data: HexType | Uint8Array) => Effect.Effect<{
|
|
12522
|
+
name: string;
|
|
12523
|
+
params: readonly unknown[];
|
|
12524
|
+
}, AbiItemNotFoundError | AbiInvalidSelectorError$1 | AbiDecodingError>;
|
|
12525
|
+
|
|
12526
|
+
/**
|
|
12527
|
+
* @fileoverview Decodes Ethereum function call data (calldata) using ABI definitions.
|
|
12528
|
+
* Provides Effect-based wrapper for parsing calldata into function name and parameters.
|
|
12529
|
+
*
|
|
12530
|
+
* @module Abi/decodeFunctionData
|
|
12531
|
+
* @since 0.0.1
|
|
12532
|
+
*/
|
|
12533
|
+
|
|
12534
|
+
/**
|
|
12535
|
+
* Type alias for ABI input accepted by the decoder.
|
|
12536
|
+
* @internal
|
|
12537
|
+
*/
|
|
12538
|
+
type AbiInput$b = readonly ItemType[];
|
|
12539
|
+
/**
|
|
12540
|
+
* Decodes function call data using the provided ABI.
|
|
12541
|
+
*
|
|
12542
|
+
* @description
|
|
12543
|
+
* Parses encoded calldata to extract the function name and decoded parameters.
|
|
12544
|
+
* The calldata consists of a 4-byte function selector followed by ABI-encoded
|
|
12545
|
+
* arguments. This function identifies the function by its selector and decodes
|
|
12546
|
+
* the arguments according to the function's input types.
|
|
12547
|
+
*
|
|
12548
|
+
* This function never throws exceptions. Instead, it returns an Effect that
|
|
12549
|
+
* may fail with one of several error types depending on what went wrong.
|
|
12550
|
+
*
|
|
12551
|
+
* @param {AbiInput} abi - The contract ABI containing function definitions.
|
|
12552
|
+
* Can be a JSON ABI array or parsed ABI object.
|
|
12553
|
+
* @param {HexType | Uint8Array} data - The encoded function calldata as hex string or bytes.
|
|
12554
|
+
* Must be at least 4 bytes (the selector).
|
|
12555
|
+
*
|
|
12556
|
+
* @returns {Effect.Effect<{ name: string; params: readonly unknown[] }, AbiItemNotFoundError | AbiInvalidSelectorError | AbiDecodingError>}
|
|
12557
|
+
* Effect yielding an object with:
|
|
12558
|
+
* - `name`: The name of the matched function
|
|
12559
|
+
* - `params`: Array of decoded parameter values in order
|
|
12560
|
+
* Or failing with one of:
|
|
12561
|
+
* - `AbiItemNotFoundError`: No function matches the selector
|
|
12562
|
+
* - `AbiInvalidSelectorError`: Invalid or malformed selector
|
|
12563
|
+
* - `AbiDecodingError`: Failed to decode the parameters
|
|
12564
|
+
*
|
|
12565
|
+
* @throws {AbiItemNotFoundError} When no function in the ABI matches the calldata selector.
|
|
12566
|
+
* @throws {AbiInvalidSelectorError} When the calldata is too short or has invalid selector.
|
|
12567
|
+
* @throws {AbiDecodingError} When parameter decoding fails (wrong types, insufficient data).
|
|
12568
|
+
*
|
|
12569
|
+
* @example
|
|
12570
|
+
* ```typescript
|
|
12571
|
+
* import * as Effect from 'effect/Effect'
|
|
12572
|
+
* import { decodeFunctionData } from 'voltaire-effect/primitives/Abi'
|
|
12573
|
+
*
|
|
12574
|
+
* const erc20Abi = [
|
|
12575
|
+
* {
|
|
12576
|
+
* type: 'function',
|
|
12577
|
+
* name: 'transfer',
|
|
12578
|
+
* inputs: [
|
|
12579
|
+
* { name: 'to', type: 'address' },
|
|
12580
|
+
* { name: 'amount', type: 'uint256' }
|
|
12581
|
+
* ],
|
|
12582
|
+
* outputs: [{ type: 'bool' }]
|
|
12583
|
+
* }
|
|
12584
|
+
* ]
|
|
12585
|
+
*
|
|
12586
|
+
* // Decode a transfer call
|
|
12587
|
+
* const result = await Effect.runPromise(
|
|
12588
|
+
* decodeFunctionData(erc20Abi, '0xa9059cbb000000000000000000000000...')
|
|
12589
|
+
* )
|
|
12590
|
+
* console.log(result.name) // 'transfer'
|
|
12591
|
+
* console.log(result.params) // ['0x...recipient', 1000000n]
|
|
12592
|
+
* ```
|
|
12593
|
+
*
|
|
12594
|
+
* @example
|
|
12595
|
+
* ```typescript
|
|
12596
|
+
* // Handle decoding errors
|
|
12597
|
+
* const decoded = await Effect.runPromise(
|
|
12598
|
+
* decodeFunctionData(abi, calldata).pipe(
|
|
12599
|
+
* Effect.catchTags({
|
|
12600
|
+
* AbiItemNotFoundError: () => Effect.succeed({ name: 'unknown', params: [] }),
|
|
12601
|
+
* AbiInvalidSelectorError: () => Effect.fail(new Error('Invalid calldata')),
|
|
12602
|
+
* AbiDecodingError: (e) => Effect.fail(new Error(`Decode failed: ${e.message}`))
|
|
12603
|
+
* })
|
|
12604
|
+
* )
|
|
12605
|
+
* )
|
|
12606
|
+
* ```
|
|
12607
|
+
*
|
|
12608
|
+
* @since 0.0.1
|
|
12609
|
+
* @see {@link encodeFunctionData} for encoding function calls
|
|
12610
|
+
* @see {@link getFunction} for retrieving function definitions by name
|
|
12611
|
+
*/
|
|
12612
|
+
declare const decodeFunctionData: (abi: AbiInput$b, data: HexType | Uint8Array) => Effect.Effect<{
|
|
12613
|
+
name: string;
|
|
12614
|
+
params: readonly unknown[];
|
|
12615
|
+
}, AbiItemNotFoundError | AbiInvalidSelectorError$1 | AbiDecodingError>;
|
|
12616
|
+
|
|
12617
|
+
/**
|
|
12618
|
+
* @fileoverview Decodes Ethereum function return data using ABI definitions.
|
|
12619
|
+
* Provides Effect-based wrapper for parsing function call return values.
|
|
12620
|
+
*
|
|
12621
|
+
* @module Abi/decodeFunctionResult
|
|
12622
|
+
* @since 0.0.1
|
|
12623
|
+
*/
|
|
12624
|
+
|
|
12625
|
+
/**
|
|
12626
|
+
* Represents a single ABI item with type and optional name.
|
|
12627
|
+
* @internal
|
|
12628
|
+
*/
|
|
12629
|
+
type AbiItem$1 = {
|
|
12630
|
+
type: string;
|
|
12631
|
+
name?: string;
|
|
12632
|
+
};
|
|
12633
|
+
/**
|
|
12634
|
+
* Type alias for ABI input accepted by the decoder.
|
|
12635
|
+
* @internal
|
|
12636
|
+
*/
|
|
12637
|
+
type AbiInput$a = readonly AbiItem$1[];
|
|
12638
|
+
/**
|
|
12639
|
+
* Decodes the return value of a function call using the provided ABI.
|
|
12640
|
+
*
|
|
12641
|
+
* @description
|
|
12642
|
+
* Parses the ABI-encoded return data from a contract call into an array of
|
|
12643
|
+
* decoded values. The function looks up the named function in the ABI to
|
|
12644
|
+
* determine the expected output types, then decodes the data accordingly.
|
|
12645
|
+
*
|
|
12646
|
+
* This is typically used after making an `eth_call` or similar RPC request
|
|
12647
|
+
* to interpret the raw bytes returned by the contract.
|
|
12648
|
+
*
|
|
12649
|
+
* This function never throws exceptions. Instead, it returns an Effect that
|
|
12650
|
+
* may fail with typed errors.
|
|
12651
|
+
*
|
|
12652
|
+
* @param {AbiInput} abi - The contract ABI containing function definitions.
|
|
12653
|
+
* Must be an array of ABI items including the target function.
|
|
12654
|
+
* @param {string} functionName - The name of the function whose result to decode.
|
|
12655
|
+
* Must exactly match a function name in the ABI.
|
|
12656
|
+
* @param {HexType | Uint8Array} data - The encoded return data as hex string or bytes.
|
|
12657
|
+
* This is the raw data returned from the contract call.
|
|
12658
|
+
*
|
|
12659
|
+
* @returns {Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError>}
|
|
12660
|
+
* Effect yielding an array of decoded return values in order.
|
|
12661
|
+
* For functions with single return value, array has one element.
|
|
12662
|
+
* For functions with multiple returns, array has multiple elements.
|
|
12663
|
+
* Or failing with:
|
|
12664
|
+
* - `AbiItemNotFoundError`: Function not found in ABI
|
|
12665
|
+
* - `AbiDecodingError`: Failed to decode the return data
|
|
12666
|
+
*
|
|
12667
|
+
* @throws {AbiItemNotFoundError} When the function name is not found in the ABI.
|
|
12668
|
+
* @throws {AbiDecodingError} When return data decoding fails (wrong types, insufficient data).
|
|
12669
|
+
*
|
|
12670
|
+
* @example
|
|
12671
|
+
* ```typescript
|
|
12672
|
+
* import * as Effect from 'effect/Effect'
|
|
12673
|
+
* import { decodeFunctionResult } from 'voltaire-effect/primitives/Abi'
|
|
12674
|
+
*
|
|
12675
|
+
* const erc20Abi = [
|
|
12676
|
+
* {
|
|
12677
|
+
* type: 'function',
|
|
12678
|
+
* name: 'balanceOf',
|
|
12679
|
+
* inputs: [{ name: 'account', type: 'address' }],
|
|
12680
|
+
* outputs: [{ type: 'uint256' }]
|
|
12681
|
+
* }
|
|
12682
|
+
* ]
|
|
12683
|
+
*
|
|
12684
|
+
* // Decode balanceOf return value
|
|
12685
|
+
* const returnData = '0x0000000000000000000000000000000000000000000000000de0b6b3a7640000'
|
|
12686
|
+
* const result = await Effect.runPromise(
|
|
12687
|
+
* decodeFunctionResult(erc20Abi, 'balanceOf', returnData)
|
|
12688
|
+
* )
|
|
12689
|
+
* console.log(result[0]) // 1000000000000000000n (1 ETH in wei)
|
|
12690
|
+
* ```
|
|
12691
|
+
*
|
|
12692
|
+
* @example
|
|
12693
|
+
* ```typescript
|
|
12694
|
+
* // Function with multiple return values
|
|
12695
|
+
* const pairAbi = [
|
|
12696
|
+
* {
|
|
12697
|
+
* type: 'function',
|
|
12698
|
+
* name: 'getReserves',
|
|
12699
|
+
* inputs: [],
|
|
12700
|
+
* outputs: [
|
|
12701
|
+
* { name: 'reserve0', type: 'uint112' },
|
|
12702
|
+
* { name: 'reserve1', type: 'uint112' },
|
|
12703
|
+
* { name: 'blockTimestampLast', type: 'uint32' }
|
|
12704
|
+
* ]
|
|
12705
|
+
* }
|
|
12706
|
+
* ]
|
|
12707
|
+
*
|
|
12708
|
+
* const result = await Effect.runPromise(
|
|
12709
|
+
* decodeFunctionResult(pairAbi, 'getReserves', returnData)
|
|
12710
|
+
* )
|
|
12711
|
+
* const [reserve0, reserve1, timestamp] = result
|
|
12712
|
+
* ```
|
|
12713
|
+
*
|
|
12714
|
+
* @example
|
|
12715
|
+
* ```typescript
|
|
12716
|
+
* // Handle errors gracefully
|
|
12717
|
+
* const decoded = await Effect.runPromise(
|
|
12718
|
+
* decodeFunctionResult(abi, 'unknownFn', data).pipe(
|
|
12719
|
+
* Effect.catchTag('AbiItemNotFoundError', () =>
|
|
12720
|
+
* Effect.fail(new Error('Function not in ABI'))
|
|
12721
|
+
* )
|
|
12722
|
+
* )
|
|
12723
|
+
* )
|
|
12724
|
+
* ```
|
|
12725
|
+
*
|
|
12726
|
+
* @since 0.0.1
|
|
12727
|
+
* @see {@link decodeFunctionData} for decoding function calldata
|
|
12728
|
+
* @see {@link encodeFunctionData} for encoding function calls
|
|
12729
|
+
*/
|
|
12730
|
+
declare const decodeFunctionResult: (abi: AbiInput$a, functionName: string, data: HexType | Uint8Array) => Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError>;
|
|
12731
|
+
|
|
12732
|
+
/**
|
|
12733
|
+
* @fileoverview Encodes function call data from ABI by function name.
|
|
12734
|
+
* Provides Effect-based wrapper for creating encoded calldata.
|
|
12735
|
+
*
|
|
12736
|
+
* @module Abi/encodeFunction
|
|
12737
|
+
* @since 0.0.1
|
|
12738
|
+
*/
|
|
12739
|
+
|
|
12740
|
+
/**
|
|
12741
|
+
* Type alias for ABI input.
|
|
12742
|
+
* @internal
|
|
12743
|
+
*/
|
|
12744
|
+
type AbiInput$9 = readonly ItemType[];
|
|
12745
|
+
/**
|
|
12746
|
+
* Encodes function call data from ABI by function name.
|
|
12747
|
+
*
|
|
12748
|
+
* @description
|
|
12749
|
+
* Creates encoded calldata for invoking a contract function. The result
|
|
12750
|
+
* is a hex string consisting of a 4-byte function selector followed by
|
|
12751
|
+
* ABI-encoded arguments.
|
|
12752
|
+
*
|
|
12753
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12754
|
+
* @param {string} functionName - The function name to encode.
|
|
12755
|
+
* @param {readonly unknown[]} args - The function arguments.
|
|
12756
|
+
* @returns {Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>}
|
|
12757
|
+
* Effect yielding encoded calldata as hex string.
|
|
12758
|
+
*
|
|
12759
|
+
* @example
|
|
12760
|
+
* ```typescript
|
|
12761
|
+
* import * as Effect from 'effect/Effect'
|
|
12762
|
+
* import { encodeFunction } from 'voltaire-effect/primitives/Abi'
|
|
12763
|
+
*
|
|
12764
|
+
* const calldata = await Effect.runPromise(
|
|
12765
|
+
* encodeFunction(abi, 'transfer', [to, amount])
|
|
12766
|
+
* )
|
|
12767
|
+
* ```
|
|
12768
|
+
*
|
|
12769
|
+
* @since 0.0.1
|
|
12770
|
+
*/
|
|
12771
|
+
declare const encodeFunction: (abi: AbiInput$9, functionName: string, args: readonly unknown[]) => Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>;
|
|
12772
|
+
|
|
12773
|
+
/**
|
|
12774
|
+
* @fileoverview Encodes Ethereum function call data (calldata) using ABI definitions.
|
|
12775
|
+
* Provides Effect-based wrapper for creating encoded calldata for contract calls.
|
|
12776
|
+
*
|
|
12777
|
+
* @module Abi/encodeFunctionData
|
|
12778
|
+
* @since 0.0.1
|
|
12779
|
+
*/
|
|
12780
|
+
|
|
12781
|
+
/**
|
|
12782
|
+
* Type alias for ABI input accepted by the encoder.
|
|
12783
|
+
* @internal
|
|
12784
|
+
*/
|
|
12785
|
+
type AbiInput$8 = readonly ItemType[];
|
|
12786
|
+
/**
|
|
12787
|
+
* Encodes function call data using the provided ABI.
|
|
12788
|
+
*
|
|
12789
|
+
* @description
|
|
12790
|
+
* Creates encoded calldata for invoking a contract function. The result
|
|
12791
|
+
* is a hex string consisting of a 4-byte function selector followed by
|
|
12792
|
+
* ABI-encoded arguments. This calldata can be used directly in a transaction
|
|
12793
|
+
* or `eth_call` request.
|
|
12794
|
+
*
|
|
12795
|
+
* This function never throws exceptions. Instead, it returns an Effect that
|
|
12796
|
+
* may fail with typed errors if the function is not found or arguments
|
|
12797
|
+
* cannot be encoded.
|
|
12798
|
+
*
|
|
12799
|
+
* @param {AbiInput} abi - The contract ABI containing function definitions.
|
|
12800
|
+
* Can be a JSON ABI array or parsed ABI object.
|
|
12801
|
+
* @param {string} functionName - The name of the function to encode.
|
|
12802
|
+
* Must exactly match a function name in the ABI.
|
|
12803
|
+
* @param {readonly unknown[]} args - The function arguments to encode.
|
|
12804
|
+
* Must match the function's input types in order.
|
|
12805
|
+
*
|
|
12806
|
+
* @returns {Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>}
|
|
12807
|
+
* Effect yielding encoded calldata as hex string starting with '0x'.
|
|
12808
|
+
* Or failing with:
|
|
12809
|
+
* - `AbiItemNotFoundError`: Function not found in ABI
|
|
12810
|
+
* - `AbiEncodingError`: Failed to encode the arguments
|
|
12811
|
+
*
|
|
12812
|
+
* @throws {AbiItemNotFoundError} When the function name is not found in the ABI.
|
|
12813
|
+
* @throws {AbiEncodingError} When argument encoding fails (wrong types, invalid values).
|
|
12814
|
+
*
|
|
12815
|
+
* @example
|
|
12816
|
+
* ```typescript
|
|
12817
|
+
* import * as Effect from 'effect/Effect'
|
|
12818
|
+
* import { encodeFunctionData } from 'voltaire-effect/primitives/Abi'
|
|
12819
|
+
*
|
|
12820
|
+
* const erc20Abi = [
|
|
12821
|
+
* {
|
|
12822
|
+
* type: 'function',
|
|
12823
|
+
* name: 'transfer',
|
|
12824
|
+
* inputs: [
|
|
12825
|
+
* { name: 'to', type: 'address' },
|
|
12826
|
+
* { name: 'amount', type: 'uint256' }
|
|
12827
|
+
* ],
|
|
12828
|
+
* outputs: [{ type: 'bool' }]
|
|
12829
|
+
* }
|
|
12830
|
+
* ]
|
|
12831
|
+
*
|
|
12832
|
+
* // Encode a transfer call
|
|
12833
|
+
* const calldata = await Effect.runPromise(
|
|
12834
|
+
* encodeFunctionData(erc20Abi, 'transfer', [
|
|
12835
|
+
* '0x742d35Cc6634C0532925a3b844Bc9e7595f251e3',
|
|
12836
|
+
* 1000000000000000000n // 1 token
|
|
12837
|
+
* ])
|
|
12838
|
+
* )
|
|
12839
|
+
* // Returns: 0xa9059cbb000000000000000000000000742d35cc6634c0532925a3b844bc9e7595f251e3...
|
|
12840
|
+
* ```
|
|
12841
|
+
*
|
|
12842
|
+
* @example
|
|
12843
|
+
* ```typescript
|
|
12844
|
+
* // Handle encoding errors
|
|
12845
|
+
* const calldata = await Effect.runPromise(
|
|
12846
|
+
* encodeFunctionData(abi, 'unknownFn', []).pipe(
|
|
12847
|
+
* Effect.catchTag('AbiItemNotFoundError', () =>
|
|
12848
|
+
* Effect.fail(new Error('Function not found'))
|
|
12849
|
+
* ),
|
|
12850
|
+
* Effect.catchTag('AbiEncodingError', (e) =>
|
|
12851
|
+
* Effect.fail(new Error(`Encoding failed: ${e.message}`))
|
|
12852
|
+
* )
|
|
12853
|
+
* )
|
|
12854
|
+
* )
|
|
12855
|
+
* ```
|
|
12856
|
+
*
|
|
12857
|
+
* @example
|
|
12858
|
+
* ```typescript
|
|
12859
|
+
* // Use with transaction sending
|
|
12860
|
+
* const calldata = await Effect.runPromise(
|
|
12861
|
+
* encodeFunctionData(abi, 'approve', [spender, amount])
|
|
12862
|
+
* )
|
|
12863
|
+
* const tx = { to: tokenAddress, data: calldata }
|
|
12864
|
+
* ```
|
|
12865
|
+
*
|
|
12866
|
+
* @since 0.0.1
|
|
12867
|
+
* @see {@link decodeFunctionData} for decoding function calldata
|
|
12868
|
+
* @see {@link decodeFunctionResult} for decoding return values
|
|
12869
|
+
* @see {@link getFunction} for retrieving function definitions by name
|
|
12870
|
+
*/
|
|
12871
|
+
declare const encodeFunctionData: (abi: AbiInput$8, functionName: string, args: readonly unknown[]) => Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>;
|
|
12872
|
+
|
|
12873
|
+
/**
|
|
12874
|
+
* @fileoverview Encodes function return values.
|
|
12875
|
+
* Provides Effect-based wrapper for encoding function output data.
|
|
12876
|
+
*
|
|
12877
|
+
* @module Abi/encodeFunctionResult
|
|
12878
|
+
* @since 0.0.1
|
|
12879
|
+
*/
|
|
12880
|
+
|
|
12881
|
+
/**
|
|
12882
|
+
* Represents a single ABI item.
|
|
12883
|
+
* @internal
|
|
12884
|
+
*/
|
|
12885
|
+
type AbiItem = {
|
|
12886
|
+
type: string;
|
|
12887
|
+
name?: string;
|
|
12888
|
+
};
|
|
12889
|
+
/**
|
|
12890
|
+
* Type alias for ABI input.
|
|
12891
|
+
* @internal
|
|
12892
|
+
*/
|
|
12893
|
+
type AbiInput$7 = readonly AbiItem[];
|
|
12894
|
+
/**
|
|
12895
|
+
* Encodes function return values.
|
|
12896
|
+
*
|
|
12897
|
+
* @description
|
|
12898
|
+
* Encodes values as function return data according to the function's
|
|
12899
|
+
* output specification in the ABI.
|
|
12900
|
+
*
|
|
12901
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12902
|
+
* @param {string} functionName - The function name.
|
|
12903
|
+
* @param {readonly unknown[]} values - The values to encode.
|
|
12904
|
+
* @returns {Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>}
|
|
12905
|
+
* Effect yielding the encoded return data.
|
|
12906
|
+
*
|
|
12907
|
+
* @example
|
|
12908
|
+
* ```typescript
|
|
12909
|
+
* import * as Effect from 'effect/Effect'
|
|
12910
|
+
* import { encodeFunctionResult } from 'voltaire-effect/primitives/Abi'
|
|
12911
|
+
*
|
|
12912
|
+
* const encoded = await Effect.runPromise(
|
|
12913
|
+
* encodeFunctionResult(abi, 'balanceOf', [1000n])
|
|
12914
|
+
* )
|
|
12915
|
+
* ```
|
|
12916
|
+
*
|
|
12917
|
+
* @since 0.0.1
|
|
12918
|
+
*/
|
|
12919
|
+
declare const encodeFunctionResult: (abi: AbiInput$7, functionName: string, values: readonly unknown[]) => Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>;
|
|
12920
|
+
|
|
12921
|
+
/**
|
|
12922
|
+
* @fileoverview Finds an error in an ABI by name.
|
|
12923
|
+
* Provides Effect-based wrapper for looking up errors.
|
|
12924
|
+
*
|
|
12925
|
+
* @module Abi/findError
|
|
12926
|
+
* @since 0.0.1
|
|
12927
|
+
*/
|
|
12928
|
+
|
|
12929
|
+
/**
|
|
12930
|
+
* Type alias for ABI input.
|
|
12931
|
+
* @internal
|
|
12932
|
+
*/
|
|
12933
|
+
type AbiInput$6 = readonly ItemType[];
|
|
12934
|
+
/**
|
|
12935
|
+
* Finds an error in an ABI by name.
|
|
12936
|
+
*
|
|
12937
|
+
* @description
|
|
12938
|
+
* Searches the ABI for an error with the given name.
|
|
12939
|
+
* Returns the error definition or undefined if not found.
|
|
12940
|
+
*
|
|
12941
|
+
* This is an infallible operation that always succeeds.
|
|
12942
|
+
*
|
|
12943
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12944
|
+
* @param {string} name - The error name to find.
|
|
12945
|
+
* @returns {Effect.Effect<AbiError.ErrorType | undefined, never>}
|
|
12946
|
+
* Effect yielding the error or undefined.
|
|
12947
|
+
*
|
|
12948
|
+
* @example
|
|
12949
|
+
* ```typescript
|
|
12950
|
+
* import * as Effect from 'effect/Effect'
|
|
12951
|
+
* import { findError } from 'voltaire-effect/primitives/Abi'
|
|
12952
|
+
*
|
|
12953
|
+
* const err = Effect.runSync(findError(abi, 'InsufficientBalance'))
|
|
12954
|
+
* if (err) {
|
|
12955
|
+
* console.log(err.inputs)
|
|
12956
|
+
* }
|
|
12957
|
+
* ```
|
|
12958
|
+
*
|
|
12959
|
+
* @since 0.0.1
|
|
12960
|
+
*/
|
|
12961
|
+
declare const findError: (abi: AbiInput$6, name: string) => Effect.Effect<Error$1.ErrorType | undefined, never>;
|
|
12962
|
+
|
|
12963
|
+
/**
|
|
12964
|
+
* @fileoverview Finds an event in an ABI by name.
|
|
12965
|
+
* Provides Effect-based wrapper for looking up events.
|
|
12966
|
+
*
|
|
12967
|
+
* @module Abi/findEvent
|
|
12968
|
+
* @since 0.0.1
|
|
12969
|
+
*/
|
|
12970
|
+
|
|
12971
|
+
/**
|
|
12972
|
+
* Type alias for ABI input.
|
|
12973
|
+
* @internal
|
|
12974
|
+
*/
|
|
12975
|
+
type AbiInput$5 = readonly ItemType[];
|
|
12976
|
+
/**
|
|
12977
|
+
* Finds an event in an ABI by name.
|
|
12978
|
+
*
|
|
12979
|
+
* @description
|
|
12980
|
+
* Searches the ABI for an event with the given name.
|
|
12981
|
+
* Returns the event definition or undefined if not found.
|
|
12982
|
+
*
|
|
12983
|
+
* This is an infallible operation that always succeeds.
|
|
12984
|
+
*
|
|
12985
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
12986
|
+
* @param {string} name - The event name to find.
|
|
12987
|
+
* @returns {Effect.Effect<Event.EventType | undefined, never>}
|
|
12988
|
+
* Effect yielding the event or undefined.
|
|
12989
|
+
*
|
|
12990
|
+
* @example
|
|
12991
|
+
* ```typescript
|
|
12992
|
+
* import * as Effect from 'effect/Effect'
|
|
12993
|
+
* import { findEvent } from 'voltaire-effect/primitives/Abi'
|
|
12994
|
+
*
|
|
12995
|
+
* const evt = Effect.runSync(findEvent(abi, 'Transfer'))
|
|
12996
|
+
* if (evt) {
|
|
12997
|
+
* console.log(evt.inputs)
|
|
12998
|
+
* }
|
|
12999
|
+
* ```
|
|
13000
|
+
*
|
|
13001
|
+
* @since 0.0.1
|
|
13002
|
+
*/
|
|
13003
|
+
declare const findEvent: (abi: AbiInput$5, name: string) => Effect.Effect<Event.EventType | undefined, never>;
|
|
13004
|
+
|
|
13005
|
+
/**
|
|
13006
|
+
* @fileoverview Finds a function in an ABI by name.
|
|
13007
|
+
* Provides Effect-based wrapper for looking up functions.
|
|
13008
|
+
*
|
|
13009
|
+
* @module Abi/findFunction
|
|
13010
|
+
* @since 0.0.1
|
|
13011
|
+
*/
|
|
13012
|
+
|
|
13013
|
+
/**
|
|
13014
|
+
* Type alias for ABI input.
|
|
13015
|
+
* @internal
|
|
13016
|
+
*/
|
|
13017
|
+
type AbiInput$4 = readonly ItemType[];
|
|
13018
|
+
/**
|
|
13019
|
+
* Finds a function in an ABI by name.
|
|
13020
|
+
*
|
|
13021
|
+
* @description
|
|
13022
|
+
* Searches the ABI for a function with the given name.
|
|
13023
|
+
* Returns the function definition or undefined if not found.
|
|
13024
|
+
*
|
|
13025
|
+
* This is an infallible operation that always succeeds.
|
|
13026
|
+
*
|
|
13027
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
13028
|
+
* @param {string} name - The function name to find.
|
|
13029
|
+
* @returns {Effect.Effect<AbiFunction.FunctionType | undefined, never>}
|
|
13030
|
+
* Effect yielding the function or undefined.
|
|
13031
|
+
*
|
|
13032
|
+
* @example
|
|
13033
|
+
* ```typescript
|
|
13034
|
+
* import * as Effect from 'effect/Effect'
|
|
13035
|
+
* import { findFunction } from 'voltaire-effect/primitives/Abi'
|
|
13036
|
+
*
|
|
13037
|
+
* const fn = Effect.runSync(findFunction(abi, 'transfer'))
|
|
13038
|
+
* if (fn) {
|
|
13039
|
+
* console.log(fn.inputs)
|
|
13040
|
+
* }
|
|
13041
|
+
* ```
|
|
13042
|
+
*
|
|
13043
|
+
* @since 0.0.1
|
|
13044
|
+
*/
|
|
13045
|
+
declare const findFunction: (abi: AbiInput$4, name: string) => Effect.Effect<Function.FunctionType | undefined, never>;
|
|
13046
|
+
|
|
13047
|
+
/**
|
|
13048
|
+
* @fileoverview Finds function selector collisions in an ABI.
|
|
13049
|
+
* Provides Effect-based wrapper for collision detection.
|
|
13050
|
+
*
|
|
13051
|
+
* @module Abi/findSelectorCollisions
|
|
13052
|
+
* @since 0.0.1
|
|
13053
|
+
*/
|
|
13054
|
+
|
|
13055
|
+
type AbiInput$3 = readonly ItemType[];
|
|
13056
|
+
/**
|
|
13057
|
+
* Selector collision information.
|
|
13058
|
+
*/
|
|
13059
|
+
interface SelectorCollision {
|
|
13060
|
+
selector: HexType;
|
|
13061
|
+
functions: readonly ItemType[];
|
|
13062
|
+
}
|
|
13063
|
+
/**
|
|
13064
|
+
* Finds function selector collisions in an ABI.
|
|
13065
|
+
*
|
|
13066
|
+
* @description
|
|
13067
|
+
* Detects when multiple functions in an ABI share the same 4-byte selector.
|
|
13068
|
+
* This can happen due to the birthday paradox with 4-byte hashes.
|
|
13069
|
+
*
|
|
13070
|
+
* @param {AbiInput} abi - The contract ABI to check.
|
|
13071
|
+
* @returns {Effect.Effect<readonly SelectorCollision[], never>}
|
|
13072
|
+
* Effect yielding array of collisions (empty if none).
|
|
13073
|
+
*
|
|
13074
|
+
* @example
|
|
13075
|
+
* ```typescript
|
|
13076
|
+
* import * as Effect from 'effect/Effect'
|
|
13077
|
+
* import { findSelectorCollisions } from 'voltaire-effect/primitives/Abi'
|
|
13078
|
+
*
|
|
13079
|
+
* const collisions = await Effect.runPromise(
|
|
13080
|
+
* findSelectorCollisions(abi)
|
|
13081
|
+
* )
|
|
13082
|
+
* if (collisions.length > 0) {
|
|
13083
|
+
* console.warn('Selector collisions detected:', collisions)
|
|
13084
|
+
* }
|
|
13085
|
+
* ```
|
|
13086
|
+
*
|
|
13087
|
+
* @since 0.0.1
|
|
13088
|
+
*/
|
|
13089
|
+
declare const findSelectorCollisions: (abi: AbiInput$3) => Effect.Effect<readonly SelectorCollision[], never>;
|
|
13090
|
+
/**
|
|
13091
|
+
* Checks if an ABI has any function selector collisions.
|
|
13092
|
+
*
|
|
13093
|
+
* @description
|
|
13094
|
+
* Quick check for the presence of selector collisions.
|
|
13095
|
+
*
|
|
13096
|
+
* @param {AbiInput} abi - The contract ABI to check.
|
|
13097
|
+
* @returns {Effect.Effect<boolean, never>}
|
|
13098
|
+
* Effect yielding true if collisions exist.
|
|
13099
|
+
*
|
|
13100
|
+
* @example
|
|
13101
|
+
* ```typescript
|
|
13102
|
+
* import * as Effect from 'effect/Effect'
|
|
13103
|
+
* import { hasSelectorCollisions } from 'voltaire-effect/primitives/Abi'
|
|
13104
|
+
*
|
|
13105
|
+
* const hasCollisions = await Effect.runPromise(
|
|
13106
|
+
* hasSelectorCollisions(abi)
|
|
13107
|
+
* )
|
|
13108
|
+
* ```
|
|
13109
|
+
*
|
|
13110
|
+
* @since 0.0.1
|
|
13111
|
+
*/
|
|
13112
|
+
declare const hasSelectorCollisions: (abi: AbiInput$3) => Effect.Effect<boolean, never>;
|
|
13113
|
+
|
|
13114
|
+
/**
|
|
13115
|
+
* @fileoverview Formats ABI item as human-readable string.
|
|
13116
|
+
* Provides Effect-based wrapper for ABI formatting.
|
|
13117
|
+
*
|
|
13118
|
+
* @module Abi/format
|
|
13119
|
+
* @since 0.0.1
|
|
13120
|
+
*/
|
|
13121
|
+
|
|
13122
|
+
/**
|
|
13123
|
+
* Formats an ABI item as a human-readable string.
|
|
13124
|
+
*
|
|
13125
|
+
* @description
|
|
13126
|
+
* Converts an ABI item to its canonical human-readable representation,
|
|
13127
|
+
* e.g., "function transfer(address to, uint256 amount) returns (bool)".
|
|
13128
|
+
*
|
|
13129
|
+
* This is an infallible operation that always succeeds.
|
|
13130
|
+
*
|
|
13131
|
+
* @param {object} item - The ABI item to format.
|
|
13132
|
+
* @returns {Effect.Effect<string, never>}
|
|
13133
|
+
* Effect yielding the formatted string.
|
|
13134
|
+
*
|
|
13135
|
+
* @example
|
|
13136
|
+
* ```typescript
|
|
13137
|
+
* import * as Effect from 'effect/Effect'
|
|
13138
|
+
* import { format } from 'voltaire-effect/primitives/Abi'
|
|
13139
|
+
*
|
|
13140
|
+
* const fn = { type: 'function', name: 'transfer', inputs: [...], outputs: [...] }
|
|
13141
|
+
* const formatted = Effect.runSync(format(fn))
|
|
13142
|
+
* // 'function transfer(address to, uint256 amount) returns (bool)'
|
|
13143
|
+
* ```
|
|
13144
|
+
*
|
|
13145
|
+
* @since 0.0.1
|
|
13146
|
+
*/
|
|
13147
|
+
declare const format: (item: Parameters<typeof Item$1.format>[0]) => Effect.Effect<string, never>;
|
|
13148
|
+
|
|
13149
|
+
/**
|
|
13150
|
+
* @fileoverview Formats ABI item with argument values.
|
|
13151
|
+
* Provides Effect-based wrapper for ABI formatting with args.
|
|
13152
|
+
*
|
|
13153
|
+
* @module Abi/formatWithArgs
|
|
13154
|
+
* @since 0.0.1
|
|
13155
|
+
*/
|
|
13156
|
+
|
|
13157
|
+
/**
|
|
13158
|
+
* Formats an ABI item with argument values.
|
|
13159
|
+
*
|
|
13160
|
+
* @description
|
|
13161
|
+
* Converts an ABI item to its human-readable representation with
|
|
13162
|
+
* actual argument values substituted, e.g.,
|
|
13163
|
+
* "function transfer(0x123..., 1000)".
|
|
13164
|
+
*
|
|
13165
|
+
* This is an infallible operation that always succeeds.
|
|
13166
|
+
*
|
|
13167
|
+
* @param {object} item - The ABI item to format.
|
|
13168
|
+
* @param {readonly unknown[]} args - The argument values.
|
|
13169
|
+
* @returns {Effect.Effect<string, never>}
|
|
13170
|
+
* Effect yielding the formatted string with args.
|
|
13171
|
+
*
|
|
13172
|
+
* @example
|
|
13173
|
+
* ```typescript
|
|
13174
|
+
* import * as Effect from 'effect/Effect'
|
|
13175
|
+
* import { formatWithArgs } from 'voltaire-effect/primitives/Abi'
|
|
13176
|
+
*
|
|
13177
|
+
* const fn = { type: 'function', name: 'transfer', inputs: [...] }
|
|
13178
|
+
* const formatted = Effect.runSync(formatWithArgs(fn, ['0x123...', 1000n]))
|
|
13179
|
+
* // 'function transfer(0x123..., 1000)'
|
|
13180
|
+
* ```
|
|
13181
|
+
*
|
|
13182
|
+
* @since 0.0.1
|
|
13183
|
+
*/
|
|
13184
|
+
declare const formatWithArgs: (item: Parameters<typeof Item$1.formatWithArgs>[0], args: readonly unknown[]) => Effect.Effect<string, never>;
|
|
13185
|
+
|
|
13186
|
+
/**
|
|
13187
|
+
* @fileoverview Gets the canonical signature of an error.
|
|
13188
|
+
* Provides Effect-based wrapper for getting error signatures.
|
|
13189
|
+
*
|
|
13190
|
+
* @module Abi/getErrorSignature
|
|
13191
|
+
* @since 0.0.1
|
|
13192
|
+
*/
|
|
13193
|
+
|
|
13194
|
+
/**
|
|
13195
|
+
* Gets the canonical signature of an error.
|
|
13196
|
+
*
|
|
13197
|
+
* @description
|
|
13198
|
+
* Returns the canonical string representation of an error signature,
|
|
13199
|
+
* e.g., "InsufficientBalance(uint256)".
|
|
13200
|
+
*
|
|
13201
|
+
* This is an infallible operation that always succeeds.
|
|
13202
|
+
*
|
|
13203
|
+
* @param {AbiError.ErrorType} error - The error ABI item.
|
|
13204
|
+
* @returns {Effect.Effect<string, never>}
|
|
13205
|
+
* Effect yielding the error signature string.
|
|
13206
|
+
*
|
|
13207
|
+
* @example
|
|
13208
|
+
* ```typescript
|
|
13209
|
+
* import * as Effect from 'effect/Effect'
|
|
13210
|
+
* import { getErrorSignature } from 'voltaire-effect/primitives/Abi'
|
|
13211
|
+
*
|
|
13212
|
+
* const err = { type: 'error', name: 'InsufficientBalance', inputs: [...] }
|
|
13213
|
+
* const sig = Effect.runSync(getErrorSignature(err))
|
|
13214
|
+
* // 'InsufficientBalance(uint256)'
|
|
13215
|
+
* ```
|
|
13216
|
+
*
|
|
13217
|
+
* @since 0.0.1
|
|
13218
|
+
*/
|
|
13219
|
+
declare const getErrorSignature: (error: Error$1.ErrorType) => Effect.Effect<string, never>;
|
|
13220
|
+
|
|
13221
|
+
/**
|
|
13222
|
+
* @fileoverview Retrieves event definitions from Ethereum ABI.
|
|
13223
|
+
* Provides Effect-based wrapper for looking up event ABI items by name.
|
|
13224
|
+
*
|
|
13225
|
+
* @module Abi/getEvent
|
|
13226
|
+
* @since 0.0.1
|
|
13227
|
+
*/
|
|
13228
|
+
|
|
13229
|
+
/**
|
|
13230
|
+
* Type alias for ABI input accepted by the lookup function.
|
|
13231
|
+
* @internal
|
|
13232
|
+
*/
|
|
13233
|
+
type AbiInput$2 = readonly ItemType[];
|
|
13234
|
+
/**
|
|
13235
|
+
* Retrieves an event definition from an ABI by name.
|
|
13236
|
+
*
|
|
13237
|
+
* @description
|
|
13238
|
+
* Looks up an event in the provided ABI by its name and returns the full
|
|
13239
|
+
* event definition including input parameters, indexed flags, and other
|
|
13240
|
+
* metadata. This is useful for programmatically working with events,
|
|
13241
|
+
* such as building log filters or decoding event parameters.
|
|
13242
|
+
*
|
|
13243
|
+
* This function never throws exceptions. Instead, it returns an Effect
|
|
13244
|
+
* that may fail with `AbiItemNotFoundError` if no event with the given
|
|
13245
|
+
* name exists in the ABI.
|
|
13246
|
+
*
|
|
13247
|
+
* @param {AbiInput} abi - The contract ABI containing event definitions.
|
|
13248
|
+
* Can be a JSON ABI array or parsed ABI object.
|
|
13249
|
+
* @param {string} name - The name of the event to retrieve.
|
|
13250
|
+
* Must exactly match an event name in the ABI (case-sensitive).
|
|
13251
|
+
*
|
|
13252
|
+
* @returns {Effect.Effect<AbiEvent.EventType, AbiItemNotFoundError>}
|
|
13253
|
+
* Effect yielding the event definition object containing:
|
|
13254
|
+
* - `type`: 'event'
|
|
13255
|
+
* - `name`: The event name
|
|
13256
|
+
* - `inputs`: Array of input parameters with types and indexed flags
|
|
13257
|
+
* Or failing with `AbiItemNotFoundError` if event not found.
|
|
13258
|
+
*
|
|
13259
|
+
* @throws {AbiItemNotFoundError} When no event with the given name exists in the ABI.
|
|
13260
|
+
*
|
|
13261
|
+
* @example
|
|
13262
|
+
* ```typescript
|
|
13263
|
+
* import * as Effect from 'effect/Effect'
|
|
13264
|
+
* import { getEvent } from 'voltaire-effect/primitives/Abi'
|
|
13265
|
+
*
|
|
13266
|
+
* const erc20Abi = [
|
|
13267
|
+
* {
|
|
13268
|
+
* type: 'event',
|
|
13269
|
+
* name: 'Transfer',
|
|
13270
|
+
* inputs: [
|
|
13271
|
+
* { name: 'from', type: 'address', indexed: true },
|
|
13272
|
+
* { name: 'to', type: 'address', indexed: true },
|
|
13273
|
+
* { name: 'value', type: 'uint256', indexed: false }
|
|
13274
|
+
* ]
|
|
13275
|
+
* }
|
|
13276
|
+
* ]
|
|
13277
|
+
*
|
|
13278
|
+
* const transferEvent = await Effect.runPromise(getEvent(erc20Abi, 'Transfer'))
|
|
13279
|
+
* console.log(transferEvent.inputs)
|
|
13280
|
+
* // [{ name: 'from', type: 'address', indexed: true }, ...]
|
|
13281
|
+
* ```
|
|
13282
|
+
*
|
|
13283
|
+
* @example
|
|
13284
|
+
* ```typescript
|
|
13285
|
+
* // Build a log filter from event definition
|
|
13286
|
+
* const event = await Effect.runPromise(getEvent(abi, 'Transfer'))
|
|
13287
|
+
* const signature = keccak256(
|
|
13288
|
+
* `${event.name}(${event.inputs.map(i => i.type).join(',')})`
|
|
13289
|
+
* )
|
|
13290
|
+
* ```
|
|
13291
|
+
*
|
|
13292
|
+
* @example
|
|
13293
|
+
* ```typescript
|
|
13294
|
+
* // Handle missing events
|
|
13295
|
+
* const event = await Effect.runPromise(
|
|
13296
|
+
* getEvent(abi, 'MaybeEvent').pipe(
|
|
13297
|
+
* Effect.catchTag('AbiItemNotFoundError', () =>
|
|
13298
|
+
* Effect.succeed(null)
|
|
13299
|
+
* )
|
|
13300
|
+
* )
|
|
13301
|
+
* )
|
|
13302
|
+
* ```
|
|
13303
|
+
*
|
|
13304
|
+
* @since 0.0.1
|
|
13305
|
+
* @see {@link decodeEventLog} for decoding event log data
|
|
13306
|
+
* @see {@link getFunction} for retrieving function definitions
|
|
13307
|
+
*/
|
|
13308
|
+
declare const getEvent: (abi: AbiInput$2, name: string) => Effect.Effect<Event.EventType, AbiItemNotFoundError>;
|
|
13309
|
+
|
|
13310
|
+
/**
|
|
13311
|
+
* @fileoverview Gets the canonical signature of an event.
|
|
13312
|
+
* Provides Effect-based wrapper for getting event signatures.
|
|
13313
|
+
*
|
|
13314
|
+
* @module Abi/getEventSignature
|
|
13315
|
+
* @since 0.0.1
|
|
13316
|
+
*/
|
|
13317
|
+
|
|
13318
|
+
/**
|
|
13319
|
+
* Gets the canonical signature of an event.
|
|
13320
|
+
*
|
|
13321
|
+
* @description
|
|
13322
|
+
* Returns the canonical string representation of an event signature,
|
|
13323
|
+
* e.g., "Transfer(address,address,uint256)".
|
|
13324
|
+
*
|
|
13325
|
+
* This is an infallible operation that always succeeds.
|
|
13326
|
+
*
|
|
13327
|
+
* @param {Event.EventType} event - The event ABI item.
|
|
13328
|
+
* @returns {Effect.Effect<string, never>}
|
|
13329
|
+
* Effect yielding the event signature string.
|
|
13330
|
+
*
|
|
13331
|
+
* @example
|
|
13332
|
+
* ```typescript
|
|
13333
|
+
* import * as Effect from 'effect/Effect'
|
|
13334
|
+
* import { getEventSignature } from 'voltaire-effect/primitives/Abi'
|
|
13335
|
+
*
|
|
13336
|
+
* const evt = { type: 'event', name: 'Transfer', inputs: [...] }
|
|
13337
|
+
* const sig = Effect.runSync(getEventSignature(evt))
|
|
13338
|
+
* // 'Transfer(address,address,uint256)'
|
|
13339
|
+
* ```
|
|
13340
|
+
*
|
|
13341
|
+
* @since 0.0.1
|
|
13342
|
+
*/
|
|
13343
|
+
declare const getEventSignature: (event: Event.EventType) => Effect.Effect<string, never>;
|
|
13344
|
+
|
|
13345
|
+
/**
|
|
13346
|
+
* @fileoverview Retrieves function definitions from Ethereum ABI.
|
|
13347
|
+
* Provides Effect-based wrapper for looking up function ABI items by name.
|
|
13348
|
+
*
|
|
13349
|
+
* @module Abi/getFunction
|
|
13350
|
+
* @since 0.0.1
|
|
13351
|
+
*/
|
|
13352
|
+
|
|
13353
|
+
/**
|
|
13354
|
+
* Type alias for ABI input accepted by the lookup function.
|
|
13355
|
+
* @internal
|
|
13356
|
+
*/
|
|
13357
|
+
type AbiInput$1 = readonly ItemType[];
|
|
13358
|
+
/**
|
|
13359
|
+
* Retrieves a function definition from an ABI by name.
|
|
13360
|
+
*
|
|
13361
|
+
* @description
|
|
13362
|
+
* Looks up a function in the provided ABI by its name and returns the full
|
|
13363
|
+
* function definition including input parameters, output parameters, and
|
|
13364
|
+
* state mutability. This is useful for programmatically working with functions,
|
|
13365
|
+
* such as building transaction data or validating call parameters.
|
|
13366
|
+
*
|
|
13367
|
+
* This function never throws exceptions. Instead, it returns an Effect
|
|
13368
|
+
* that may fail with `AbiItemNotFoundError` if no function with the given
|
|
13369
|
+
* name exists in the ABI.
|
|
13370
|
+
*
|
|
13371
|
+
* @param {AbiInput} abi - The contract ABI containing function definitions.
|
|
13372
|
+
* Can be a JSON ABI array or parsed ABI object.
|
|
13373
|
+
* @param {string} name - The name of the function to retrieve.
|
|
13374
|
+
* Must exactly match a function name in the ABI (case-sensitive).
|
|
13375
|
+
*
|
|
13376
|
+
* @returns {Effect.Effect<AbiFunction.FunctionType, AbiItemNotFoundError>}
|
|
13377
|
+
* Effect yielding the function definition object containing:
|
|
13378
|
+
* - `type`: 'function'
|
|
13379
|
+
* - `name`: The function name
|
|
13380
|
+
* - `inputs`: Array of input parameter definitions
|
|
13381
|
+
* - `outputs`: Array of output parameter definitions
|
|
13382
|
+
* - `stateMutability`: 'pure' | 'view' | 'nonpayable' | 'payable'
|
|
13383
|
+
* Or failing with `AbiItemNotFoundError` if function not found.
|
|
13384
|
+
*
|
|
13385
|
+
* @throws {AbiItemNotFoundError} When no function with the given name exists in the ABI.
|
|
13386
|
+
*
|
|
13387
|
+
* @example
|
|
13388
|
+
* ```typescript
|
|
13389
|
+
* import * as Effect from 'effect/Effect'
|
|
13390
|
+
* import { getFunction } from 'voltaire-effect/primitives/Abi'
|
|
13391
|
+
*
|
|
13392
|
+
* const erc20Abi = [
|
|
13393
|
+
* {
|
|
13394
|
+
* type: 'function',
|
|
13395
|
+
* name: 'transfer',
|
|
13396
|
+
* inputs: [
|
|
13397
|
+
* { name: 'to', type: 'address' },
|
|
13398
|
+
* { name: 'amount', type: 'uint256' }
|
|
13399
|
+
* ],
|
|
13400
|
+
* outputs: [{ type: 'bool' }],
|
|
13401
|
+
* stateMutability: 'nonpayable'
|
|
13402
|
+
* }
|
|
13403
|
+
* ]
|
|
13404
|
+
*
|
|
13405
|
+
* const transferFn = await Effect.runPromise(getFunction(erc20Abi, 'transfer'))
|
|
13406
|
+
* console.log(transferFn.inputs) // [{ name: 'to', type: 'address' }, ...]
|
|
13407
|
+
* console.log(transferFn.outputs) // [{ type: 'bool' }]
|
|
13408
|
+
* ```
|
|
13409
|
+
*
|
|
13410
|
+
* @example
|
|
13411
|
+
* ```typescript
|
|
13412
|
+
* // Check if function is view/pure (read-only)
|
|
13413
|
+
* const fn = await Effect.runPromise(getFunction(abi, 'balanceOf'))
|
|
13414
|
+
* const isReadOnly = fn.stateMutability === 'view' || fn.stateMutability === 'pure'
|
|
13415
|
+
* ```
|
|
13416
|
+
*
|
|
13417
|
+
* @example
|
|
13418
|
+
* ```typescript
|
|
13419
|
+
* // Handle missing functions
|
|
13420
|
+
* const fn = await Effect.runPromise(
|
|
13421
|
+
* getFunction(abi, 'maybeExists').pipe(
|
|
13422
|
+
* Effect.catchTag('AbiItemNotFoundError', () =>
|
|
13423
|
+
* Effect.succeed(null)
|
|
13424
|
+
* )
|
|
13425
|
+
* )
|
|
13426
|
+
* )
|
|
13427
|
+
* ```
|
|
13428
|
+
*
|
|
13429
|
+
* @since 0.0.1
|
|
13430
|
+
* @see {@link encodeFunctionData} for encoding function calls
|
|
13431
|
+
* @see {@link decodeFunctionData} for decoding function calldata
|
|
13432
|
+
* @see {@link decodeFunctionResult} for decoding function return values
|
|
13433
|
+
* @see {@link getEvent} for retrieving event definitions
|
|
13434
|
+
*/
|
|
13435
|
+
declare const getFunction: (abi: AbiInput$1, name: string) => Effect.Effect<Function.FunctionType, AbiItemNotFoundError>;
|
|
13436
|
+
|
|
13437
|
+
/**
|
|
13438
|
+
* @fileoverview Gets the canonical signature of a function.
|
|
13439
|
+
* Provides Effect-based wrapper for getting function signatures.
|
|
13440
|
+
*
|
|
13441
|
+
* @module Abi/getFunctionSignature
|
|
13442
|
+
* @since 0.0.1
|
|
13443
|
+
*/
|
|
13444
|
+
|
|
13445
|
+
/**
|
|
13446
|
+
* Gets the canonical signature of a function.
|
|
13447
|
+
*
|
|
13448
|
+
* @description
|
|
13449
|
+
* Returns the canonical string representation of a function signature,
|
|
13450
|
+
* e.g., "transfer(address,uint256)".
|
|
13451
|
+
*
|
|
13452
|
+
* This is an infallible operation that always succeeds.
|
|
13453
|
+
*
|
|
13454
|
+
* @param {AbiFunction.FunctionType} fn - The function ABI item.
|
|
13455
|
+
* @returns {Effect.Effect<string, never>}
|
|
13456
|
+
* Effect yielding the function signature string.
|
|
13457
|
+
*
|
|
13458
|
+
* @example
|
|
13459
|
+
* ```typescript
|
|
13460
|
+
* import * as Effect from 'effect/Effect'
|
|
13461
|
+
* import { getFunctionSignature } from 'voltaire-effect/primitives/Abi'
|
|
13462
|
+
*
|
|
13463
|
+
* const fn = { type: 'function', name: 'transfer', inputs: [...] }
|
|
13464
|
+
* const sig = Effect.runSync(getFunctionSignature(fn))
|
|
13465
|
+
* // 'transfer(address,uint256)'
|
|
13466
|
+
* ```
|
|
13467
|
+
*
|
|
13468
|
+
* @since 0.0.1
|
|
13469
|
+
*/
|
|
13470
|
+
declare const getFunctionSignature: (fn: Function.FunctionType) => Effect.Effect<string, never>;
|
|
13471
|
+
|
|
13472
|
+
/**
|
|
13473
|
+
* @fileoverview Gets function/event/error selector.
|
|
13474
|
+
* Provides Effect-based wrapper for computing selectors.
|
|
13475
|
+
*
|
|
13476
|
+
* @module Abi/getSelector
|
|
13477
|
+
* @since 0.0.1
|
|
13478
|
+
*/
|
|
13479
|
+
|
|
13480
|
+
/**
|
|
13481
|
+
* Gets the selector for a function, event, or error ABI item.
|
|
13482
|
+
*
|
|
13483
|
+
* @description
|
|
13484
|
+
* Computes the selector (first 4 bytes of keccak256 for functions/errors,
|
|
13485
|
+
* full 32 bytes for events) from an ABI item.
|
|
13486
|
+
*
|
|
13487
|
+
* This is an infallible operation that always succeeds.
|
|
13488
|
+
*
|
|
13489
|
+
* @param {object} item - The ABI item (function, event, or error).
|
|
13490
|
+
* @returns {Effect.Effect<HexType, never>}
|
|
13491
|
+
* Effect yielding the selector as hex string.
|
|
13492
|
+
*
|
|
13493
|
+
* @example
|
|
13494
|
+
* ```typescript
|
|
13495
|
+
* import * as Effect from 'effect/Effect'
|
|
13496
|
+
* import { getSelector } from 'voltaire-effect/primitives/Abi'
|
|
13497
|
+
*
|
|
13498
|
+
* const fn = { type: 'function', name: 'transfer', inputs: [...] }
|
|
13499
|
+
* const selector = Effect.runSync(getSelector(fn))
|
|
13500
|
+
* // '0xa9059cbb'
|
|
13501
|
+
* ```
|
|
13502
|
+
*
|
|
13503
|
+
* @since 0.0.1
|
|
13504
|
+
*/
|
|
13505
|
+
declare const getSelector: (item: {
|
|
13506
|
+
type: string;
|
|
13507
|
+
name?: string;
|
|
13508
|
+
inputs?: readonly unknown[];
|
|
13509
|
+
}) => Effect.Effect<HexType, never>;
|
|
13510
|
+
|
|
13511
|
+
declare const AbiParseError_base: new <A extends Record<string, any> = {}>(args: effect_Types.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => effect_Cause.YieldableError & {
|
|
13512
|
+
readonly _tag: "AbiParseError";
|
|
13513
|
+
} & Readonly<A>;
|
|
13514
|
+
/**
|
|
13515
|
+
* Error thrown when JSON parsing fails.
|
|
13516
|
+
*/
|
|
13517
|
+
declare class AbiParseError extends AbiParseError_base<{
|
|
13518
|
+
readonly message: string;
|
|
13519
|
+
readonly code?: number;
|
|
13520
|
+
readonly context?: Record<string, unknown>;
|
|
13521
|
+
readonly cause?: unknown;
|
|
13522
|
+
}> {
|
|
13523
|
+
}
|
|
13524
|
+
/**
|
|
13525
|
+
* Parses a JSON string to an ABI array.
|
|
13526
|
+
*
|
|
13527
|
+
* @description
|
|
13528
|
+
* Parses a JSON string representing an Ethereum ABI into a structured
|
|
13529
|
+
* ABI array that can be used with other ABI functions.
|
|
13530
|
+
*
|
|
13531
|
+
* @param {string} jsonString - The JSON string to parse.
|
|
13532
|
+
* @returns {Effect.Effect<ReturnType<typeof Abi>, AbiParseError>}
|
|
13533
|
+
* Effect yielding the parsed ABI array.
|
|
13534
|
+
*
|
|
13535
|
+
* @example
|
|
13536
|
+
* ```typescript
|
|
13537
|
+
* import * as Effect from 'effect/Effect'
|
|
13538
|
+
* import { parse } from 'voltaire-effect/primitives/Abi'
|
|
13539
|
+
*
|
|
13540
|
+
* const abiJson = '[{"type":"function","name":"transfer",...}]'
|
|
13541
|
+
* const abi = await Effect.runPromise(parse(abiJson))
|
|
13542
|
+
* ```
|
|
13543
|
+
*
|
|
13544
|
+
* @since 0.0.1
|
|
13545
|
+
*/
|
|
13546
|
+
declare const parse: (jsonString: string) => Effect.Effect<ReturnType<typeof Abi$1>, AbiParseError>;
|
|
13547
|
+
|
|
13548
|
+
declare const AbiItemParseError_base: new <A extends Record<string, any> = {}>(args: effect_Types.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => effect_Cause.YieldableError & {
|
|
13549
|
+
readonly _tag: "AbiItemParseError";
|
|
13550
|
+
} & Readonly<A>;
|
|
13551
|
+
/**
|
|
13552
|
+
* Error thrown when ABI item parsing fails.
|
|
13553
|
+
*/
|
|
13554
|
+
declare class AbiItemParseError extends AbiItemParseError_base<{
|
|
13555
|
+
readonly message: string;
|
|
13556
|
+
readonly code?: number;
|
|
13557
|
+
readonly context?: Record<string, unknown>;
|
|
13558
|
+
readonly cause?: unknown;
|
|
13559
|
+
}> {
|
|
13560
|
+
}
|
|
13561
|
+
/**
|
|
13562
|
+
* Parses a JSON string to a single ABI item.
|
|
13563
|
+
*
|
|
13564
|
+
* @description
|
|
13565
|
+
* Parses a JSON string representing a single Ethereum ABI item (function,
|
|
13566
|
+
* event, error, etc.) into a structured ABI item object.
|
|
13567
|
+
*
|
|
13568
|
+
* @param {string} jsonString - The JSON string to parse.
|
|
13569
|
+
* @returns {Effect.Effect<Item.ItemType, AbiItemParseError>}
|
|
13570
|
+
* Effect yielding the parsed ABI item.
|
|
13571
|
+
*
|
|
13572
|
+
* @example
|
|
13573
|
+
* ```typescript
|
|
13574
|
+
* import * as Effect from 'effect/Effect'
|
|
13575
|
+
* import { parseItem } from 'voltaire-effect/primitives/Abi'
|
|
13576
|
+
*
|
|
13577
|
+
* const itemJson = '{"type":"function","name":"transfer","inputs":[],"outputs":[]}'
|
|
13578
|
+
* const item = await Effect.runPromise(parseItem(itemJson))
|
|
13579
|
+
* ```
|
|
13580
|
+
*
|
|
13581
|
+
* @since 0.0.1
|
|
13582
|
+
*/
|
|
13583
|
+
declare const parseItem: (jsonString: string) => Effect.Effect<Item$1.ItemType, AbiItemParseError>;
|
|
13584
|
+
|
|
13585
|
+
/**
|
|
13586
|
+
* @fileoverview Parses multiple event logs using ABI.
|
|
13587
|
+
* Provides Effect-based wrapper for batch log parsing.
|
|
13588
|
+
*
|
|
13589
|
+
* @module Abi/parseLogs
|
|
13590
|
+
* @since 0.0.1
|
|
13591
|
+
*/
|
|
13592
|
+
|
|
13593
|
+
type AbiInput = readonly ItemType[];
|
|
13594
|
+
/**
|
|
13595
|
+
* Log input structure for parseLogs.
|
|
13596
|
+
*/
|
|
13597
|
+
interface ParseLogsInput {
|
|
13598
|
+
data: Uint8Array | string;
|
|
13599
|
+
topics: readonly (Uint8Array | string)[];
|
|
13600
|
+
}
|
|
13601
|
+
/**
|
|
13602
|
+
* Parsed log result.
|
|
13603
|
+
*/
|
|
13604
|
+
interface ParsedLog {
|
|
13605
|
+
eventName: string;
|
|
13606
|
+
args: Record<string, unknown>;
|
|
13607
|
+
}
|
|
13608
|
+
/**
|
|
13609
|
+
* Parses multiple event logs using ABI.
|
|
13610
|
+
*
|
|
13611
|
+
* @description
|
|
13612
|
+
* Parses an array of log entries, returning successfully decoded logs.
|
|
13613
|
+
* Logs that don't match any event in the ABI are silently filtered out.
|
|
13614
|
+
*
|
|
13615
|
+
* @param {AbiInput} abi - The contract ABI.
|
|
13616
|
+
* @param {readonly ParseLogsInput[]} logs - Array of log objects.
|
|
13617
|
+
* @returns {Effect.Effect<readonly ParsedLog[], never>}
|
|
13618
|
+
* Effect yielding array of parsed logs (never fails).
|
|
13619
|
+
*
|
|
13620
|
+
* @example
|
|
13621
|
+
* ```typescript
|
|
13622
|
+
* import * as Effect from 'effect/Effect'
|
|
13623
|
+
* import { parseLogs } from 'voltaire-effect/primitives/Abi'
|
|
13624
|
+
*
|
|
13625
|
+
* const parsed = await Effect.runPromise(
|
|
13626
|
+
* parseLogs(abi, logs)
|
|
13627
|
+
* )
|
|
13628
|
+
* // [{ eventName: 'Transfer', args: { from, to, value } }]
|
|
13629
|
+
* ```
|
|
13630
|
+
*
|
|
13631
|
+
* @since 0.0.1
|
|
13632
|
+
*/
|
|
13633
|
+
declare const parseLogs: (abi: AbiInput, logs: readonly ParseLogsInput[]) => Effect.Effect<readonly ParsedLog[], never>;
|
|
13634
|
+
|
|
13635
|
+
/**
|
|
13636
|
+
* @fileoverview Abi module for encoding and decoding Ethereum ABI data.
|
|
13637
|
+
* Provides Effect-based wrappers around voltaire's ABI utilities with
|
|
13638
|
+
* type-safe error handling through Effect's error channel.
|
|
13639
|
+
*
|
|
13640
|
+
* @module Abi
|
|
13641
|
+
* @since 0.0.1
|
|
13642
|
+
*/
|
|
13643
|
+
|
|
13644
|
+
type index$2_AbiItemParseError = AbiItemParseError;
|
|
13645
|
+
declare const index$2_AbiItemParseError: typeof AbiItemParseError;
|
|
13646
|
+
type index$2_AbiParseError = AbiParseError;
|
|
13647
|
+
declare const index$2_AbiParseError: typeof AbiParseError;
|
|
13648
|
+
declare const index$2_AbiSchema: typeof AbiSchema;
|
|
13649
|
+
declare const index$2_AbiTypeSchema: typeof AbiTypeSchema;
|
|
13650
|
+
declare const index$2_ConstructorSchema: typeof ConstructorSchema;
|
|
13651
|
+
declare const index$2_ErrorSchema: typeof ErrorSchema;
|
|
13652
|
+
declare const index$2_EventSchema: typeof EventSchema;
|
|
13653
|
+
declare const index$2_FallbackSchema: typeof FallbackSchema;
|
|
13654
|
+
declare const index$2_FunctionSchema: typeof FunctionSchema;
|
|
13655
|
+
declare const index$2_ItemSchema: typeof ItemSchema;
|
|
13656
|
+
declare const index$2_ParameterSchema: typeof ParameterSchema;
|
|
13657
|
+
type index$2_ParseLogsInput = ParseLogsInput;
|
|
13658
|
+
type index$2_ParsedLog = ParsedLog;
|
|
13659
|
+
declare const index$2_ReceiveSchema: typeof ReceiveSchema;
|
|
13660
|
+
type index$2_SelectorCollision = SelectorCollision;
|
|
13661
|
+
declare const index$2_StateMutabilitySchema: typeof StateMutabilitySchema;
|
|
13662
|
+
type index$2_WrappedErrorInput = WrappedErrorInput;
|
|
13663
|
+
type index$2_WrappedErrorResult = WrappedErrorResult;
|
|
13664
|
+
declare const index$2_decode: typeof decode;
|
|
13665
|
+
declare const index$2_decodeData: typeof decodeData;
|
|
13666
|
+
declare const index$2_decodeError: typeof decodeError;
|
|
13667
|
+
declare const index$2_decodeEventLog: typeof decodeEventLog;
|
|
13668
|
+
declare const index$2_decodeFunction: typeof decodeFunction;
|
|
13669
|
+
declare const index$2_decodeFunctionData: typeof decodeFunctionData;
|
|
13670
|
+
declare const index$2_decodeFunctionResult: typeof decodeFunctionResult;
|
|
13671
|
+
declare const index$2_decodeLog: typeof decodeLog;
|
|
13672
|
+
declare const index$2_decodeWrappedError: typeof decodeWrappedError;
|
|
13673
|
+
declare const index$2_encode: typeof encode;
|
|
13674
|
+
declare const index$2_encodeError: typeof encodeError;
|
|
13675
|
+
declare const index$2_encodeEventLog: typeof encodeEventLog;
|
|
13676
|
+
declare const index$2_encodeFunction: typeof encodeFunction;
|
|
13677
|
+
declare const index$2_encodeFunctionData: typeof encodeFunctionData;
|
|
13678
|
+
declare const index$2_encodeFunctionResult: typeof encodeFunctionResult;
|
|
13679
|
+
declare const index$2_encodePacked: typeof encodePacked;
|
|
13680
|
+
declare const index$2_encodeWrappedError: typeof encodeWrappedError;
|
|
13681
|
+
declare const index$2_findError: typeof findError;
|
|
13682
|
+
declare const index$2_findEvent: typeof findEvent;
|
|
13683
|
+
declare const index$2_findFunction: typeof findFunction;
|
|
13684
|
+
declare const index$2_findSelectorCollisions: typeof findSelectorCollisions;
|
|
13685
|
+
declare const index$2_format: typeof format;
|
|
13686
|
+
declare const index$2_formatWithArgs: typeof formatWithArgs;
|
|
13687
|
+
declare const index$2_fromArray: typeof fromArray;
|
|
13688
|
+
declare const index$2_getErrorSignature: typeof getErrorSignature;
|
|
13689
|
+
declare const index$2_getEvent: typeof getEvent;
|
|
13690
|
+
declare const index$2_getEventSignature: typeof getEventSignature;
|
|
13691
|
+
declare const index$2_getFunction: typeof getFunction;
|
|
13692
|
+
declare const index$2_getFunctionSignature: typeof getFunctionSignature;
|
|
13693
|
+
declare const index$2_getSelector: typeof getSelector;
|
|
13694
|
+
declare const index$2_hasSelectorCollisions: typeof hasSelectorCollisions;
|
|
13695
|
+
declare const index$2_parse: typeof parse;
|
|
13696
|
+
declare const index$2_parseItem: typeof parseItem;
|
|
13697
|
+
declare const index$2_parseLogs: typeof parseLogs;
|
|
11479
13698
|
declare namespace index$2 {
|
|
11480
|
-
export {
|
|
13699
|
+
export { index$2_AbiItemParseError as AbiItemParseError, index$2_AbiParseError as AbiParseError, index$2_AbiSchema as AbiSchema, index$2_AbiTypeSchema as AbiTypeSchema, index$2_ConstructorSchema as ConstructorSchema, index$2_ErrorSchema as ErrorSchema, index$2_EventSchema as EventSchema, index$2_FallbackSchema as FallbackSchema, index$2_FunctionSchema as FunctionSchema, index$2_ItemSchema as ItemSchema, type LogInput$1 as LogInput, index$2_ParameterSchema as ParameterSchema, type index$2_ParseLogsInput as ParseLogsInput, type index$2_ParsedLog as ParsedLog, index$2_ReceiveSchema as ReceiveSchema, type index$2_SelectorCollision as SelectorCollision, index$2_StateMutabilitySchema as StateMutabilitySchema, type index$2_WrappedErrorInput as WrappedErrorInput, type index$2_WrappedErrorResult as WrappedErrorResult, index$2_decode as decode, index$2_decodeData as decodeData, index$2_decodeError as decodeError, index$2_decodeEventLog as decodeEventLog, index$2_decodeFunction as decodeFunction, index$2_decodeFunctionData as decodeFunctionData, index$2_decodeFunctionResult as decodeFunctionResult, index$2_decodeLog as decodeLog, index$2_decodeWrappedError as decodeWrappedError, index$2_encode as encode, index$2_encodeError as encodeError, index$2_encodeEventLog as encodeEventLog, index$2_encodeFunction as encodeFunction, index$2_encodeFunctionData as encodeFunctionData, index$2_encodeFunctionResult as encodeFunctionResult, index$2_encodePacked as encodePacked, index$2_encodeWrappedError as encodeWrappedError, index$2_findError as findError, index$2_findEvent as findEvent, index$2_findFunction as findFunction, index$2_findSelectorCollisions as findSelectorCollisions, index$2_format as format, index$2_formatWithArgs as formatWithArgs, index$2_fromArray as fromArray, index$2_getErrorSignature as getErrorSignature, index$2_getEvent as getEvent, index$2_getEventSignature as getEventSignature, index$2_getFunction as getFunction, index$2_getFunctionSignature as getFunctionSignature, index$2_getSelector as getSelector, index$2_hasSelectorCollisions as hasSelectorCollisions, index$2_parse as parse, index$2_parseItem as parseItem, index$2_parseLogs as parseLogs };
|
|
11481
13700
|
}
|
|
11482
13701
|
|
|
11483
13702
|
declare const StandardsError_base: new <A extends Record<string, any> = {}>(args: effect_Types.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => effect_Cause.YieldableError & {
|
|
@@ -11958,4 +14177,4 @@ declare namespace index {
|
|
|
11958
14177
|
export { index_UnitError as UnitError, index_formatEther as formatEther, index_formatGwei as formatGwei, index_formatUnits as formatUnits, index_parseEther as parseEther, index_parseGwei as parseGwei, index_parseUnits as parseUnits };
|
|
11959
14178
|
}
|
|
11960
14179
|
|
|
11961
|
-
export { index$
|
|
14180
|
+
export { index$2 as Abi, index$t as Auth, type BackfillStreamOptions, index$r as Bip39, index$q as Blake2, index$s as BlockUtils, index$p as Bls12381, index$o as Bn254, index$n as ChaCha20Poly1305, index$u as EIP712, ERC1155, ERC165, ERC20, index$l as ERC6492, ERC721, index$m as Ed25519, EventStream, EventStreamError, EventStreamService, type EventStreamShape, index$k as HDWallet, index$j as HMAC, index$3 as JsonRpc, index$h as KZG, index$w as Keccak256, index$i as Keystore, index$g as ModExp, index$f as P256, ProviderService, index$e as Ripemd160, index$d as SHA256, index$v as Secp256k1, StandardsError, index$1 as Stream, TransportService, index as Unit, type WatchStreamOptions, index$c as X25519, makeEventStream };
|