viem 2.0.0-beta.3 → 2.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/_cjs/accounts/generateMnemonic.js +9 -0
- package/_cjs/accounts/generateMnemonic.js.map +1 -0
- package/_cjs/accounts/generatePrivateKey.js +10 -0
- package/_cjs/accounts/generatePrivateKey.js.map +1 -0
- package/_cjs/accounts/hdKeyToAccount.js +16 -0
- package/_cjs/accounts/hdKeyToAccount.js.map +1 -0
- package/_cjs/accounts/index.js +52 -0
- package/_cjs/accounts/index.js.map +1 -0
- package/_cjs/accounts/mnemonicToAccount.js +12 -0
- package/_cjs/accounts/mnemonicToAccount.js.map +1 -0
- package/_cjs/accounts/privateKeyToAccount.js +33 -0
- package/_cjs/accounts/privateKeyToAccount.js.map +1 -0
- package/_cjs/accounts/toAccount.js +27 -0
- package/_cjs/accounts/toAccount.js.map +1 -0
- package/_cjs/accounts/types.js +3 -0
- package/_cjs/accounts/types.js.map +1 -0
- package/_cjs/accounts/utils/parseAccount.js +10 -0
- package/_cjs/accounts/utils/parseAccount.js.map +1 -0
- package/_cjs/accounts/utils/privateKeyToAddress.js +12 -0
- package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -0
- package/_cjs/accounts/utils/publicKeyToAddress.js +11 -0
- package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -0
- package/_cjs/accounts/utils/sign.js +15 -0
- package/_cjs/accounts/utils/sign.js.map +1 -0
- package/_cjs/accounts/utils/signMessage.js +12 -0
- package/_cjs/accounts/utils/signMessage.js.map +1 -0
- package/_cjs/accounts/utils/signTransaction.js +15 -0
- package/_cjs/accounts/utils/signTransaction.js.map +1 -0
- package/_cjs/accounts/utils/signTypedData.js +16 -0
- package/_cjs/accounts/utils/signTypedData.js.map +1 -0
- package/_cjs/actions/ens/getEnsAddress.js +63 -0
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -0
- package/_cjs/actions/ens/getEnsAvatar.js +25 -0
- package/_cjs/actions/ens/getEnsAvatar.js.map +1 -0
- package/_cjs/actions/ens/getEnsName.js +41 -0
- package/_cjs/actions/ens/getEnsName.js.map +1 -0
- package/_cjs/actions/ens/getEnsResolver.js +39 -0
- package/_cjs/actions/ens/getEnsResolver.js.map +1 -0
- package/_cjs/actions/ens/getEnsText.js +57 -0
- package/_cjs/actions/ens/getEnsText.js.map +1 -0
- package/_cjs/actions/getContract.js +184 -0
- package/_cjs/actions/getContract.js.map +1 -0
- package/_cjs/actions/index.js +167 -0
- package/_cjs/actions/index.js.map +1 -0
- package/_cjs/actions/public/call.js +156 -0
- package/_cjs/actions/public/call.js.map +1 -0
- package/_cjs/actions/public/createBlockFilter.js +15 -0
- package/_cjs/actions/public/createBlockFilter.js.map +1 -0
- package/_cjs/actions/public/createContractEventFilter.js +41 -0
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -0
- package/_cjs/actions/public/createEventFilter.js +48 -0
- package/_cjs/actions/public/createEventFilter.js.map +1 -0
- package/_cjs/actions/public/createPendingTransactionFilter.js +15 -0
- package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -0
- package/_cjs/actions/public/estimateContractGas.js +37 -0
- package/_cjs/actions/public/estimateContractGas.js.map +1 -0
- package/_cjs/actions/public/estimateFeesPerGas.js +62 -0
- package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -0
- package/_cjs/actions/public/estimateGas.js +56 -0
- package/_cjs/actions/public/estimateGas.js.map +1 -0
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +45 -0
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -0
- package/_cjs/actions/public/getBalance.js +14 -0
- package/_cjs/actions/public/getBalance.js.map +1 -0
- package/_cjs/actions/public/getBlock.js +30 -0
- package/_cjs/actions/public/getBlock.js.map +1 -0
- package/_cjs/actions/public/getBlockNumber.js +17 -0
- package/_cjs/actions/public/getBlockNumber.js.map +1 -0
- package/_cjs/actions/public/getBlockTransactionCount.js +24 -0
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -0
- package/_cjs/actions/public/getBytecode.js +16 -0
- package/_cjs/actions/public/getBytecode.js.map +1 -0
- package/_cjs/actions/public/getChainId.js +12 -0
- package/_cjs/actions/public/getChainId.js.map +1 -0
- package/_cjs/actions/public/getContractEvents.js +27 -0
- package/_cjs/actions/public/getContractEvents.js.map +1 -0
- package/_cjs/actions/public/getFeeHistory.js +19 -0
- package/_cjs/actions/public/getFeeHistory.js.map +1 -0
- package/_cjs/actions/public/getFilterChanges.js +44 -0
- package/_cjs/actions/public/getFilterChanges.js.map +1 -0
- package/_cjs/actions/public/getFilterLogs.js +42 -0
- package/_cjs/actions/public/getFilterLogs.js.map +1 -0
- package/_cjs/actions/public/getGasPrice.js +11 -0
- package/_cjs/actions/public/getGasPrice.js.map +1 -0
- package/_cjs/actions/public/getLogs.js +73 -0
- package/_cjs/actions/public/getLogs.js.map +1 -0
- package/_cjs/actions/public/getProof.js +16 -0
- package/_cjs/actions/public/getProof.js.map +1 -0
- package/_cjs/actions/public/getStorageAt.js +14 -0
- package/_cjs/actions/public/getStorageAt.js.map +1 -0
- package/_cjs/actions/public/getTransaction.js +41 -0
- package/_cjs/actions/public/getTransaction.js.map +1 -0
- package/_cjs/actions/public/getTransactionConfirmations.js +18 -0
- package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -0
- package/_cjs/actions/public/getTransactionCount.js +14 -0
- package/_cjs/actions/public/getTransactionCount.js.map +1 -0
- package/_cjs/actions/public/getTransactionReceipt.js +18 -0
- package/_cjs/actions/public/getTransactionReceipt.js.map +1 -0
- package/_cjs/actions/public/multicall.js +135 -0
- package/_cjs/actions/public/multicall.js.map +1 -0
- package/_cjs/actions/public/readContract.js +40 -0
- package/_cjs/actions/public/readContract.js.map +1 -0
- package/_cjs/actions/public/simulateContract.js +56 -0
- package/_cjs/actions/public/simulateContract.js.map +1 -0
- package/_cjs/actions/public/uninstallFilter.js +11 -0
- package/_cjs/actions/public/uninstallFilter.js.map +1 -0
- package/_cjs/actions/public/verifyHash.js +32 -0
- package/_cjs/actions/public/verifyHash.js.map +1 -0
- package/_cjs/actions/public/verifyMessage.js +16 -0
- package/_cjs/actions/public/verifyMessage.js.map +1 -0
- package/_cjs/actions/public/verifyTypedData.js +16 -0
- package/_cjs/actions/public/verifyTypedData.js.map +1 -0
- package/_cjs/actions/public/waitForTransactionReceipt.js +119 -0
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -0
- package/_cjs/actions/public/watchBlockNumber.js +78 -0
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -0
- package/_cjs/actions/public/watchBlocks.js +90 -0
- package/_cjs/actions/public/watchBlocks.js.map +1 -0
- package/_cjs/actions/public/watchContractEvent.js +162 -0
- package/_cjs/actions/public/watchContractEvent.js.map +1 -0
- package/_cjs/actions/public/watchEvent.js +161 -0
- package/_cjs/actions/public/watchEvent.js.map +1 -0
- package/_cjs/actions/public/watchPendingTransactions.js +88 -0
- package/_cjs/actions/public/watchPendingTransactions.js.map +1 -0
- package/_cjs/actions/test/dropTransaction.js +11 -0
- package/_cjs/actions/test/dropTransaction.js.map +1 -0
- package/_cjs/actions/test/dumpState.js +10 -0
- package/_cjs/actions/test/dumpState.js.map +1 -0
- package/_cjs/actions/test/getAutomine.js +14 -0
- package/_cjs/actions/test/getAutomine.js.map +1 -0
- package/_cjs/actions/test/getTxpoolContent.js +10 -0
- package/_cjs/actions/test/getTxpoolContent.js.map +1 -0
- package/_cjs/actions/test/getTxpoolStatus.js +15 -0
- package/_cjs/actions/test/getTxpoolStatus.js.map +1 -0
- package/_cjs/actions/test/impersonateAccount.js +11 -0
- package/_cjs/actions/test/impersonateAccount.js.map +1 -0
- package/_cjs/actions/test/increaseTime.js +12 -0
- package/_cjs/actions/test/increaseTime.js.map +1 -0
- package/_cjs/actions/test/inspectTxpool.js +10 -0
- package/_cjs/actions/test/inspectTxpool.js.map +1 -0
- package/_cjs/actions/test/loadState.js +11 -0
- package/_cjs/actions/test/loadState.js.map +1 -0
- package/_cjs/actions/test/mine.js +18 -0
- package/_cjs/actions/test/mine.js.map +1 -0
- package/_cjs/actions/test/removeBlockTimestampInterval.js +10 -0
- package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -0
- package/_cjs/actions/test/reset.js +11 -0
- package/_cjs/actions/test/reset.js.map +1 -0
- package/_cjs/actions/test/revert.js +11 -0
- package/_cjs/actions/test/revert.js.map +1 -0
- package/_cjs/actions/test/sendUnsignedTransaction.js +30 -0
- package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -0
- package/_cjs/actions/test/setAutomine.js +18 -0
- package/_cjs/actions/test/setAutomine.js.map +1 -0
- package/_cjs/actions/test/setBalance.js +18 -0
- package/_cjs/actions/test/setBalance.js.map +1 -0
- package/_cjs/actions/test/setBlockGasLimit.js +12 -0
- package/_cjs/actions/test/setBlockGasLimit.js.map +1 -0
- package/_cjs/actions/test/setBlockTimestampInterval.js +16 -0
- package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -0
- package/_cjs/actions/test/setCode.js +11 -0
- package/_cjs/actions/test/setCode.js.map +1 -0
- package/_cjs/actions/test/setCoinbase.js +11 -0
- package/_cjs/actions/test/setCoinbase.js.map +1 -0
- package/_cjs/actions/test/setIntervalMining.js +16 -0
- package/_cjs/actions/test/setIntervalMining.js.map +1 -0
- package/_cjs/actions/test/setLoggingEnabled.js +11 -0
- package/_cjs/actions/test/setLoggingEnabled.js.map +1 -0
- package/_cjs/actions/test/setMinGasPrice.js +12 -0
- package/_cjs/actions/test/setMinGasPrice.js.map +1 -0
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js +12 -0
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -0
- package/_cjs/actions/test/setNextBlockTimestamp.js +12 -0
- package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -0
- package/_cjs/actions/test/setNonce.js +12 -0
- package/_cjs/actions/test/setNonce.js.map +1 -0
- package/_cjs/actions/test/setRpcUrl.js +11 -0
- package/_cjs/actions/test/setRpcUrl.js.map +1 -0
- package/_cjs/actions/test/setStorageAt.js +16 -0
- package/_cjs/actions/test/setStorageAt.js.map +1 -0
- package/_cjs/actions/test/snapshot.js +10 -0
- package/_cjs/actions/test/snapshot.js.map +1 -0
- package/_cjs/actions/test/stopImpersonatingAccount.js +11 -0
- package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -0
- package/_cjs/actions/wallet/addChain.js +23 -0
- package/_cjs/actions/wallet/addChain.js.map +1 -0
- package/_cjs/actions/wallet/deployContract.js +15 -0
- package/_cjs/actions/wallet/deployContract.js.map +1 -0
- package/_cjs/actions/wallet/getAddresses.js +12 -0
- package/_cjs/actions/wallet/getAddresses.js.map +1 -0
- package/_cjs/actions/wallet/getPermissions.js +9 -0
- package/_cjs/actions/wallet/getPermissions.js.map +1 -0
- package/_cjs/actions/wallet/prepareTransactionRequest.js +71 -0
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -0
- package/_cjs/actions/wallet/requestAddresses.js +10 -0
- package/_cjs/actions/wallet/requestAddresses.js.map +1 -0
- package/_cjs/actions/wallet/requestPermissions.js +11 -0
- package/_cjs/actions/wallet/requestPermissions.js.map +1 -0
- package/_cjs/actions/wallet/sendRawTransaction.js +11 -0
- package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -0
- package/_cjs/actions/wallet/sendTransaction.js +87 -0
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -0
- package/_cjs/actions/wallet/signMessage.js +28 -0
- package/_cjs/actions/wallet/signMessage.js.map +1 -0
- package/_cjs/actions/wallet/signTransaction.js +48 -0
- package/_cjs/actions/wallet/signTransaction.js.map +1 -0
- package/_cjs/actions/wallet/signTypedData.js +30 -0
- package/_cjs/actions/wallet/signTypedData.js.map +1 -0
- package/_cjs/actions/wallet/switchChain.js +16 -0
- package/_cjs/actions/wallet/switchChain.js.map +1 -0
- package/_cjs/actions/wallet/watchAsset.js +12 -0
- package/_cjs/actions/wallet/watchAsset.js.map +1 -0
- package/_cjs/actions/wallet/writeContract.js +18 -0
- package/_cjs/actions/wallet/writeContract.js.map +1 -0
- package/_cjs/chains/celo/chainConfig.js +10 -0
- package/_cjs/chains/celo/chainConfig.js.map +1 -0
- package/_cjs/chains/celo/formatters.js +82 -0
- package/_cjs/chains/celo/formatters.js.map +1 -0
- package/_cjs/chains/celo/index.js +10 -0
- package/_cjs/chains/celo/index.js.map +1 -0
- package/_cjs/chains/celo/parsers.js +131 -0
- package/_cjs/chains/celo/parsers.js.map +1 -0
- package/_cjs/chains/celo/serializers.js +131 -0
- package/_cjs/chains/celo/serializers.js.map +1 -0
- package/_cjs/chains/celo/types.js +3 -0
- package/_cjs/chains/celo/types.js.map +1 -0
- package/_cjs/chains/celo/utils.js +44 -0
- package/_cjs/chains/celo/utils.js.map +1 -0
- package/_cjs/chains/definitions/arbitrum.js +24 -0
- package/_cjs/chains/definitions/arbitrum.js.map +1 -0
- package/_cjs/chains/definitions/arbitrumGoerli.js +30 -0
- package/_cjs/chains/definitions/arbitrumGoerli.js.map +1 -0
- package/_cjs/chains/definitions/arbitrumNova.js +24 -0
- package/_cjs/chains/definitions/arbitrumNova.js.map +1 -0
- package/_cjs/chains/definitions/arbitrumSepolia.js +32 -0
- package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -0
- package/_cjs/chains/definitions/astar.js +29 -0
- package/_cjs/chains/definitions/astar.js.map +1 -0
- package/_cjs/chains/definitions/astarZkatana.js +42 -0
- package/_cjs/chains/definitions/astarZkatana.js.map +1 -0
- package/_cjs/chains/definitions/aurora.js +20 -0
- package/_cjs/chains/definitions/aurora.js.map +1 -0
- package/_cjs/chains/definitions/auroraTestnet.js +21 -0
- package/_cjs/chains/definitions/auroraTestnet.js.map +1 -0
- package/_cjs/chains/definitions/avalanche.js +26 -0
- package/_cjs/chains/definitions/avalanche.js.map +1 -0
- package/_cjs/chains/definitions/avalancheFuji.js +27 -0
- package/_cjs/chains/definitions/avalancheFuji.js.map +1 -0
- package/_cjs/chains/definitions/base.js +30 -0
- package/_cjs/chains/definitions/base.js.map +1 -0
- package/_cjs/chains/definitions/baseGoerli.js +30 -0
- package/_cjs/chains/definitions/baseGoerli.js.map +1 -0
- package/_cjs/chains/definitions/baseSepolia.js +34 -0
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -0
- package/_cjs/chains/definitions/bearNetworkChainMainnet.js +20 -0
- package/_cjs/chains/definitions/bearNetworkChainMainnet.js.map +1 -0
- package/_cjs/chains/definitions/bearNetworkChainTestnet.js +24 -0
- package/_cjs/chains/definitions/bearNetworkChainTestnet.js.map +1 -0
- package/_cjs/chains/definitions/boba.js +26 -0
- package/_cjs/chains/definitions/boba.js.map +1 -0
- package/_cjs/chains/definitions/bronos.js +20 -0
- package/_cjs/chains/definitions/bronos.js.map +1 -0
- package/_cjs/chains/definitions/bronosTestnet.js +21 -0
- package/_cjs/chains/definitions/bronosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/bsc.js +26 -0
- package/_cjs/chains/definitions/bsc.js.map +1 -0
- package/_cjs/chains/definitions/bscTestnet.js +27 -0
- package/_cjs/chains/definitions/bscTestnet.js.map +1 -0
- package/_cjs/chains/definitions/bxn.js +21 -0
- package/_cjs/chains/definitions/bxn.js.map +1 -0
- package/_cjs/chains/definitions/bxnTestnet.js +25 -0
- package/_cjs/chains/definitions/bxnTestnet.js.map +1 -0
- package/_cjs/chains/definitions/canto.js +29 -0
- package/_cjs/chains/definitions/canto.js.map +1 -0
- package/_cjs/chains/definitions/celo.js +32 -0
- package/_cjs/chains/definitions/celo.js.map +1 -0
- package/_cjs/chains/definitions/celoAlfajores.js +34 -0
- package/_cjs/chains/definitions/celoAlfajores.js.map +1 -0
- package/_cjs/chains/definitions/celoCannoli.js +34 -0
- package/_cjs/chains/definitions/celoCannoli.js.map +1 -0
- package/_cjs/chains/definitions/chiliz.js +26 -0
- package/_cjs/chains/definitions/chiliz.js.map +1 -0
- package/_cjs/chains/definitions/classic.js +23 -0
- package/_cjs/chains/definitions/classic.js.map +1 -0
- package/_cjs/chains/definitions/confluxESpace.js +27 -0
- package/_cjs/chains/definitions/confluxESpace.js.map +1 -0
- package/_cjs/chains/definitions/coreDao.js +27 -0
- package/_cjs/chains/definitions/coreDao.js.map +1 -0
- package/_cjs/chains/definitions/cronos.js +26 -0
- package/_cjs/chains/definitions/cronos.js.map +1 -0
- package/_cjs/chains/definitions/cronosTestnet.js +30 -0
- package/_cjs/chains/definitions/cronosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/crossbell.js +28 -0
- package/_cjs/chains/definitions/crossbell.js.map +1 -0
- package/_cjs/chains/definitions/dfk.js +25 -0
- package/_cjs/chains/definitions/dfk.js.map +1 -0
- package/_cjs/chains/definitions/dogechain.js +23 -0
- package/_cjs/chains/definitions/dogechain.js.map +1 -0
- package/_cjs/chains/definitions/edgeware.js +26 -0
- package/_cjs/chains/definitions/edgeware.js.map +1 -0
- package/_cjs/chains/definitions/edgewareTestnet.js +23 -0
- package/_cjs/chains/definitions/edgewareTestnet.js.map +1 -0
- package/_cjs/chains/definitions/ekta.js +20 -0
- package/_cjs/chains/definitions/ekta.js.map +1 -0
- package/_cjs/chains/definitions/ektaTestnet.js +21 -0
- package/_cjs/chains/definitions/ektaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/eon.js +24 -0
- package/_cjs/chains/definitions/eon.js.map +1 -0
- package/_cjs/chains/definitions/eos.js +29 -0
- package/_cjs/chains/definitions/eos.js.map +1 -0
- package/_cjs/chains/definitions/eosTestnet.js +30 -0
- package/_cjs/chains/definitions/eosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/evmos.js +20 -0
- package/_cjs/chains/definitions/evmos.js.map +1 -0
- package/_cjs/chains/definitions/evmosTestnet.js +23 -0
- package/_cjs/chains/definitions/evmosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/fantom.js +26 -0
- package/_cjs/chains/definitions/fantom.js.map +1 -0
- package/_cjs/chains/definitions/fantomTestnet.js +26 -0
- package/_cjs/chains/definitions/fantomTestnet.js.map +1 -0
- package/_cjs/chains/definitions/fibo.js +20 -0
- package/_cjs/chains/definitions/fibo.js.map +1 -0
- package/_cjs/chains/definitions/filecoin.js +20 -0
- package/_cjs/chains/definitions/filecoin.js.map +1 -0
- package/_cjs/chains/definitions/filecoinCalibration.js +20 -0
- package/_cjs/chains/definitions/filecoinCalibration.js.map +1 -0
- package/_cjs/chains/definitions/filecoinHyperspace.js +20 -0
- package/_cjs/chains/definitions/filecoinHyperspace.js.map +1 -0
- package/_cjs/chains/definitions/flare.js +23 -0
- package/_cjs/chains/definitions/flare.js.map +1 -0
- package/_cjs/chains/definitions/flareTestnet.js +24 -0
- package/_cjs/chains/definitions/flareTestnet.js.map +1 -0
- package/_cjs/chains/definitions/foundry.js +20 -0
- package/_cjs/chains/definitions/foundry.js.map +1 -0
- package/_cjs/chains/definitions/fuse.js +22 -0
- package/_cjs/chains/definitions/fuse.js.map +1 -0
- package/_cjs/chains/definitions/fuseSparknet.js +19 -0
- package/_cjs/chains/definitions/fuseSparknet.js.map +1 -0
- package/_cjs/chains/definitions/gnosis.js +32 -0
- package/_cjs/chains/definitions/gnosis.js.map +1 -0
- package/_cjs/chains/definitions/gnosisChiado.js +33 -0
- package/_cjs/chains/definitions/gnosisChiado.js.map +1 -0
- package/_cjs/chains/definitions/gobi.js +22 -0
- package/_cjs/chains/definitions/gobi.js.map +1 -0
- package/_cjs/chains/definitions/goerli.js +35 -0
- package/_cjs/chains/definitions/goerli.js.map +1 -0
- package/_cjs/chains/definitions/haqqMainnet.js +25 -0
- package/_cjs/chains/definitions/haqqMainnet.js.map +1 -0
- package/_cjs/chains/definitions/haqqTestedge2.js +25 -0
- package/_cjs/chains/definitions/haqqTestedge2.js.map +1 -0
- package/_cjs/chains/definitions/hardhat.js +17 -0
- package/_cjs/chains/definitions/hardhat.js.map +1 -0
- package/_cjs/chains/definitions/harmonyOne.js +26 -0
- package/_cjs/chains/definitions/harmonyOne.js.map +1 -0
- package/_cjs/chains/definitions/holesky.js +22 -0
- package/_cjs/chains/definitions/holesky.js.map +1 -0
- package/_cjs/chains/definitions/iotex.js +23 -0
- package/_cjs/chains/definitions/iotex.js.map +1 -0
- package/_cjs/chains/definitions/iotexTestnet.js +23 -0
- package/_cjs/chains/definitions/iotexTestnet.js.map +1 -0
- package/_cjs/chains/definitions/kava.js +29 -0
- package/_cjs/chains/definitions/kava.js.map +1 -0
- package/_cjs/chains/definitions/kavaTestnet.js +32 -0
- package/_cjs/chains/definitions/kavaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/klaytn.js +20 -0
- package/_cjs/chains/definitions/klaytn.js.map +1 -0
- package/_cjs/chains/definitions/kroma.js +22 -0
- package/_cjs/chains/definitions/kroma.js.map +1 -0
- package/_cjs/chains/definitions/kromaSepolia.js +22 -0
- package/_cjs/chains/definitions/kromaSepolia.js.map +1 -0
- package/_cjs/chains/definitions/linea.js +29 -0
- package/_cjs/chains/definitions/linea.js.map +1 -0
- package/_cjs/chains/definitions/lineaTestnet.js +29 -0
- package/_cjs/chains/definitions/lineaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/localhost.js +17 -0
- package/_cjs/chains/definitions/localhost.js.map +1 -0
- package/_cjs/chains/definitions/lukso.js +31 -0
- package/_cjs/chains/definitions/lukso.js.map +1 -0
- package/_cjs/chains/definitions/mainnet.js +34 -0
- package/_cjs/chains/definitions/mainnet.js.map +1 -0
- package/_cjs/chains/definitions/manta.js +35 -0
- package/_cjs/chains/definitions/manta.js.map +1 -0
- package/_cjs/chains/definitions/mantaTestnet.js +36 -0
- package/_cjs/chains/definitions/mantaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/mantle.js +29 -0
- package/_cjs/chains/definitions/mantle.js.map +1 -0
- package/_cjs/chains/definitions/mantleTestnet.js +24 -0
- package/_cjs/chains/definitions/mantleTestnet.js.map +1 -0
- package/_cjs/chains/definitions/meter.js +20 -0
- package/_cjs/chains/definitions/meter.js.map +1 -0
- package/_cjs/chains/definitions/meterTestnet.js +23 -0
- package/_cjs/chains/definitions/meterTestnet.js.map +1 -0
- package/_cjs/chains/definitions/metis.js +29 -0
- package/_cjs/chains/definitions/metis.js.map +1 -0
- package/_cjs/chains/definitions/metisGoerli.js +29 -0
- package/_cjs/chains/definitions/metisGoerli.js.map +1 -0
- package/_cjs/chains/definitions/mev.js +31 -0
- package/_cjs/chains/definitions/mev.js.map +1 -0
- package/_cjs/chains/definitions/mevTestnet.js +32 -0
- package/_cjs/chains/definitions/mevTestnet.js.map +1 -0
- package/_cjs/chains/definitions/modeTestnet.js +28 -0
- package/_cjs/chains/definitions/modeTestnet.js.map +1 -0
- package/_cjs/chains/definitions/moonbaseAlpha.js +33 -0
- package/_cjs/chains/definitions/moonbaseAlpha.js.map +1 -0
- package/_cjs/chains/definitions/moonbeam.js +33 -0
- package/_cjs/chains/definitions/moonbeam.js.map +1 -0
- package/_cjs/chains/definitions/moonbeamDev.js +20 -0
- package/_cjs/chains/definitions/moonbeamDev.js.map +1 -0
- package/_cjs/chains/definitions/moonriver.js +33 -0
- package/_cjs/chains/definitions/moonriver.js.map +1 -0
- package/_cjs/chains/definitions/neonDevnet.js +28 -0
- package/_cjs/chains/definitions/neonDevnet.js.map +1 -0
- package/_cjs/chains/definitions/neonMainnet.js +27 -0
- package/_cjs/chains/definitions/neonMainnet.js.map +1 -0
- package/_cjs/chains/definitions/nexi.js +27 -0
- package/_cjs/chains/definitions/nexi.js.map +1 -0
- package/_cjs/chains/definitions/nexilix.js +26 -0
- package/_cjs/chains/definitions/nexilix.js.map +1 -0
- package/_cjs/chains/definitions/oasys.js +21 -0
- package/_cjs/chains/definitions/oasys.js.map +1 -0
- package/_cjs/chains/definitions/okc.js +26 -0
- package/_cjs/chains/definitions/okc.js.map +1 -0
- package/_cjs/chains/definitions/opBNB.js +26 -0
- package/_cjs/chains/definitions/opBNB.js.map +1 -0
- package/_cjs/chains/definitions/opBNBTestnet.js +27 -0
- package/_cjs/chains/definitions/opBNBTestnet.js.map +1 -0
- package/_cjs/chains/definitions/optimism.js +30 -0
- package/_cjs/chains/definitions/optimism.js.map +1 -0
- package/_cjs/chains/definitions/optimismGoerli.js +31 -0
- package/_cjs/chains/definitions/optimismGoerli.js.map +1 -0
- package/_cjs/chains/definitions/optimismSepolia.js +31 -0
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -0
- package/_cjs/chains/definitions/plinga.js +27 -0
- package/_cjs/chains/definitions/plinga.js.map +1 -0
- package/_cjs/chains/definitions/polygon.js +27 -0
- package/_cjs/chains/definitions/polygon.js.map +1 -0
- package/_cjs/chains/definitions/polygonMumbai.js +28 -0
- package/_cjs/chains/definitions/polygonMumbai.js.map +1 -0
- package/_cjs/chains/definitions/polygonZkEvm.js +27 -0
- package/_cjs/chains/definitions/polygonZkEvm.js.map +1 -0
- package/_cjs/chains/definitions/polygonZkEvmTestnet.js +28 -0
- package/_cjs/chains/definitions/polygonZkEvmTestnet.js.map +1 -0
- package/_cjs/chains/definitions/pulsechain.js +32 -0
- package/_cjs/chains/definitions/pulsechain.js.map +1 -0
- package/_cjs/chains/definitions/pulsechainV4.js +32 -0
- package/_cjs/chains/definitions/pulsechainV4.js.map +1 -0
- package/_cjs/chains/definitions/qMainnet.js +23 -0
- package/_cjs/chains/definitions/qMainnet.js.map +1 -0
- package/_cjs/chains/definitions/qTestnet.js +24 -0
- package/_cjs/chains/definitions/qTestnet.js.map +1 -0
- package/_cjs/chains/definitions/rollux.js +29 -0
- package/_cjs/chains/definitions/rollux.js.map +1 -0
- package/_cjs/chains/definitions/rolluxTestnet.js +32 -0
- package/_cjs/chains/definitions/rolluxTestnet.js.map +1 -0
- package/_cjs/chains/definitions/ronin.js +24 -0
- package/_cjs/chains/definitions/ronin.js.map +1 -0
- package/_cjs/chains/definitions/saigon.js +28 -0
- package/_cjs/chains/definitions/saigon.js.map +1 -0
- package/_cjs/chains/definitions/scroll.js +29 -0
- package/_cjs/chains/definitions/scroll.js.map +1 -0
- package/_cjs/chains/definitions/scrollSepolia.js +28 -0
- package/_cjs/chains/definitions/scrollSepolia.js.map +1 -0
- package/_cjs/chains/definitions/scrollTestnet.js +23 -0
- package/_cjs/chains/definitions/scrollTestnet.js.map +1 -0
- package/_cjs/chains/definitions/sepolia.js +33 -0
- package/_cjs/chains/definitions/sepolia.js.map +1 -0
- package/_cjs/chains/definitions/shardeumSphinx.js +22 -0
- package/_cjs/chains/definitions/shardeumSphinx.js.map +1 -0
- package/_cjs/chains/definitions/skale/brawl.js +23 -0
- package/_cjs/chains/definitions/skale/brawl.js.map +1 -0
- package/_cjs/chains/definitions/skale/calypso.js +30 -0
- package/_cjs/chains/definitions/skale/calypso.js.map +1 -0
- package/_cjs/chains/definitions/skale/calypsoTestnet.js +33 -0
- package/_cjs/chains/definitions/skale/calypsoTestnet.js.map +1 -0
- package/_cjs/chains/definitions/skale/chaosTestnet.js +33 -0
- package/_cjs/chains/definitions/skale/chaosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/skale/cryptoBlades.js +25 -0
- package/_cjs/chains/definitions/skale/cryptoBlades.js.map +1 -0
- package/_cjs/chains/definitions/skale/cryptoColosseum.js +23 -0
- package/_cjs/chains/definitions/skale/cryptoColosseum.js.map +1 -0
- package/_cjs/chains/definitions/skale/europa.js +28 -0
- package/_cjs/chains/definitions/skale/europa.js.map +1 -0
- package/_cjs/chains/definitions/skale/europaTestnet.js +31 -0
- package/_cjs/chains/definitions/skale/europaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/skale/exorde.js +23 -0
- package/_cjs/chains/definitions/skale/exorde.js.map +1 -0
- package/_cjs/chains/definitions/skale/humanProtocol.js +23 -0
- package/_cjs/chains/definitions/skale/humanProtocol.js.map +1 -0
- package/_cjs/chains/definitions/skale/nebula.js +28 -0
- package/_cjs/chains/definitions/skale/nebula.js.map +1 -0
- package/_cjs/chains/definitions/skale/nebulaTestnet.js +31 -0
- package/_cjs/chains/definitions/skale/nebulaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/skale/razor.js +23 -0
- package/_cjs/chains/definitions/skale/razor.js.map +1 -0
- package/_cjs/chains/definitions/skale/titan.js +28 -0
- package/_cjs/chains/definitions/skale/titan.js.map +1 -0
- package/_cjs/chains/definitions/skale/titanTestnet.js +33 -0
- package/_cjs/chains/definitions/skale/titanTestnet.js.map +1 -0
- package/_cjs/chains/definitions/songbird.js +23 -0
- package/_cjs/chains/definitions/songbird.js.map +1 -0
- package/_cjs/chains/definitions/songbirdTestnet.js +24 -0
- package/_cjs/chains/definitions/songbirdTestnet.js.map +1 -0
- package/_cjs/chains/definitions/spicy.js +34 -0
- package/_cjs/chains/definitions/spicy.js.map +1 -0
- package/_cjs/chains/definitions/syscoin.js +29 -0
- package/_cjs/chains/definitions/syscoin.js.map +1 -0
- package/_cjs/chains/definitions/syscoinTestnet.js +29 -0
- package/_cjs/chains/definitions/syscoinTestnet.js.map +1 -0
- package/_cjs/chains/definitions/taikoJolnir.js +21 -0
- package/_cjs/chains/definitions/taikoJolnir.js.map +1 -0
- package/_cjs/chains/definitions/taikoTestnetSepolia.js +21 -0
- package/_cjs/chains/definitions/taikoTestnetSepolia.js.map +1 -0
- package/_cjs/chains/definitions/taraxa.js +21 -0
- package/_cjs/chains/definitions/taraxa.js.map +1 -0
- package/_cjs/chains/definitions/taraxaTestnet.js +22 -0
- package/_cjs/chains/definitions/taraxaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/telos.js +29 -0
- package/_cjs/chains/definitions/telos.js.map +1 -0
- package/_cjs/chains/definitions/telosTestnet.js +24 -0
- package/_cjs/chains/definitions/telosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/tenet.js +23 -0
- package/_cjs/chains/definitions/tenet.js.map +1 -0
- package/_cjs/chains/definitions/thunderTestnet.js +22 -0
- package/_cjs/chains/definitions/thunderTestnet.js.map +1 -0
- package/_cjs/chains/definitions/vechain.js +25 -0
- package/_cjs/chains/definitions/vechain.js.map +1 -0
- package/_cjs/chains/definitions/wanchain.js +30 -0
- package/_cjs/chains/definitions/wanchain.js.map +1 -0
- package/_cjs/chains/definitions/wanchainTestnet.js +28 -0
- package/_cjs/chains/definitions/wanchainTestnet.js.map +1 -0
- package/_cjs/chains/definitions/xdc.js +21 -0
- package/_cjs/chains/definitions/xdc.js.map +1 -0
- package/_cjs/chains/definitions/xdcTestnet.js +21 -0
- package/_cjs/chains/definitions/xdcTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zetachainAthensTestnet.js +26 -0
- package/_cjs/chains/definitions/zetachainAthensTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zhejiang.js +22 -0
- package/_cjs/chains/definitions/zhejiang.js.map +1 -0
- package/_cjs/chains/definitions/zkSync.js +34 -0
- package/_cjs/chains/definitions/zkSync.js.map +1 -0
- package/_cjs/chains/definitions/zkSyncTestnet.js +31 -0
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zora.js +32 -0
- package/_cjs/chains/definitions/zora.js.map +1 -0
- package/_cjs/chains/definitions/zoraSepolia.js +41 -0
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -0
- package/_cjs/chains/definitions/zoraTestnet.js +36 -0
- package/_cjs/chains/definitions/zoraTestnet.js.map +1 -0
- package/_cjs/chains/index.js +325 -0
- package/_cjs/chains/index.js.map +1 -0
- package/_cjs/chains/opStack/abis.js +77 -0
- package/_cjs/chains/opStack/abis.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Fee.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Gas.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalFee.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalGas.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateL1Fee.js +53 -0
- package/_cjs/chains/opStack/actions/estimateL1Fee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateL1Gas.js +53 -0
- package/_cjs/chains/opStack/actions/estimateL1Gas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateTotalFee.js +18 -0
- package/_cjs/chains/opStack/actions/estimateTotalFee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateTotalGas.js +16 -0
- package/_cjs/chains/opStack/actions/estimateTotalGas.js.map +1 -0
- package/_cjs/chains/opStack/chainConfig.js +10 -0
- package/_cjs/chains/opStack/chainConfig.js.map +1 -0
- package/_cjs/chains/opStack/contracts.js +16 -0
- package/_cjs/chains/opStack/contracts.js.map +1 -0
- package/_cjs/chains/opStack/decorators/public.js +27 -0
- package/_cjs/chains/opStack/decorators/public.js.map +1 -0
- package/_cjs/chains/opStack/formatters.js +54 -0
- package/_cjs/chains/opStack/formatters.js.map +1 -0
- package/_cjs/chains/opStack/index.js +42 -0
- package/_cjs/chains/opStack/index.js.map +1 -0
- package/_cjs/chains/opStack/types.js +3 -0
- package/_cjs/chains/opStack/types.js.map +1 -0
- package/_cjs/chains/utils.js +12 -0
- package/_cjs/chains/utils.js.map +1 -0
- package/_cjs/chains/zksync/chainConfig.js +10 -0
- package/_cjs/chains/zksync/chainConfig.js.map +1 -0
- package/_cjs/chains/zksync/formatters.js +128 -0
- package/_cjs/chains/zksync/formatters.js.map +1 -0
- package/_cjs/chains/zksync/index.js +8 -0
- package/_cjs/chains/zksync/index.js.map +1 -0
- package/_cjs/chains/zksync/serializers.js +74 -0
- package/_cjs/chains/zksync/serializers.js.map +1 -0
- package/_cjs/chains/zksync/types.js +3 -0
- package/_cjs/chains/zksync/types.js.map +1 -0
- package/_cjs/clients/createClient.js +42 -0
- package/_cjs/clients/createClient.js.map +1 -0
- package/_cjs/clients/createPublicClient.js +17 -0
- package/_cjs/clients/createPublicClient.js.map +1 -0
- package/_cjs/clients/createTestClient.js +20 -0
- package/_cjs/clients/createTestClient.js.map +1 -0
- package/_cjs/clients/createWalletClient.js +18 -0
- package/_cjs/clients/createWalletClient.js.map +1 -0
- package/_cjs/clients/decorators/public.js +101 -0
- package/_cjs/clients/decorators/public.js.map +1 -0
- package/_cjs/clients/decorators/test.js +74 -0
- package/_cjs/clients/decorators/test.js.map +1 -0
- package/_cjs/clients/decorators/wallet.js +41 -0
- package/_cjs/clients/decorators/wallet.js.map +1 -0
- package/_cjs/clients/transports/createTransport.js +13 -0
- package/_cjs/clients/transports/createTransport.js.map +1 -0
- package/_cjs/clients/transports/custom.js +17 -0
- package/_cjs/clients/transports/custom.js.map +1 -0
- package/_cjs/clients/transports/fallback.js +122 -0
- package/_cjs/clients/transports/fallback.js.map +1 -0
- package/_cjs/clients/transports/http.js +59 -0
- package/_cjs/clients/transports/http.js.map +1 -0
- package/_cjs/clients/transports/webSocket.js +81 -0
- package/_cjs/clients/transports/webSocket.js.map +1 -0
- package/_cjs/constants/abis.js +1350 -0
- package/_cjs/constants/abis.js.map +1 -0
- package/_cjs/constants/address.js +5 -0
- package/_cjs/constants/address.js.map +1 -0
- package/_cjs/constants/bytes.js +5 -0
- package/_cjs/constants/bytes.js.map +1 -0
- package/_cjs/constants/contract.js +5 -0
- package/_cjs/constants/contract.js.map +1 -0
- package/_cjs/constants/contracts.js +5 -0
- package/_cjs/constants/contracts.js.map +1 -0
- package/_cjs/constants/number.js +101 -0
- package/_cjs/constants/number.js.map +1 -0
- package/_cjs/constants/solidity.js +35 -0
- package/_cjs/constants/solidity.js.map +1 -0
- package/_cjs/constants/strings.js +5 -0
- package/_cjs/constants/strings.js.map +1 -0
- package/_cjs/constants/unit.js +16 -0
- package/_cjs/constants/unit.js.map +1 -0
- package/_cjs/ens/index.js +20 -0
- package/_cjs/ens/index.js.map +1 -0
- package/_cjs/errors/abi.js +461 -0
- package/_cjs/errors/abi.js.map +1 -0
- package/_cjs/errors/account.js +23 -0
- package/_cjs/errors/account.js.map +1 -0
- package/_cjs/errors/address.js +17 -0
- package/_cjs/errors/address.js.map +1 -0
- package/_cjs/errors/base.js +83 -0
- package/_cjs/errors/base.js.map +1 -0
- package/_cjs/errors/block.js +22 -0
- package/_cjs/errors/block.js.map +1 -0
- package/_cjs/errors/ccip.js +69 -0
- package/_cjs/errors/ccip.js.map +1 -0
- package/_cjs/errors/chain.js +86 -0
- package/_cjs/errors/chain.js.map +1 -0
- package/_cjs/errors/contract.js +286 -0
- package/_cjs/errors/contract.js.map +1 -0
- package/_cjs/errors/cursor.js +29 -0
- package/_cjs/errors/cursor.js.map +1 -0
- package/_cjs/errors/data.js +31 -0
- package/_cjs/errors/data.js.map +1 -0
- package/_cjs/errors/encoding.js +65 -0
- package/_cjs/errors/encoding.js.map +1 -0
- package/_cjs/errors/ens.js +59 -0
- package/_cjs/errors/ens.js.map +1 -0
- package/_cjs/errors/estimateGas.js +49 -0
- package/_cjs/errors/estimateGas.js.map +1 -0
- package/_cjs/errors/fee.js +42 -0
- package/_cjs/errors/fee.js.map +1 -0
- package/_cjs/errors/log.js +17 -0
- package/_cjs/errors/log.js.map +1 -0
- package/_cjs/errors/node.js +262 -0
- package/_cjs/errors/node.js.map +1 -0
- package/_cjs/errors/request.js +107 -0
- package/_cjs/errors/request.js.map +1 -0
- package/_cjs/errors/rpc.js +448 -0
- package/_cjs/errors/rpc.js.map +1 -0
- package/_cjs/errors/transaction.js +225 -0
- package/_cjs/errors/transaction.js.map +1 -0
- package/_cjs/errors/transport.js +13 -0
- package/_cjs/errors/transport.js.map +1 -0
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js +486 -0
- package/_cjs/index.js.map +1 -0
- package/_cjs/types/account.js +3 -0
- package/_cjs/types/account.js.map +1 -0
- package/_cjs/types/block.js +3 -0
- package/_cjs/types/block.js.map +1 -0
- package/_cjs/types/chain.js +3 -0
- package/_cjs/types/chain.js.map +1 -0
- package/_cjs/types/contract.js +3 -0
- package/_cjs/types/contract.js.map +1 -0
- package/_cjs/types/eip1193.js +24 -0
- package/_cjs/types/eip1193.js.map +1 -0
- package/_cjs/types/ens.js +3 -0
- package/_cjs/types/ens.js.map +1 -0
- package/_cjs/types/fee.js +3 -0
- package/_cjs/types/fee.js.map +1 -0
- package/_cjs/types/filter.js +3 -0
- package/_cjs/types/filter.js.map +1 -0
- package/_cjs/types/log.js +3 -0
- package/_cjs/types/log.js.map +1 -0
- package/_cjs/types/misc.js +3 -0
- package/_cjs/types/misc.js.map +1 -0
- package/_cjs/types/multicall.js +3 -0
- package/_cjs/types/multicall.js.map +1 -0
- package/_cjs/types/proof.js +3 -0
- package/_cjs/types/proof.js.map +1 -0
- package/_cjs/types/rpc.js +3 -0
- package/_cjs/types/rpc.js.map +1 -0
- package/_cjs/types/transaction.js +3 -0
- package/_cjs/types/transaction.js.map +1 -0
- package/_cjs/types/transport.js +3 -0
- package/_cjs/types/transport.js.map +1 -0
- package/_cjs/types/typedData.js +3 -0
- package/_cjs/types/typedData.js.map +1 -0
- package/_cjs/types/utils.js +3 -0
- package/_cjs/types/utils.js.map +1 -0
- package/_cjs/types/window.js +3 -0
- package/_cjs/types/window.js.map +1 -0
- package/_cjs/types/withdrawal.js +3 -0
- package/_cjs/types/withdrawal.js.map +1 -0
- package/_cjs/utils/abi/decodeAbiParameters.js +210 -0
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -0
- package/_cjs/utils/abi/decodeDeployData.js +22 -0
- package/_cjs/utils/abi/decodeDeployData.js.map +1 -0
- package/_cjs/utils/abi/decodeErrorResult.js +30 -0
- package/_cjs/utils/abi/decodeErrorResult.js.map +1 -0
- package/_cjs/utils/abi/decodeEventLog.js +85 -0
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -0
- package/_cjs/utils/abi/decodeFunctionData.js +28 -0
- package/_cjs/utils/abi/decodeFunctionData.js.map +1 -0
- package/_cjs/utils/abi/decodeFunctionResult.js +29 -0
- package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -0
- package/_cjs/utils/abi/encodeAbiParameters.js +211 -0
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -0
- package/_cjs/utils/abi/encodeDeployData.js +23 -0
- package/_cjs/utils/abi/encodeDeployData.js.map +1 -0
- package/_cjs/utils/abi/encodeErrorResult.js +33 -0
- package/_cjs/utils/abi/encodeErrorResult.js.map +1 -0
- package/_cjs/utils/abi/encodeEventTopics.js +53 -0
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -0
- package/_cjs/utils/abi/encodeFunctionData.js +34 -0
- package/_cjs/utils/abi/encodeFunctionData.js.map +1 -0
- package/_cjs/utils/abi/encodeFunctionResult.js +27 -0
- package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -0
- package/_cjs/utils/abi/encodePacked.js +73 -0
- package/_cjs/utils/abi/encodePacked.js.map +1 -0
- package/_cjs/utils/abi/formatAbiItem.js +27 -0
- package/_cjs/utils/abi/formatAbiItem.js.map +1 -0
- package/_cjs/utils/abi/formatAbiItemWithArgs.js +17 -0
- package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +1 -0
- package/_cjs/utils/abi/getAbiItem.js +84 -0
- package/_cjs/utils/abi/getAbiItem.js.map +1 -0
- package/_cjs/utils/accounts.js +8 -0
- package/_cjs/utils/accounts.js.map +1 -0
- package/_cjs/utils/address/getAddress.js +31 -0
- package/_cjs/utils/address/getAddress.js.map +1 -0
- package/_cjs/utils/address/getContractAddress.js +42 -0
- package/_cjs/utils/address/getContractAddress.js.map +1 -0
- package/_cjs/utils/address/isAddress.js +9 -0
- package/_cjs/utils/address/isAddress.js.map +1 -0
- package/_cjs/utils/address/isAddressEqual.js +14 -0
- package/_cjs/utils/address/isAddressEqual.js.map +1 -0
- package/_cjs/utils/buildRequest.js +93 -0
- package/_cjs/utils/buildRequest.js.map +1 -0
- package/_cjs/utils/ccip.js +121 -0
- package/_cjs/utils/ccip.js.map +1 -0
- package/_cjs/utils/chain/assertCurrentChain.js +12 -0
- package/_cjs/utils/chain/assertCurrentChain.js.map +1 -0
- package/_cjs/utils/chain/defineChain.js +13 -0
- package/_cjs/utils/chain/defineChain.js.map +1 -0
- package/_cjs/utils/chain/extractChain.js +8 -0
- package/_cjs/utils/chain/extractChain.js.map +1 -0
- package/_cjs/utils/chain/getChainContractAddress.js +26 -0
- package/_cjs/utils/chain/getChainContractAddress.js.map +1 -0
- package/_cjs/utils/cursor.js +134 -0
- package/_cjs/utils/cursor.js.map +1 -0
- package/_cjs/utils/data/concat.js +28 -0
- package/_cjs/utils/data/concat.js.map +1 -0
- package/_cjs/utils/data/isBytes.js +14 -0
- package/_cjs/utils/data/isBytes.js.map +1 -0
- package/_cjs/utils/data/isBytesEqual.js +13 -0
- package/_cjs/utils/data/isBytesEqual.js.map +1 -0
- package/_cjs/utils/data/isHex.js +12 -0
- package/_cjs/utils/data/isHex.js.map +1 -0
- package/_cjs/utils/data/pad.js +42 -0
- package/_cjs/utils/data/pad.js.map +1 -0
- package/_cjs/utils/data/size.js +11 -0
- package/_cjs/utils/data/size.js.map +1 -0
- package/_cjs/utils/data/slice.js +54 -0
- package/_cjs/utils/data/slice.js.map +1 -0
- package/_cjs/utils/data/trim.js +25 -0
- package/_cjs/utils/data/trim.js.map +1 -0
- package/_cjs/utils/encoding/fromBytes.js +56 -0
- package/_cjs/utils/encoding/fromBytes.js.map +1 -0
- package/_cjs/utils/encoding/fromHex.js +70 -0
- package/_cjs/utils/encoding/fromHex.js.map +1 -0
- package/_cjs/utils/encoding/fromRlp.js +67 -0
- package/_cjs/utils/encoding/fromRlp.js.map +1 -0
- package/_cjs/utils/encoding/toBytes.js +83 -0
- package/_cjs/utils/encoding/toBytes.js.map +1 -0
- package/_cjs/utils/encoding/toHex.js +79 -0
- package/_cjs/utils/encoding/toHex.js.map +1 -0
- package/_cjs/utils/encoding/toRlp.js +105 -0
- package/_cjs/utils/encoding/toRlp.js.map +1 -0
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js +34 -0
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -0
- package/_cjs/utils/ens/avatar/utils.js +186 -0
- package/_cjs/utils/ens/avatar/utils.js.map +1 -0
- package/_cjs/utils/ens/encodeLabelhash.js +8 -0
- package/_cjs/utils/ens/encodeLabelhash.js.map +1 -0
- package/_cjs/utils/ens/encodedLabelToLabelhash.js +18 -0
- package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -0
- package/_cjs/utils/ens/errors.js +24 -0
- package/_cjs/utils/ens/errors.js.map +1 -0
- package/_cjs/utils/ens/labelhash.js +15 -0
- package/_cjs/utils/ens/labelhash.js.map +1 -0
- package/_cjs/utils/ens/namehash.js +24 -0
- package/_cjs/utils/ens/namehash.js.map +1 -0
- package/_cjs/utils/ens/normalize.js +9 -0
- package/_cjs/utils/ens/normalize.js.map +1 -0
- package/_cjs/utils/ens/packetToBytes.js +27 -0
- package/_cjs/utils/ens/packetToBytes.js.map +1 -0
- package/_cjs/utils/errors/getCallError.js +20 -0
- package/_cjs/utils/errors/getCallError.js.map +1 -0
- package/_cjs/utils/errors/getContractError.js +39 -0
- package/_cjs/utils/errors/getContractError.js.map +1 -0
- package/_cjs/utils/errors/getEstimateGasError.js +20 -0
- package/_cjs/utils/errors/getEstimateGasError.js.map +1 -0
- package/_cjs/utils/errors/getNodeError.js +65 -0
- package/_cjs/utils/errors/getNodeError.js.map +1 -0
- package/_cjs/utils/errors/getTransactionError.js +20 -0
- package/_cjs/utils/errors/getTransactionError.js.map +1 -0
- package/_cjs/utils/filters/createFilterRequestScope.js +14 -0
- package/_cjs/utils/filters/createFilterRequestScope.js.map +1 -0
- package/_cjs/utils/formatters/block.js +32 -0
- package/_cjs/utils/formatters/block.js.map +1 -0
- package/_cjs/utils/formatters/extract.js +24 -0
- package/_cjs/utils/formatters/extract.js.map +1 -0
- package/_cjs/utils/formatters/feeHistory.js +13 -0
- package/_cjs/utils/formatters/feeHistory.js.map +1 -0
- package/_cjs/utils/formatters/formatter.js +25 -0
- package/_cjs/utils/formatters/formatter.js.map +1 -0
- package/_cjs/utils/formatters/log.js +18 -0
- package/_cjs/utils/formatters/log.js.map +1 -0
- package/_cjs/utils/formatters/proof.js +22 -0
- package/_cjs/utils/formatters/proof.js.map +1 -0
- package/_cjs/utils/formatters/transaction.js +66 -0
- package/_cjs/utils/formatters/transaction.js.map +1 -0
- package/_cjs/utils/formatters/transactionReceipt.js +47 -0
- package/_cjs/utils/formatters/transactionReceipt.js.map +1 -0
- package/_cjs/utils/formatters/transactionRequest.js +39 -0
- package/_cjs/utils/formatters/transactionRequest.js.map +1 -0
- package/_cjs/utils/getAction.js +8 -0
- package/_cjs/utils/getAction.js.map +1 -0
- package/_cjs/utils/hash/getEventSelector.js +10 -0
- package/_cjs/utils/hash/getEventSelector.js.map +1 -0
- package/_cjs/utils/hash/getEventSignature.js +9 -0
- package/_cjs/utils/hash/getEventSignature.js.map +1 -0
- package/_cjs/utils/hash/getFunctionSelector.js +11 -0
- package/_cjs/utils/hash/getFunctionSelector.js.map +1 -0
- package/_cjs/utils/hash/getFunctionSignature.js +15 -0
- package/_cjs/utils/hash/getFunctionSignature.js.map +1 -0
- package/_cjs/utils/hash/hashFunction.js +17 -0
- package/_cjs/utils/hash/hashFunction.js.map +1 -0
- package/_cjs/utils/hash/isHash.js +10 -0
- package/_cjs/utils/hash/isHash.js.map +1 -0
- package/_cjs/utils/hash/keccak256.js +16 -0
- package/_cjs/utils/hash/keccak256.js.map +1 -0
- package/_cjs/utils/hash/normalizeSignature.js +48 -0
- package/_cjs/utils/hash/normalizeSignature.js.map +1 -0
- package/_cjs/utils/index.js +213 -0
- package/_cjs/utils/index.js.map +1 -0
- package/_cjs/utils/observe.js +42 -0
- package/_cjs/utils/observe.js.map +1 -0
- package/_cjs/utils/poll.js +27 -0
- package/_cjs/utils/poll.js.map +1 -0
- package/_cjs/utils/promise/createBatchScheduler.js +49 -0
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -0
- package/_cjs/utils/promise/withCache.js +47 -0
- package/_cjs/utils/promise/withCache.js.map +1 -0
- package/_cjs/utils/promise/withRetry.js +29 -0
- package/_cjs/utils/promise/withRetry.js.map +1 -0
- package/_cjs/utils/promise/withTimeout.js +35 -0
- package/_cjs/utils/promise/withTimeout.js.map +1 -0
- package/_cjs/utils/regex.js +7 -0
- package/_cjs/utils/regex.js.map +1 -0
- package/_cjs/utils/rpc.js +154 -0
- package/_cjs/utils/rpc.js.map +1 -0
- package/_cjs/utils/signature/compactSignatureToHex.js +10 -0
- package/_cjs/utils/signature/compactSignatureToHex.js.map +1 -0
- package/_cjs/utils/signature/compactSignatureToSignature.js +15 -0
- package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -0
- package/_cjs/utils/signature/hashMessage.js +20 -0
- package/_cjs/utils/signature/hashMessage.js.map +1 -0
- package/_cjs/utils/signature/hashTypedData.js +124 -0
- package/_cjs/utils/signature/hashTypedData.js.map +1 -0
- package/_cjs/utils/signature/hexToCompactSignature.js +14 -0
- package/_cjs/utils/signature/hexToCompactSignature.js.map +1 -0
- package/_cjs/utils/signature/hexToSignature.js +12 -0
- package/_cjs/utils/signature/hexToSignature.js.map +1 -0
- package/_cjs/utils/signature/recoverAddress.js +10 -0
- package/_cjs/utils/signature/recoverAddress.js.map +1 -0
- package/_cjs/utils/signature/recoverMessageAddress.js +10 -0
- package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -0
- package/_cjs/utils/signature/recoverPublicKey.js +21 -0
- package/_cjs/utils/signature/recoverPublicKey.js.map +1 -0
- package/_cjs/utils/signature/recoverTypedDataAddress.js +19 -0
- package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -0
- package/_cjs/utils/signature/signatureToCompactSignature.js +17 -0
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -0
- package/_cjs/utils/signature/signatureToHex.js +11 -0
- package/_cjs/utils/signature/signatureToHex.js.map +1 -0
- package/_cjs/utils/signature/verifyMessage.js +11 -0
- package/_cjs/utils/signature/verifyMessage.js.map +1 -0
- package/_cjs/utils/signature/verifyTypedData.js +18 -0
- package/_cjs/utils/signature/verifyTypedData.js.map +1 -0
- package/_cjs/utils/stringify.js +9 -0
- package/_cjs/utils/stringify.js.map +1 -0
- package/_cjs/utils/transaction/assertRequest.js +28 -0
- package/_cjs/utils/transaction/assertRequest.js.map +1 -0
- package/_cjs/utils/transaction/assertTransaction.js +51 -0
- package/_cjs/utils/transaction/assertTransaction.js.map +1 -0
- package/_cjs/utils/transaction/getSerializedTransactionType.js +18 -0
- package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -0
- package/_cjs/utils/transaction/getTransactionType.js +19 -0
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -0
- package/_cjs/utils/transaction/parseTransaction.js +213 -0
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -0
- package/_cjs/utils/transaction/serializeAccessList.js +26 -0
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -0
- package/_cjs/utils/transaction/serializeTransaction.js +123 -0
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -0
- package/_cjs/utils/typedData.js +75 -0
- package/_cjs/utils/typedData.js.map +1 -0
- package/_cjs/utils/uid.js +18 -0
- package/_cjs/utils/uid.js.map +1 -0
- package/_cjs/utils/unit/formatEther.js +10 -0
- package/_cjs/utils/unit/formatEther.js.map +1 -0
- package/_cjs/utils/unit/formatGwei.js +10 -0
- package/_cjs/utils/unit/formatGwei.js.map +1 -0
- package/_cjs/utils/unit/formatUnits.js +18 -0
- package/_cjs/utils/unit/formatUnits.js.map +1 -0
- package/_cjs/utils/unit/parseEther.js +10 -0
- package/_cjs/utils/unit/parseEther.js.map +1 -0
- package/_cjs/utils/unit/parseGwei.js +10 -0
- package/_cjs/utils/unit/parseGwei.js.map +1 -0
- package/_cjs/utils/unit/parseUnits.js +38 -0
- package/_cjs/utils/unit/parseUnits.js.map +1 -0
- package/_cjs/utils/wait.js +8 -0
- package/_cjs/utils/wait.js.map +1 -0
- package/_cjs/window/index.js +4 -0
- package/_cjs/window/index.js.map +1 -0
- package/_esm/actions/test/dumpState.js +26 -0
- package/_esm/actions/test/dumpState.js.map +1 -0
- package/_esm/actions/test/loadState.js +27 -0
- package/_esm/actions/test/loadState.js.map +1 -0
- package/_esm/chains/celo/formatters.js.map +1 -1
- package/_esm/chains/definitions/chiliz.js +23 -0
- package/_esm/chains/definitions/chiliz.js.map +1 -0
- package/_esm/chains/definitions/lukso.js +28 -0
- package/_esm/chains/definitions/lukso.js.map +1 -0
- package/_esm/chains/definitions/spicy.js +31 -0
- package/_esm/chains/definitions/spicy.js.map +1 -0
- package/_esm/chains/index.js +3 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/opStack/decorators/public.js +1 -1
- package/_esm/chains/opStack/decorators/public.js.map +1 -1
- package/_esm/chains/opStack/index.js +1 -1
- package/_esm/chains/opStack/index.js.map +1 -1
- package/_esm/clients/decorators/test.js +4 -0
- package/_esm/clients/decorators/test.js.map +1 -1
- package/_esm/constants/bytes.js +2 -0
- package/_esm/constants/bytes.js.map +1 -0
- package/_esm/constants/strings.js +2 -0
- package/_esm/constants/strings.js.map +1 -0
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js +2 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/formatters/transaction.js +19 -1
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_esm/utils/signature/hashMessage.js +2 -1
- package/_esm/utils/signature/hashMessage.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +20 -6
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_types/actions/test/dumpState.d.ts +31 -0
- package/_types/actions/test/dumpState.d.ts.map +1 -0
- package/_types/actions/test/loadState.d.ts +34 -0
- package/_types/actions/test/loadState.d.ts.map +1 -0
- package/_types/chains/celo/chainConfig.d.ts +193 -163
- package/_types/chains/celo/chainConfig.d.ts.map +1 -1
- package/_types/chains/celo/formatters.d.ts +193 -163
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/celo/types.d.ts +2 -0
- package/_types/chains/celo/types.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +149 -131
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +149 -131
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +149 -131
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +193 -163
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +193 -163
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +193 -163
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/chiliz.d.ts +35 -0
- package/_types/chains/definitions/chiliz.d.ts.map +1 -0
- package/_types/chains/definitions/lukso.d.ts +40 -0
- package/_types/chains/definitions/lukso.d.ts.map +1 -0
- package/_types/chains/definitions/optimism.d.ts +149 -131
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +149 -131
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +149 -131
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/spicy.d.ts +36 -0
- package/_types/chains/definitions/spicy.d.ts.map +1 -0
- package/_types/chains/definitions/zkSync.d.ts +11 -0
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +11 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +149 -131
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +149 -131
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +149 -131
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +5 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/opStack/chainConfig.d.ts +145 -127
- package/_types/chains/opStack/chainConfig.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/public.d.ts +18 -18
- package/_types/chains/opStack/decorators/public.d.ts.map +1 -1
- package/_types/chains/opStack/formatters.d.ts +145 -127
- package/_types/chains/opStack/formatters.d.ts.map +1 -1
- package/_types/chains/opStack/index.d.ts +1 -1
- package/_types/chains/opStack/index.d.ts.map +1 -1
- package/_types/chains/zksync/chainConfig.d.ts +11 -0
- package/_types/chains/zksync/chainConfig.d.ts.map +1 -1
- package/_types/chains/zksync/formatters.d.ts +11 -0
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- package/_types/clients/decorators/test.d.ts +41 -0
- package/_types/clients/decorators/test.d.ts.map +1 -1
- package/_types/constants/bytes.d.ts +2 -0
- package/_types/constants/bytes.d.ts.map +1 -0
- package/_types/constants/strings.d.ts +2 -0
- package/_types/constants/strings.d.ts.map +1 -0
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +2 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +16 -0
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/types/rpc.d.ts +2 -2
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +10 -1
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/utils.d.ts +16 -0
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/utils/signature/hashMessage.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/actions/test/dumpState.ts +44 -0
- package/actions/test/loadState.ts +47 -0
- package/chains/celo/formatters.ts +0 -1
- package/chains/celo/types.ts +2 -0
- package/chains/definitions/chiliz.ts +23 -0
- package/chains/definitions/lukso.ts +28 -0
- package/chains/definitions/spicy.ts +31 -0
- package/chains/index.ts +21 -3
- package/chains/opStack/decorators/public.ts +19 -19
- package/chains/opStack/index.ts +1 -1
- package/clients/decorators/test.ts +50 -0
- package/constants/bytes.ts +2 -0
- package/constants/strings.ts +1 -0
- package/errors/version.ts +1 -1
- package/index.ts +2 -0
- package/package.json +34 -11
- package/types/eip1193.ts +16 -0
- package/types/rpc.ts +10 -5
- package/types/transaction.ts +10 -1
- package/types/utils.ts +20 -0
- package/utils/formatters/transaction.ts +20 -3
- package/utils/signature/hashMessage.ts +2 -1
- package/utils/transaction/serializeTransaction.ts +18 -12
@@ -0,0 +1,1350 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.erc4626Abi = exports.erc721Abi = exports.erc20Abi_bytes32 = exports.erc20Abi = exports.universalSignatureValidatorAbi = exports.smartAccountAbi = exports.addressResolverAbi = exports.textResolverAbi = exports.universalResolverReverseAbi = exports.universalResolverResolveAbi = exports.multicall3Abi = void 0;
|
4
|
+
exports.multicall3Abi = [
|
5
|
+
{
|
6
|
+
inputs: [
|
7
|
+
{
|
8
|
+
components: [
|
9
|
+
{
|
10
|
+
name: 'target',
|
11
|
+
type: 'address',
|
12
|
+
},
|
13
|
+
{
|
14
|
+
name: 'allowFailure',
|
15
|
+
type: 'bool',
|
16
|
+
},
|
17
|
+
{
|
18
|
+
name: 'callData',
|
19
|
+
type: 'bytes',
|
20
|
+
},
|
21
|
+
],
|
22
|
+
name: 'calls',
|
23
|
+
type: 'tuple[]',
|
24
|
+
},
|
25
|
+
],
|
26
|
+
name: 'aggregate3',
|
27
|
+
outputs: [
|
28
|
+
{
|
29
|
+
components: [
|
30
|
+
{
|
31
|
+
name: 'success',
|
32
|
+
type: 'bool',
|
33
|
+
},
|
34
|
+
{
|
35
|
+
name: 'returnData',
|
36
|
+
type: 'bytes',
|
37
|
+
},
|
38
|
+
],
|
39
|
+
name: 'returnData',
|
40
|
+
type: 'tuple[]',
|
41
|
+
},
|
42
|
+
],
|
43
|
+
stateMutability: 'view',
|
44
|
+
type: 'function',
|
45
|
+
},
|
46
|
+
];
|
47
|
+
const universalResolverErrors = [
|
48
|
+
{
|
49
|
+
inputs: [],
|
50
|
+
name: 'ResolverNotFound',
|
51
|
+
type: 'error',
|
52
|
+
},
|
53
|
+
{
|
54
|
+
inputs: [],
|
55
|
+
name: 'ResolverWildcardNotSupported',
|
56
|
+
type: 'error',
|
57
|
+
},
|
58
|
+
];
|
59
|
+
exports.universalResolverResolveAbi = [
|
60
|
+
...universalResolverErrors,
|
61
|
+
{
|
62
|
+
name: 'resolve',
|
63
|
+
type: 'function',
|
64
|
+
stateMutability: 'view',
|
65
|
+
inputs: [
|
66
|
+
{ name: 'name', type: 'bytes' },
|
67
|
+
{ name: 'data', type: 'bytes' },
|
68
|
+
],
|
69
|
+
outputs: [
|
70
|
+
{ name: '', type: 'bytes' },
|
71
|
+
{ name: 'address', type: 'address' },
|
72
|
+
],
|
73
|
+
},
|
74
|
+
];
|
75
|
+
exports.universalResolverReverseAbi = [
|
76
|
+
...universalResolverErrors,
|
77
|
+
{
|
78
|
+
name: 'reverse',
|
79
|
+
type: 'function',
|
80
|
+
stateMutability: 'view',
|
81
|
+
inputs: [{ type: 'bytes', name: 'reverseName' }],
|
82
|
+
outputs: [
|
83
|
+
{ type: 'string', name: 'resolvedName' },
|
84
|
+
{ type: 'address', name: 'resolvedAddress' },
|
85
|
+
{ type: 'address', name: 'reverseResolver' },
|
86
|
+
{ type: 'address', name: 'resolver' },
|
87
|
+
],
|
88
|
+
},
|
89
|
+
];
|
90
|
+
exports.textResolverAbi = [
|
91
|
+
{
|
92
|
+
name: 'text',
|
93
|
+
type: 'function',
|
94
|
+
stateMutability: 'view',
|
95
|
+
inputs: [
|
96
|
+
{ name: 'name', type: 'bytes32' },
|
97
|
+
{ name: 'key', type: 'string' },
|
98
|
+
],
|
99
|
+
outputs: [{ name: '', type: 'string' }],
|
100
|
+
},
|
101
|
+
];
|
102
|
+
exports.addressResolverAbi = [
|
103
|
+
{
|
104
|
+
name: 'addr',
|
105
|
+
type: 'function',
|
106
|
+
stateMutability: 'view',
|
107
|
+
inputs: [{ name: 'name', type: 'bytes32' }],
|
108
|
+
outputs: [{ name: '', type: 'address' }],
|
109
|
+
},
|
110
|
+
{
|
111
|
+
name: 'addr',
|
112
|
+
type: 'function',
|
113
|
+
stateMutability: 'view',
|
114
|
+
inputs: [
|
115
|
+
{ name: 'name', type: 'bytes32' },
|
116
|
+
{ name: 'coinType', type: 'uint256' },
|
117
|
+
],
|
118
|
+
outputs: [{ name: '', type: 'bytes' }],
|
119
|
+
},
|
120
|
+
];
|
121
|
+
exports.smartAccountAbi = [
|
122
|
+
{
|
123
|
+
name: 'isValidSignature',
|
124
|
+
type: 'function',
|
125
|
+
stateMutability: 'view',
|
126
|
+
inputs: [
|
127
|
+
{ name: 'hash', type: 'bytes32' },
|
128
|
+
{ name: 'signature', type: 'bytes' },
|
129
|
+
],
|
130
|
+
outputs: [{ name: '', type: 'bytes4' }],
|
131
|
+
},
|
132
|
+
];
|
133
|
+
exports.universalSignatureValidatorAbi = [
|
134
|
+
{
|
135
|
+
inputs: [
|
136
|
+
{
|
137
|
+
internalType: 'address',
|
138
|
+
name: '_signer',
|
139
|
+
type: 'address',
|
140
|
+
},
|
141
|
+
{
|
142
|
+
internalType: 'bytes32',
|
143
|
+
name: '_hash',
|
144
|
+
type: 'bytes32',
|
145
|
+
},
|
146
|
+
{
|
147
|
+
internalType: 'bytes',
|
148
|
+
name: '_signature',
|
149
|
+
type: 'bytes',
|
150
|
+
},
|
151
|
+
],
|
152
|
+
stateMutability: 'nonpayable',
|
153
|
+
type: 'constructor',
|
154
|
+
},
|
155
|
+
];
|
156
|
+
exports.erc20Abi = [
|
157
|
+
{
|
158
|
+
type: 'event',
|
159
|
+
name: 'Approval',
|
160
|
+
inputs: [
|
161
|
+
{
|
162
|
+
indexed: true,
|
163
|
+
name: 'owner',
|
164
|
+
type: 'address',
|
165
|
+
},
|
166
|
+
{
|
167
|
+
indexed: true,
|
168
|
+
name: 'spender',
|
169
|
+
type: 'address',
|
170
|
+
},
|
171
|
+
{
|
172
|
+
indexed: false,
|
173
|
+
name: 'value',
|
174
|
+
type: 'uint256',
|
175
|
+
},
|
176
|
+
],
|
177
|
+
},
|
178
|
+
{
|
179
|
+
type: 'event',
|
180
|
+
name: 'Transfer',
|
181
|
+
inputs: [
|
182
|
+
{
|
183
|
+
indexed: true,
|
184
|
+
name: 'from',
|
185
|
+
type: 'address',
|
186
|
+
},
|
187
|
+
{
|
188
|
+
indexed: true,
|
189
|
+
name: 'to',
|
190
|
+
type: 'address',
|
191
|
+
},
|
192
|
+
{
|
193
|
+
indexed: false,
|
194
|
+
name: 'value',
|
195
|
+
type: 'uint256',
|
196
|
+
},
|
197
|
+
],
|
198
|
+
},
|
199
|
+
{
|
200
|
+
type: 'function',
|
201
|
+
name: 'allowance',
|
202
|
+
stateMutability: 'view',
|
203
|
+
inputs: [
|
204
|
+
{
|
205
|
+
name: 'owner',
|
206
|
+
type: 'address',
|
207
|
+
},
|
208
|
+
{
|
209
|
+
name: 'spender',
|
210
|
+
type: 'address',
|
211
|
+
},
|
212
|
+
],
|
213
|
+
outputs: [
|
214
|
+
{
|
215
|
+
type: 'uint256',
|
216
|
+
},
|
217
|
+
],
|
218
|
+
},
|
219
|
+
{
|
220
|
+
type: 'function',
|
221
|
+
name: 'approve',
|
222
|
+
stateMutability: 'nonpayable',
|
223
|
+
inputs: [
|
224
|
+
{
|
225
|
+
name: 'spender',
|
226
|
+
type: 'address',
|
227
|
+
},
|
228
|
+
{
|
229
|
+
name: 'amount',
|
230
|
+
type: 'uint256',
|
231
|
+
},
|
232
|
+
],
|
233
|
+
outputs: [
|
234
|
+
{
|
235
|
+
type: 'bool',
|
236
|
+
},
|
237
|
+
],
|
238
|
+
},
|
239
|
+
{
|
240
|
+
type: 'function',
|
241
|
+
name: 'balanceOf',
|
242
|
+
stateMutability: 'view',
|
243
|
+
inputs: [
|
244
|
+
{
|
245
|
+
name: 'account',
|
246
|
+
type: 'address',
|
247
|
+
},
|
248
|
+
],
|
249
|
+
outputs: [
|
250
|
+
{
|
251
|
+
type: 'uint256',
|
252
|
+
},
|
253
|
+
],
|
254
|
+
},
|
255
|
+
{
|
256
|
+
type: 'function',
|
257
|
+
name: 'decimals',
|
258
|
+
stateMutability: 'view',
|
259
|
+
inputs: [],
|
260
|
+
outputs: [
|
261
|
+
{
|
262
|
+
type: 'uint8',
|
263
|
+
},
|
264
|
+
],
|
265
|
+
},
|
266
|
+
{
|
267
|
+
type: 'function',
|
268
|
+
name: 'name',
|
269
|
+
stateMutability: 'view',
|
270
|
+
inputs: [],
|
271
|
+
outputs: [
|
272
|
+
{
|
273
|
+
type: 'string',
|
274
|
+
},
|
275
|
+
],
|
276
|
+
},
|
277
|
+
{
|
278
|
+
type: 'function',
|
279
|
+
name: 'symbol',
|
280
|
+
stateMutability: 'view',
|
281
|
+
inputs: [],
|
282
|
+
outputs: [
|
283
|
+
{
|
284
|
+
type: 'string',
|
285
|
+
},
|
286
|
+
],
|
287
|
+
},
|
288
|
+
{
|
289
|
+
type: 'function',
|
290
|
+
name: 'totalSupply',
|
291
|
+
stateMutability: 'view',
|
292
|
+
inputs: [],
|
293
|
+
outputs: [
|
294
|
+
{
|
295
|
+
type: 'uint256',
|
296
|
+
},
|
297
|
+
],
|
298
|
+
},
|
299
|
+
{
|
300
|
+
type: 'function',
|
301
|
+
name: 'transfer',
|
302
|
+
stateMutability: 'nonpayable',
|
303
|
+
inputs: [
|
304
|
+
{
|
305
|
+
name: 'recipient',
|
306
|
+
type: 'address',
|
307
|
+
},
|
308
|
+
{
|
309
|
+
name: 'amount',
|
310
|
+
type: 'uint256',
|
311
|
+
},
|
312
|
+
],
|
313
|
+
outputs: [
|
314
|
+
{
|
315
|
+
type: 'bool',
|
316
|
+
},
|
317
|
+
],
|
318
|
+
},
|
319
|
+
{
|
320
|
+
type: 'function',
|
321
|
+
name: 'transferFrom',
|
322
|
+
stateMutability: 'nonpayable',
|
323
|
+
inputs: [
|
324
|
+
{
|
325
|
+
name: 'sender',
|
326
|
+
type: 'address',
|
327
|
+
},
|
328
|
+
{
|
329
|
+
name: 'recipient',
|
330
|
+
type: 'address',
|
331
|
+
},
|
332
|
+
{
|
333
|
+
name: 'amount',
|
334
|
+
type: 'uint256',
|
335
|
+
},
|
336
|
+
],
|
337
|
+
outputs: [
|
338
|
+
{
|
339
|
+
type: 'bool',
|
340
|
+
},
|
341
|
+
],
|
342
|
+
},
|
343
|
+
];
|
344
|
+
exports.erc20Abi_bytes32 = [
|
345
|
+
{
|
346
|
+
type: 'event',
|
347
|
+
name: 'Approval',
|
348
|
+
inputs: [
|
349
|
+
{
|
350
|
+
indexed: true,
|
351
|
+
name: 'owner',
|
352
|
+
type: 'address',
|
353
|
+
},
|
354
|
+
{
|
355
|
+
indexed: true,
|
356
|
+
name: 'spender',
|
357
|
+
type: 'address',
|
358
|
+
},
|
359
|
+
{
|
360
|
+
indexed: false,
|
361
|
+
name: 'value',
|
362
|
+
type: 'uint256',
|
363
|
+
},
|
364
|
+
],
|
365
|
+
},
|
366
|
+
{
|
367
|
+
type: 'event',
|
368
|
+
name: 'Transfer',
|
369
|
+
inputs: [
|
370
|
+
{
|
371
|
+
indexed: true,
|
372
|
+
name: 'from',
|
373
|
+
type: 'address',
|
374
|
+
},
|
375
|
+
{
|
376
|
+
indexed: true,
|
377
|
+
name: 'to',
|
378
|
+
type: 'address',
|
379
|
+
},
|
380
|
+
{
|
381
|
+
indexed: false,
|
382
|
+
name: 'value',
|
383
|
+
type: 'uint256',
|
384
|
+
},
|
385
|
+
],
|
386
|
+
},
|
387
|
+
{
|
388
|
+
type: 'function',
|
389
|
+
name: 'allowance',
|
390
|
+
stateMutability: 'view',
|
391
|
+
inputs: [
|
392
|
+
{
|
393
|
+
name: 'owner',
|
394
|
+
type: 'address',
|
395
|
+
},
|
396
|
+
{
|
397
|
+
name: 'spender',
|
398
|
+
type: 'address',
|
399
|
+
},
|
400
|
+
],
|
401
|
+
outputs: [
|
402
|
+
{
|
403
|
+
type: 'uint256',
|
404
|
+
},
|
405
|
+
],
|
406
|
+
},
|
407
|
+
{
|
408
|
+
type: 'function',
|
409
|
+
name: 'approve',
|
410
|
+
stateMutability: 'nonpayable',
|
411
|
+
inputs: [
|
412
|
+
{
|
413
|
+
name: 'spender',
|
414
|
+
type: 'address',
|
415
|
+
},
|
416
|
+
{
|
417
|
+
name: 'amount',
|
418
|
+
type: 'uint256',
|
419
|
+
},
|
420
|
+
],
|
421
|
+
outputs: [
|
422
|
+
{
|
423
|
+
type: 'bool',
|
424
|
+
},
|
425
|
+
],
|
426
|
+
},
|
427
|
+
{
|
428
|
+
type: 'function',
|
429
|
+
name: 'balanceOf',
|
430
|
+
stateMutability: 'view',
|
431
|
+
inputs: [
|
432
|
+
{
|
433
|
+
name: 'account',
|
434
|
+
type: 'address',
|
435
|
+
},
|
436
|
+
],
|
437
|
+
outputs: [
|
438
|
+
{
|
439
|
+
type: 'uint256',
|
440
|
+
},
|
441
|
+
],
|
442
|
+
},
|
443
|
+
{
|
444
|
+
type: 'function',
|
445
|
+
name: 'decimals',
|
446
|
+
stateMutability: 'view',
|
447
|
+
inputs: [],
|
448
|
+
outputs: [
|
449
|
+
{
|
450
|
+
type: 'uint8',
|
451
|
+
},
|
452
|
+
],
|
453
|
+
},
|
454
|
+
{
|
455
|
+
type: 'function',
|
456
|
+
name: 'name',
|
457
|
+
stateMutability: 'view',
|
458
|
+
inputs: [],
|
459
|
+
outputs: [
|
460
|
+
{
|
461
|
+
type: 'bytes32',
|
462
|
+
},
|
463
|
+
],
|
464
|
+
},
|
465
|
+
{
|
466
|
+
type: 'function',
|
467
|
+
name: 'symbol',
|
468
|
+
stateMutability: 'view',
|
469
|
+
inputs: [],
|
470
|
+
outputs: [
|
471
|
+
{
|
472
|
+
type: 'bytes32',
|
473
|
+
},
|
474
|
+
],
|
475
|
+
},
|
476
|
+
{
|
477
|
+
type: 'function',
|
478
|
+
name: 'totalSupply',
|
479
|
+
stateMutability: 'view',
|
480
|
+
inputs: [],
|
481
|
+
outputs: [
|
482
|
+
{
|
483
|
+
type: 'uint256',
|
484
|
+
},
|
485
|
+
],
|
486
|
+
},
|
487
|
+
{
|
488
|
+
type: 'function',
|
489
|
+
name: 'transfer',
|
490
|
+
stateMutability: 'nonpayable',
|
491
|
+
inputs: [
|
492
|
+
{
|
493
|
+
name: 'recipient',
|
494
|
+
type: 'address',
|
495
|
+
},
|
496
|
+
{
|
497
|
+
name: 'amount',
|
498
|
+
type: 'uint256',
|
499
|
+
},
|
500
|
+
],
|
501
|
+
outputs: [
|
502
|
+
{
|
503
|
+
type: 'bool',
|
504
|
+
},
|
505
|
+
],
|
506
|
+
},
|
507
|
+
{
|
508
|
+
type: 'function',
|
509
|
+
name: 'transferFrom',
|
510
|
+
stateMutability: 'nonpayable',
|
511
|
+
inputs: [
|
512
|
+
{
|
513
|
+
name: 'sender',
|
514
|
+
type: 'address',
|
515
|
+
},
|
516
|
+
{
|
517
|
+
name: 'recipient',
|
518
|
+
type: 'address',
|
519
|
+
},
|
520
|
+
{
|
521
|
+
name: 'amount',
|
522
|
+
type: 'uint256',
|
523
|
+
},
|
524
|
+
],
|
525
|
+
outputs: [
|
526
|
+
{
|
527
|
+
type: 'bool',
|
528
|
+
},
|
529
|
+
],
|
530
|
+
},
|
531
|
+
];
|
532
|
+
exports.erc721Abi = [
|
533
|
+
{
|
534
|
+
type: 'event',
|
535
|
+
name: 'Approval',
|
536
|
+
inputs: [
|
537
|
+
{
|
538
|
+
indexed: true,
|
539
|
+
name: 'owner',
|
540
|
+
type: 'address',
|
541
|
+
},
|
542
|
+
{
|
543
|
+
indexed: true,
|
544
|
+
name: 'spender',
|
545
|
+
type: 'address',
|
546
|
+
},
|
547
|
+
{
|
548
|
+
indexed: true,
|
549
|
+
name: 'tokenId',
|
550
|
+
type: 'uint256',
|
551
|
+
},
|
552
|
+
],
|
553
|
+
},
|
554
|
+
{
|
555
|
+
type: 'event',
|
556
|
+
name: 'ApprovalForAll',
|
557
|
+
inputs: [
|
558
|
+
{
|
559
|
+
indexed: true,
|
560
|
+
name: 'owner',
|
561
|
+
type: 'address',
|
562
|
+
},
|
563
|
+
{
|
564
|
+
indexed: true,
|
565
|
+
name: 'operator',
|
566
|
+
type: 'address',
|
567
|
+
},
|
568
|
+
{
|
569
|
+
indexed: false,
|
570
|
+
name: 'approved',
|
571
|
+
type: 'bool',
|
572
|
+
},
|
573
|
+
],
|
574
|
+
},
|
575
|
+
{
|
576
|
+
type: 'event',
|
577
|
+
name: 'Transfer',
|
578
|
+
inputs: [
|
579
|
+
{
|
580
|
+
indexed: true,
|
581
|
+
name: 'from',
|
582
|
+
type: 'address',
|
583
|
+
},
|
584
|
+
{
|
585
|
+
indexed: true,
|
586
|
+
name: 'to',
|
587
|
+
type: 'address',
|
588
|
+
},
|
589
|
+
{
|
590
|
+
indexed: true,
|
591
|
+
name: 'tokenId',
|
592
|
+
type: 'uint256',
|
593
|
+
},
|
594
|
+
],
|
595
|
+
},
|
596
|
+
{
|
597
|
+
type: 'function',
|
598
|
+
name: 'approve',
|
599
|
+
stateMutability: 'payable',
|
600
|
+
inputs: [
|
601
|
+
{
|
602
|
+
name: 'spender',
|
603
|
+
type: 'address',
|
604
|
+
},
|
605
|
+
{
|
606
|
+
name: 'tokenId',
|
607
|
+
type: 'uint256',
|
608
|
+
},
|
609
|
+
],
|
610
|
+
outputs: [],
|
611
|
+
},
|
612
|
+
{
|
613
|
+
type: 'function',
|
614
|
+
name: 'balanceOf',
|
615
|
+
stateMutability: 'view',
|
616
|
+
inputs: [
|
617
|
+
{
|
618
|
+
name: 'account',
|
619
|
+
type: 'address',
|
620
|
+
},
|
621
|
+
],
|
622
|
+
outputs: [
|
623
|
+
{
|
624
|
+
type: 'uint256',
|
625
|
+
},
|
626
|
+
],
|
627
|
+
},
|
628
|
+
{
|
629
|
+
type: 'function',
|
630
|
+
name: 'getApproved',
|
631
|
+
stateMutability: 'view',
|
632
|
+
inputs: [
|
633
|
+
{
|
634
|
+
name: 'tokenId',
|
635
|
+
type: 'uint256',
|
636
|
+
},
|
637
|
+
],
|
638
|
+
outputs: [
|
639
|
+
{
|
640
|
+
type: 'address',
|
641
|
+
},
|
642
|
+
],
|
643
|
+
},
|
644
|
+
{
|
645
|
+
type: 'function',
|
646
|
+
name: 'isApprovedForAll',
|
647
|
+
stateMutability: 'view',
|
648
|
+
inputs: [
|
649
|
+
{
|
650
|
+
name: 'owner',
|
651
|
+
type: 'address',
|
652
|
+
},
|
653
|
+
{
|
654
|
+
name: 'operator',
|
655
|
+
type: 'address',
|
656
|
+
},
|
657
|
+
],
|
658
|
+
outputs: [
|
659
|
+
{
|
660
|
+
type: 'bool',
|
661
|
+
},
|
662
|
+
],
|
663
|
+
},
|
664
|
+
{
|
665
|
+
type: 'function',
|
666
|
+
name: 'name',
|
667
|
+
stateMutability: 'view',
|
668
|
+
inputs: [],
|
669
|
+
outputs: [
|
670
|
+
{
|
671
|
+
type: 'string',
|
672
|
+
},
|
673
|
+
],
|
674
|
+
},
|
675
|
+
{
|
676
|
+
type: 'function',
|
677
|
+
name: 'ownerOf',
|
678
|
+
stateMutability: 'view',
|
679
|
+
inputs: [
|
680
|
+
{
|
681
|
+
name: 'tokenId',
|
682
|
+
type: 'uint256',
|
683
|
+
},
|
684
|
+
],
|
685
|
+
outputs: [
|
686
|
+
{
|
687
|
+
name: 'owner',
|
688
|
+
type: 'address',
|
689
|
+
},
|
690
|
+
],
|
691
|
+
},
|
692
|
+
{
|
693
|
+
type: 'function',
|
694
|
+
name: 'safeTransferFrom',
|
695
|
+
stateMutability: 'payable',
|
696
|
+
inputs: [
|
697
|
+
{
|
698
|
+
name: 'from',
|
699
|
+
type: 'address',
|
700
|
+
},
|
701
|
+
{
|
702
|
+
name: 'to',
|
703
|
+
type: 'address',
|
704
|
+
},
|
705
|
+
{
|
706
|
+
name: 'tokenId',
|
707
|
+
type: 'uint256',
|
708
|
+
},
|
709
|
+
],
|
710
|
+
outputs: [],
|
711
|
+
},
|
712
|
+
{
|
713
|
+
type: 'function',
|
714
|
+
name: 'safeTransferFrom',
|
715
|
+
stateMutability: 'nonpayable',
|
716
|
+
inputs: [
|
717
|
+
{
|
718
|
+
name: 'from',
|
719
|
+
type: 'address',
|
720
|
+
},
|
721
|
+
{
|
722
|
+
name: 'to',
|
723
|
+
type: 'address',
|
724
|
+
},
|
725
|
+
{
|
726
|
+
name: 'id',
|
727
|
+
type: 'uint256',
|
728
|
+
},
|
729
|
+
{
|
730
|
+
name: 'data',
|
731
|
+
type: 'bytes',
|
732
|
+
},
|
733
|
+
],
|
734
|
+
outputs: [],
|
735
|
+
},
|
736
|
+
{
|
737
|
+
type: 'function',
|
738
|
+
name: 'setApprovalForAll',
|
739
|
+
stateMutability: 'nonpayable',
|
740
|
+
inputs: [
|
741
|
+
{
|
742
|
+
name: 'operator',
|
743
|
+
type: 'address',
|
744
|
+
},
|
745
|
+
{
|
746
|
+
name: 'approved',
|
747
|
+
type: 'bool',
|
748
|
+
},
|
749
|
+
],
|
750
|
+
outputs: [],
|
751
|
+
},
|
752
|
+
{
|
753
|
+
type: 'function',
|
754
|
+
name: 'symbol',
|
755
|
+
stateMutability: 'view',
|
756
|
+
inputs: [],
|
757
|
+
outputs: [
|
758
|
+
{
|
759
|
+
type: 'string',
|
760
|
+
},
|
761
|
+
],
|
762
|
+
},
|
763
|
+
{
|
764
|
+
type: 'function',
|
765
|
+
name: 'tokenByIndex',
|
766
|
+
stateMutability: 'view',
|
767
|
+
inputs: [
|
768
|
+
{
|
769
|
+
name: 'index',
|
770
|
+
type: 'uint256',
|
771
|
+
},
|
772
|
+
],
|
773
|
+
outputs: [
|
774
|
+
{
|
775
|
+
type: 'uint256',
|
776
|
+
},
|
777
|
+
],
|
778
|
+
},
|
779
|
+
{
|
780
|
+
type: 'function',
|
781
|
+
name: 'tokenByIndex',
|
782
|
+
stateMutability: 'view',
|
783
|
+
inputs: [
|
784
|
+
{
|
785
|
+
name: 'owner',
|
786
|
+
type: 'address',
|
787
|
+
},
|
788
|
+
{
|
789
|
+
name: 'index',
|
790
|
+
type: 'uint256',
|
791
|
+
},
|
792
|
+
],
|
793
|
+
outputs: [
|
794
|
+
{
|
795
|
+
name: 'tokenId',
|
796
|
+
type: 'uint256',
|
797
|
+
},
|
798
|
+
],
|
799
|
+
},
|
800
|
+
{
|
801
|
+
type: 'function',
|
802
|
+
name: 'tokenURI',
|
803
|
+
stateMutability: 'view',
|
804
|
+
inputs: [
|
805
|
+
{
|
806
|
+
name: 'tokenId',
|
807
|
+
type: 'uint256',
|
808
|
+
},
|
809
|
+
],
|
810
|
+
outputs: [
|
811
|
+
{
|
812
|
+
type: 'string',
|
813
|
+
},
|
814
|
+
],
|
815
|
+
},
|
816
|
+
{
|
817
|
+
type: 'function',
|
818
|
+
name: 'totalSupply',
|
819
|
+
stateMutability: 'view',
|
820
|
+
inputs: [],
|
821
|
+
outputs: [
|
822
|
+
{
|
823
|
+
type: 'uint256',
|
824
|
+
},
|
825
|
+
],
|
826
|
+
},
|
827
|
+
{
|
828
|
+
type: 'function',
|
829
|
+
name: 'transferFrom',
|
830
|
+
stateMutability: 'payable',
|
831
|
+
inputs: [
|
832
|
+
{
|
833
|
+
name: 'sender',
|
834
|
+
type: 'address',
|
835
|
+
},
|
836
|
+
{
|
837
|
+
name: 'recipient',
|
838
|
+
type: 'address',
|
839
|
+
},
|
840
|
+
{
|
841
|
+
name: 'tokeId',
|
842
|
+
type: 'uint256',
|
843
|
+
},
|
844
|
+
],
|
845
|
+
outputs: [],
|
846
|
+
},
|
847
|
+
];
|
848
|
+
exports.erc4626Abi = [
|
849
|
+
{
|
850
|
+
anonymous: false,
|
851
|
+
inputs: [
|
852
|
+
{
|
853
|
+
indexed: true,
|
854
|
+
name: 'owner',
|
855
|
+
type: 'address',
|
856
|
+
},
|
857
|
+
{
|
858
|
+
indexed: true,
|
859
|
+
name: 'spender',
|
860
|
+
type: 'address',
|
861
|
+
},
|
862
|
+
{
|
863
|
+
indexed: false,
|
864
|
+
name: 'value',
|
865
|
+
type: 'uint256',
|
866
|
+
},
|
867
|
+
],
|
868
|
+
name: 'Approval',
|
869
|
+
type: 'event',
|
870
|
+
},
|
871
|
+
{
|
872
|
+
anonymous: false,
|
873
|
+
inputs: [
|
874
|
+
{
|
875
|
+
indexed: true,
|
876
|
+
name: 'sender',
|
877
|
+
type: 'address',
|
878
|
+
},
|
879
|
+
{
|
880
|
+
indexed: true,
|
881
|
+
name: 'receiver',
|
882
|
+
type: 'address',
|
883
|
+
},
|
884
|
+
{
|
885
|
+
indexed: false,
|
886
|
+
name: 'assets',
|
887
|
+
type: 'uint256',
|
888
|
+
},
|
889
|
+
{
|
890
|
+
indexed: false,
|
891
|
+
name: 'shares',
|
892
|
+
type: 'uint256',
|
893
|
+
},
|
894
|
+
],
|
895
|
+
name: 'Deposit',
|
896
|
+
type: 'event',
|
897
|
+
},
|
898
|
+
{
|
899
|
+
anonymous: false,
|
900
|
+
inputs: [
|
901
|
+
{
|
902
|
+
indexed: true,
|
903
|
+
name: 'from',
|
904
|
+
type: 'address',
|
905
|
+
},
|
906
|
+
{
|
907
|
+
indexed: true,
|
908
|
+
name: 'to',
|
909
|
+
type: 'address',
|
910
|
+
},
|
911
|
+
{
|
912
|
+
indexed: false,
|
913
|
+
name: 'value',
|
914
|
+
type: 'uint256',
|
915
|
+
},
|
916
|
+
],
|
917
|
+
name: 'Transfer',
|
918
|
+
type: 'event',
|
919
|
+
},
|
920
|
+
{
|
921
|
+
anonymous: false,
|
922
|
+
inputs: [
|
923
|
+
{
|
924
|
+
indexed: true,
|
925
|
+
name: 'sender',
|
926
|
+
type: 'address',
|
927
|
+
},
|
928
|
+
{
|
929
|
+
indexed: true,
|
930
|
+
name: 'receiver',
|
931
|
+
type: 'address',
|
932
|
+
},
|
933
|
+
{
|
934
|
+
indexed: true,
|
935
|
+
name: 'owner',
|
936
|
+
type: 'address',
|
937
|
+
},
|
938
|
+
{
|
939
|
+
indexed: false,
|
940
|
+
name: 'assets',
|
941
|
+
type: 'uint256',
|
942
|
+
},
|
943
|
+
{
|
944
|
+
indexed: false,
|
945
|
+
name: 'shares',
|
946
|
+
type: 'uint256',
|
947
|
+
},
|
948
|
+
],
|
949
|
+
name: 'Withdraw',
|
950
|
+
type: 'event',
|
951
|
+
},
|
952
|
+
{
|
953
|
+
inputs: [
|
954
|
+
{
|
955
|
+
name: 'owner',
|
956
|
+
type: 'address',
|
957
|
+
},
|
958
|
+
{
|
959
|
+
name: 'spender',
|
960
|
+
type: 'address',
|
961
|
+
},
|
962
|
+
],
|
963
|
+
name: 'allowance',
|
964
|
+
outputs: [
|
965
|
+
{
|
966
|
+
type: 'uint256',
|
967
|
+
},
|
968
|
+
],
|
969
|
+
stateMutability: 'view',
|
970
|
+
type: 'function',
|
971
|
+
},
|
972
|
+
{
|
973
|
+
inputs: [
|
974
|
+
{
|
975
|
+
name: 'spender',
|
976
|
+
type: 'address',
|
977
|
+
},
|
978
|
+
{
|
979
|
+
name: 'amount',
|
980
|
+
type: 'uint256',
|
981
|
+
},
|
982
|
+
],
|
983
|
+
name: 'approve',
|
984
|
+
outputs: [
|
985
|
+
{
|
986
|
+
type: 'bool',
|
987
|
+
},
|
988
|
+
],
|
989
|
+
stateMutability: 'nonpayable',
|
990
|
+
type: 'function',
|
991
|
+
},
|
992
|
+
{
|
993
|
+
inputs: [],
|
994
|
+
name: 'asset',
|
995
|
+
outputs: [
|
996
|
+
{
|
997
|
+
name: 'assetTokenAddress',
|
998
|
+
type: 'address',
|
999
|
+
},
|
1000
|
+
],
|
1001
|
+
stateMutability: 'view',
|
1002
|
+
type: 'function',
|
1003
|
+
},
|
1004
|
+
{
|
1005
|
+
inputs: [
|
1006
|
+
{
|
1007
|
+
name: 'account',
|
1008
|
+
type: 'address',
|
1009
|
+
},
|
1010
|
+
],
|
1011
|
+
name: 'balanceOf',
|
1012
|
+
outputs: [
|
1013
|
+
{
|
1014
|
+
type: 'uint256',
|
1015
|
+
},
|
1016
|
+
],
|
1017
|
+
stateMutability: 'view',
|
1018
|
+
type: 'function',
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
inputs: [
|
1022
|
+
{
|
1023
|
+
name: 'shares',
|
1024
|
+
type: 'uint256',
|
1025
|
+
},
|
1026
|
+
],
|
1027
|
+
name: 'convertToAssets',
|
1028
|
+
outputs: [
|
1029
|
+
{
|
1030
|
+
name: 'assets',
|
1031
|
+
type: 'uint256',
|
1032
|
+
},
|
1033
|
+
],
|
1034
|
+
stateMutability: 'view',
|
1035
|
+
type: 'function',
|
1036
|
+
},
|
1037
|
+
{
|
1038
|
+
inputs: [
|
1039
|
+
{
|
1040
|
+
name: 'assets',
|
1041
|
+
type: 'uint256',
|
1042
|
+
},
|
1043
|
+
],
|
1044
|
+
name: 'convertToShares',
|
1045
|
+
outputs: [
|
1046
|
+
{
|
1047
|
+
name: 'shares',
|
1048
|
+
type: 'uint256',
|
1049
|
+
},
|
1050
|
+
],
|
1051
|
+
stateMutability: 'view',
|
1052
|
+
type: 'function',
|
1053
|
+
},
|
1054
|
+
{
|
1055
|
+
inputs: [
|
1056
|
+
{
|
1057
|
+
name: 'assets',
|
1058
|
+
type: 'uint256',
|
1059
|
+
},
|
1060
|
+
{
|
1061
|
+
name: 'receiver',
|
1062
|
+
type: 'address',
|
1063
|
+
},
|
1064
|
+
],
|
1065
|
+
name: 'deposit',
|
1066
|
+
outputs: [
|
1067
|
+
{
|
1068
|
+
name: 'shares',
|
1069
|
+
type: 'uint256',
|
1070
|
+
},
|
1071
|
+
],
|
1072
|
+
stateMutability: 'nonpayable',
|
1073
|
+
type: 'function',
|
1074
|
+
},
|
1075
|
+
{
|
1076
|
+
inputs: [
|
1077
|
+
{
|
1078
|
+
name: 'caller',
|
1079
|
+
type: 'address',
|
1080
|
+
},
|
1081
|
+
],
|
1082
|
+
name: 'maxDeposit',
|
1083
|
+
outputs: [
|
1084
|
+
{
|
1085
|
+
name: 'maxAssets',
|
1086
|
+
type: 'uint256',
|
1087
|
+
},
|
1088
|
+
],
|
1089
|
+
stateMutability: 'view',
|
1090
|
+
type: 'function',
|
1091
|
+
},
|
1092
|
+
{
|
1093
|
+
inputs: [
|
1094
|
+
{
|
1095
|
+
name: 'caller',
|
1096
|
+
type: 'address',
|
1097
|
+
},
|
1098
|
+
],
|
1099
|
+
name: 'maxMint',
|
1100
|
+
outputs: [
|
1101
|
+
{
|
1102
|
+
name: 'maxShares',
|
1103
|
+
type: 'uint256',
|
1104
|
+
},
|
1105
|
+
],
|
1106
|
+
stateMutability: 'view',
|
1107
|
+
type: 'function',
|
1108
|
+
},
|
1109
|
+
{
|
1110
|
+
inputs: [
|
1111
|
+
{
|
1112
|
+
name: 'owner',
|
1113
|
+
type: 'address',
|
1114
|
+
},
|
1115
|
+
],
|
1116
|
+
name: 'maxRedeem',
|
1117
|
+
outputs: [
|
1118
|
+
{
|
1119
|
+
name: 'maxShares',
|
1120
|
+
type: 'uint256',
|
1121
|
+
},
|
1122
|
+
],
|
1123
|
+
stateMutability: 'view',
|
1124
|
+
type: 'function',
|
1125
|
+
},
|
1126
|
+
{
|
1127
|
+
inputs: [
|
1128
|
+
{
|
1129
|
+
name: 'owner',
|
1130
|
+
type: 'address',
|
1131
|
+
},
|
1132
|
+
],
|
1133
|
+
name: 'maxWithdraw',
|
1134
|
+
outputs: [
|
1135
|
+
{
|
1136
|
+
name: 'maxAssets',
|
1137
|
+
type: 'uint256',
|
1138
|
+
},
|
1139
|
+
],
|
1140
|
+
stateMutability: 'view',
|
1141
|
+
type: 'function',
|
1142
|
+
},
|
1143
|
+
{
|
1144
|
+
inputs: [
|
1145
|
+
{
|
1146
|
+
name: 'shares',
|
1147
|
+
type: 'uint256',
|
1148
|
+
},
|
1149
|
+
{
|
1150
|
+
name: 'receiver',
|
1151
|
+
type: 'address',
|
1152
|
+
},
|
1153
|
+
],
|
1154
|
+
name: 'mint',
|
1155
|
+
outputs: [
|
1156
|
+
{
|
1157
|
+
name: 'assets',
|
1158
|
+
type: 'uint256',
|
1159
|
+
},
|
1160
|
+
],
|
1161
|
+
stateMutability: 'nonpayable',
|
1162
|
+
type: 'function',
|
1163
|
+
},
|
1164
|
+
{
|
1165
|
+
inputs: [
|
1166
|
+
{
|
1167
|
+
name: 'assets',
|
1168
|
+
type: 'uint256',
|
1169
|
+
},
|
1170
|
+
],
|
1171
|
+
name: 'previewDeposit',
|
1172
|
+
outputs: [
|
1173
|
+
{
|
1174
|
+
name: 'shares',
|
1175
|
+
type: 'uint256',
|
1176
|
+
},
|
1177
|
+
],
|
1178
|
+
stateMutability: 'view',
|
1179
|
+
type: 'function',
|
1180
|
+
},
|
1181
|
+
{
|
1182
|
+
inputs: [
|
1183
|
+
{
|
1184
|
+
name: 'shares',
|
1185
|
+
type: 'uint256',
|
1186
|
+
},
|
1187
|
+
],
|
1188
|
+
name: 'previewMint',
|
1189
|
+
outputs: [
|
1190
|
+
{
|
1191
|
+
name: 'assets',
|
1192
|
+
type: 'uint256',
|
1193
|
+
},
|
1194
|
+
],
|
1195
|
+
stateMutability: 'view',
|
1196
|
+
type: 'function',
|
1197
|
+
},
|
1198
|
+
{
|
1199
|
+
inputs: [
|
1200
|
+
{
|
1201
|
+
name: 'shares',
|
1202
|
+
type: 'uint256',
|
1203
|
+
},
|
1204
|
+
],
|
1205
|
+
name: 'previewRedeem',
|
1206
|
+
outputs: [
|
1207
|
+
{
|
1208
|
+
name: 'assets',
|
1209
|
+
type: 'uint256',
|
1210
|
+
},
|
1211
|
+
],
|
1212
|
+
stateMutability: 'view',
|
1213
|
+
type: 'function',
|
1214
|
+
},
|
1215
|
+
{
|
1216
|
+
inputs: [
|
1217
|
+
{
|
1218
|
+
name: 'assets',
|
1219
|
+
type: 'uint256',
|
1220
|
+
},
|
1221
|
+
],
|
1222
|
+
name: 'previewWithdraw',
|
1223
|
+
outputs: [
|
1224
|
+
{
|
1225
|
+
name: 'shares',
|
1226
|
+
type: 'uint256',
|
1227
|
+
},
|
1228
|
+
],
|
1229
|
+
stateMutability: 'view',
|
1230
|
+
type: 'function',
|
1231
|
+
},
|
1232
|
+
{
|
1233
|
+
inputs: [
|
1234
|
+
{
|
1235
|
+
name: 'shares',
|
1236
|
+
type: 'uint256',
|
1237
|
+
},
|
1238
|
+
{
|
1239
|
+
name: 'receiver',
|
1240
|
+
type: 'address',
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
name: 'owner',
|
1244
|
+
type: 'address',
|
1245
|
+
},
|
1246
|
+
],
|
1247
|
+
name: 'redeem',
|
1248
|
+
outputs: [
|
1249
|
+
{
|
1250
|
+
name: 'assets',
|
1251
|
+
type: 'uint256',
|
1252
|
+
},
|
1253
|
+
],
|
1254
|
+
stateMutability: 'nonpayable',
|
1255
|
+
type: 'function',
|
1256
|
+
},
|
1257
|
+
{
|
1258
|
+
inputs: [],
|
1259
|
+
name: 'totalAssets',
|
1260
|
+
outputs: [
|
1261
|
+
{
|
1262
|
+
name: 'totalManagedAssets',
|
1263
|
+
type: 'uint256',
|
1264
|
+
},
|
1265
|
+
],
|
1266
|
+
stateMutability: 'view',
|
1267
|
+
type: 'function',
|
1268
|
+
},
|
1269
|
+
{
|
1270
|
+
inputs: [],
|
1271
|
+
name: 'totalSupply',
|
1272
|
+
outputs: [
|
1273
|
+
{
|
1274
|
+
type: 'uint256',
|
1275
|
+
},
|
1276
|
+
],
|
1277
|
+
stateMutability: 'view',
|
1278
|
+
type: 'function',
|
1279
|
+
},
|
1280
|
+
{
|
1281
|
+
inputs: [
|
1282
|
+
{
|
1283
|
+
name: 'to',
|
1284
|
+
type: 'address',
|
1285
|
+
},
|
1286
|
+
{
|
1287
|
+
name: 'amount',
|
1288
|
+
type: 'uint256',
|
1289
|
+
},
|
1290
|
+
],
|
1291
|
+
name: 'transfer',
|
1292
|
+
outputs: [
|
1293
|
+
{
|
1294
|
+
type: 'bool',
|
1295
|
+
},
|
1296
|
+
],
|
1297
|
+
stateMutability: 'nonpayable',
|
1298
|
+
type: 'function',
|
1299
|
+
},
|
1300
|
+
{
|
1301
|
+
inputs: [
|
1302
|
+
{
|
1303
|
+
name: 'from',
|
1304
|
+
type: 'address',
|
1305
|
+
},
|
1306
|
+
{
|
1307
|
+
name: 'to',
|
1308
|
+
type: 'address',
|
1309
|
+
},
|
1310
|
+
{
|
1311
|
+
name: 'amount',
|
1312
|
+
type: 'uint256',
|
1313
|
+
},
|
1314
|
+
],
|
1315
|
+
name: 'transferFrom',
|
1316
|
+
outputs: [
|
1317
|
+
{
|
1318
|
+
type: 'bool',
|
1319
|
+
},
|
1320
|
+
],
|
1321
|
+
stateMutability: 'nonpayable',
|
1322
|
+
type: 'function',
|
1323
|
+
},
|
1324
|
+
{
|
1325
|
+
inputs: [
|
1326
|
+
{
|
1327
|
+
name: 'assets',
|
1328
|
+
type: 'uint256',
|
1329
|
+
},
|
1330
|
+
{
|
1331
|
+
name: 'receiver',
|
1332
|
+
type: 'address',
|
1333
|
+
},
|
1334
|
+
{
|
1335
|
+
name: 'owner',
|
1336
|
+
type: 'address',
|
1337
|
+
},
|
1338
|
+
],
|
1339
|
+
name: 'withdraw',
|
1340
|
+
outputs: [
|
1341
|
+
{
|
1342
|
+
name: 'shares',
|
1343
|
+
type: 'uint256',
|
1344
|
+
},
|
1345
|
+
],
|
1346
|
+
stateMutability: 'nonpayable',
|
1347
|
+
type: 'function',
|
1348
|
+
},
|
1349
|
+
];
|
1350
|
+
//# sourceMappingURL=abis.js.map
|