@0xtorch/evm 0.0.108 → 0.0.110
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/.DS_Store +0 -0
- package/_cjs/chain/definitions/arbitrumOne.js +1 -2
- package/_cjs/chain/definitions/arbitrumOne.js.map +1 -1
- package/_cjs/chain/definitions/astar.js +1 -2
- package/_cjs/chain/definitions/astar.js.map +1 -1
- package/_cjs/chain/definitions/astarZkEvm.js +1 -2
- package/_cjs/chain/definitions/astarZkEvm.js.map +1 -1
- package/_cjs/chain/definitions/avalancheC.js +1 -2
- package/_cjs/chain/definitions/avalancheC.js.map +1 -1
- package/_cjs/chain/definitions/base.js +1 -2
- package/_cjs/chain/definitions/base.js.map +1 -1
- package/_cjs/chain/definitions/blast.js +1 -2
- package/_cjs/chain/definitions/blast.js.map +1 -1
- package/_cjs/chain/definitions/bsc.js +1 -2
- package/_cjs/chain/definitions/bsc.js.map +1 -1
- package/_cjs/chain/definitions/doge.js +1 -2
- package/_cjs/chain/definitions/doge.js.map +1 -1
- package/_cjs/chain/definitions/ethereum.js +1 -17
- package/_cjs/chain/definitions/ethereum.js.map +1 -1
- package/_cjs/chain/definitions/fantom.js +1 -2
- package/_cjs/chain/definitions/fantom.js.map +1 -1
- package/_cjs/chain/definitions/linea.js +1 -2
- package/_cjs/chain/definitions/linea.js.map +1 -1
- package/_cjs/chain/definitions/mantaPacific.js +1 -2
- package/_cjs/chain/definitions/mantaPacific.js.map +1 -1
- package/_cjs/chain/definitions/mantle.js +1 -2
- package/_cjs/chain/definitions/mantle.js.map +1 -1
- package/_cjs/chain/definitions/metis.js +1 -2
- package/_cjs/chain/definitions/metis.js.map +1 -1
- package/_cjs/chain/definitions/moonbeam.js +1 -2
- package/_cjs/chain/definitions/moonbeam.js.map +1 -1
- package/_cjs/chain/definitions/moonriver.js +1 -2
- package/_cjs/chain/definitions/moonriver.js.map +1 -1
- package/_cjs/chain/definitions/oasys.js +1 -2
- package/_cjs/chain/definitions/oasys.js.map +1 -1
- package/_cjs/chain/definitions/opBnb.js +1 -2
- package/_cjs/chain/definitions/opBnb.js.map +1 -1
- package/_cjs/chain/definitions/optimism.js +1 -2
- package/_cjs/chain/definitions/optimism.js.map +1 -1
- package/_cjs/chain/definitions/polygonPos.js +1 -2
- package/_cjs/chain/definitions/polygonPos.js.map +1 -1
- package/_cjs/chain/definitions/ronin.js +1 -2
- package/_cjs/chain/definitions/ronin.js.map +1 -1
- package/_cjs/chain/definitions/scroll.js +1 -2
- package/_cjs/chain/definitions/scroll.js.map +1 -1
- package/_cjs/chain/definitions/zkFair.js +1 -2
- package/_cjs/chain/definitions/zkFair.js.map +1 -1
- package/_cjs/chain/definitions/zkSyncEra.js +1 -2
- package/_cjs/chain/definitions/zkSyncEra.js.map +1 -1
- package/_cjs/chain/definitions/zora.js +1 -2
- package/_cjs/chain/definitions/zora.js.map +1 -1
- package/_cjs/explorer/blockscout/client.js +2 -2
- package/_cjs/explorer/blockscout/client.js.map +1 -1
- package/_cjs/explorer/blockscout/create.js +18 -10
- package/_cjs/explorer/blockscout/create.js.map +1 -1
- package/_cjs/explorer/blockscout/getBlockNumberByTimestamp.js +2 -1
- package/_cjs/explorer/blockscout/getBlockNumberByTimestamp.js.map +1 -1
- package/_cjs/explorer/blockscout/getContractCreatorAddressHashAndCreationTransactionHash.js +2 -1
- package/_cjs/explorer/blockscout/getContractCreatorAddressHashAndCreationTransactionHash.js.map +1 -1
- package/_cjs/explorer/blockscout/getContractSourceCodeForAVerifiedContract.js +2 -1
- package/_cjs/explorer/blockscout/getContractSourceCodeForAVerifiedContract.js.map +1 -1
- package/_cjs/explorer/blockscout/getEventLogsByAddressAndTopic.js +2 -1
- package/_cjs/explorer/blockscout/getEventLogsByAddressAndTopic.js.map +1 -1
- package/_cjs/explorer/blockscout/getInternalTransactionsByAddressHash.js +2 -1
- package/_cjs/explorer/blockscout/getInternalTransactionsByAddressHash.js.map +1 -1
- package/_cjs/explorer/blockscout/getInternalTransactionsByTransactionHash.js +2 -1
- package/_cjs/explorer/blockscout/getInternalTransactionsByTransactionHash.js.map +1 -1
- package/_cjs/explorer/blockscout/getTokenTransferEventsByAddress.js +2 -1
- package/_cjs/explorer/blockscout/getTokenTransferEventsByAddress.js.map +1 -1
- package/_cjs/explorer/blockscout/getTransactionsByAddress.js +2 -1
- package/_cjs/explorer/blockscout/getTransactionsByAddress.js.map +1 -1
- package/_cjs/explorer/etherscan/client.js +2 -2
- package/_cjs/explorer/etherscan/client.js.map +1 -1
- package/_cjs/explorer/etherscan/create.js +19 -10
- package/_cjs/explorer/etherscan/create.js.map +1 -1
- package/_cjs/explorer/etherscan/getBlockNumberByTimestamp.js +2 -1
- package/_cjs/explorer/etherscan/getBlockNumberByTimestamp.js.map +1 -1
- package/_cjs/explorer/etherscan/getContractCreatorAndCreationTxHash.js +2 -1
- package/_cjs/explorer/etherscan/getContractCreatorAndCreationTxHash.js.map +1 -1
- package/_cjs/explorer/etherscan/getContractSourceCodeForVerifiedContract.js +2 -1
- package/_cjs/explorer/etherscan/getContractSourceCodeForVerifiedContract.js.map +1 -1
- package/_cjs/explorer/etherscan/getEventLogsByAddressFilteredByTopics.js +2 -1
- package/_cjs/explorer/etherscan/getEventLogsByAddressFilteredByTopics.js.map +1 -1
- package/_cjs/explorer/etherscan/getInternalTransactionsByTransactionHash.js +2 -1
- package/_cjs/explorer/etherscan/getInternalTransactionsByTransactionHash.js.map +1 -1
- package/_cjs/explorer/etherscan/getListOfErc1155TokenTransferEventsByAddress.js +2 -1
- package/_cjs/explorer/etherscan/getListOfErc1155TokenTransferEventsByAddress.js.map +1 -1
- package/_cjs/explorer/etherscan/getListOfErc20TokenTransferEventsByAddress.js +2 -1
- package/_cjs/explorer/etherscan/getListOfErc20TokenTransferEventsByAddress.js.map +1 -1
- package/_cjs/explorer/etherscan/getListOfErc721TokenTransferEventsByAddress.js +2 -1
- package/_cjs/explorer/etherscan/getListOfErc721TokenTransferEventsByAddress.js.map +1 -1
- package/_cjs/explorer/etherscan/getListOfInternalTransactionsByAddress.js +2 -1
- package/_cjs/explorer/etherscan/getListOfInternalTransactionsByAddress.js.map +1 -1
- package/_cjs/explorer/etherscan/getListOfNormalTransactionsByAddress.js +2 -1
- package/_cjs/explorer/etherscan/getListOfNormalTransactionsByAddress.js.map +1 -1
- package/_cjs/explorer/moralis/client.js +2 -2
- package/_cjs/explorer/moralis/client.js.map +1 -1
- package/_cjs/explorer/moralis/create.js +7 -5
- package/_cjs/explorer/moralis/create.js.map +1 -1
- package/_cjs/explorer/moralis/getWalletTransactionHistory.js +2 -1
- package/_cjs/explorer/moralis/getWalletTransactionHistory.js.map +1 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/allValue.js +9 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/allValue.js.map +1 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/erc1155Pattern.js +12 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/erc1155Pattern.js.map +1 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/erc20Pattern.js +12 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/erc20Pattern.js.map +1 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/internalTransferGenerator.js +12 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/internalTransferGenerator.js.map +1 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/join.js +9 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/join.js.map +1 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/transferGenerator.js +12 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/transferGenerator.js.map +1 -1
- package/_cjs/logic/analyzeTransaction/createActions/json/verifyTxSatisfiesCondition.js +36 -3
- package/_cjs/logic/analyzeTransaction/createActions/json/verifyTxSatisfiesCondition.js.map +1 -1
- package/_esm/chain/definitions/arbitrumOne.js +1 -2
- package/_esm/chain/definitions/arbitrumOne.js.map +1 -1
- package/_esm/chain/definitions/astar.js +1 -2
- package/_esm/chain/definitions/astar.js.map +1 -1
- package/_esm/chain/definitions/astarZkEvm.js +1 -2
- package/_esm/chain/definitions/astarZkEvm.js.map +1 -1
- package/_esm/chain/definitions/avalancheC.js +1 -2
- package/_esm/chain/definitions/avalancheC.js.map +1 -1
- package/_esm/chain/definitions/base.js +1 -2
- package/_esm/chain/definitions/base.js.map +1 -1
- package/_esm/chain/definitions/blast.js +1 -2
- package/_esm/chain/definitions/blast.js.map +1 -1
- package/_esm/chain/definitions/bsc.js +1 -2
- package/_esm/chain/definitions/bsc.js.map +1 -1
- package/_esm/chain/definitions/doge.js +1 -2
- package/_esm/chain/definitions/doge.js.map +1 -1
- package/_esm/chain/definitions/ethereum.js +19 -17
- package/_esm/chain/definitions/ethereum.js.map +1 -1
- package/_esm/chain/definitions/fantom.js +1 -2
- package/_esm/chain/definitions/fantom.js.map +1 -1
- package/_esm/chain/definitions/linea.js +1 -2
- package/_esm/chain/definitions/linea.js.map +1 -1
- package/_esm/chain/definitions/mantaPacific.js +1 -2
- package/_esm/chain/definitions/mantaPacific.js.map +1 -1
- package/_esm/chain/definitions/mantle.js +1 -2
- package/_esm/chain/definitions/mantle.js.map +1 -1
- package/_esm/chain/definitions/metis.js +1 -2
- package/_esm/chain/definitions/metis.js.map +1 -1
- package/_esm/chain/definitions/moonbeam.js +1 -2
- package/_esm/chain/definitions/moonbeam.js.map +1 -1
- package/_esm/chain/definitions/moonriver.js +1 -2
- package/_esm/chain/definitions/moonriver.js.map +1 -1
- package/_esm/chain/definitions/oasys.js +1 -2
- package/_esm/chain/definitions/oasys.js.map +1 -1
- package/_esm/chain/definitions/opBnb.js +1 -2
- package/_esm/chain/definitions/opBnb.js.map +1 -1
- package/_esm/chain/definitions/optimism.js +1 -2
- package/_esm/chain/definitions/optimism.js.map +1 -1
- package/_esm/chain/definitions/polygonPos.js +1 -2
- package/_esm/chain/definitions/polygonPos.js.map +1 -1
- package/_esm/chain/definitions/ronin.js +1 -2
- package/_esm/chain/definitions/ronin.js.map +1 -1
- package/_esm/chain/definitions/scroll.js +1 -2
- package/_esm/chain/definitions/scroll.js.map +1 -1
- package/_esm/chain/definitions/zkFair.js +1 -2
- package/_esm/chain/definitions/zkFair.js.map +1 -1
- package/_esm/chain/definitions/zkSyncEra.js +1 -2
- package/_esm/chain/definitions/zkSyncEra.js.map +1 -1
- package/_esm/chain/definitions/zora.js +1 -2
- package/_esm/chain/definitions/zora.js.map +1 -1
- package/_esm/explorer/blockscout/client.js +2 -2
- package/_esm/explorer/blockscout/client.js.map +1 -1
- package/_esm/explorer/blockscout/create.js +18 -10
- package/_esm/explorer/blockscout/create.js.map +1 -1
- package/_esm/explorer/blockscout/getBlockNumberByTimestamp.js +2 -1
- package/_esm/explorer/blockscout/getBlockNumberByTimestamp.js.map +1 -1
- package/_esm/explorer/blockscout/getContractCreatorAddressHashAndCreationTransactionHash.js +2 -1
- package/_esm/explorer/blockscout/getContractCreatorAddressHashAndCreationTransactionHash.js.map +1 -1
- package/_esm/explorer/blockscout/getContractSourceCodeForAVerifiedContract.js +2 -1
- package/_esm/explorer/blockscout/getContractSourceCodeForAVerifiedContract.js.map +1 -1
- package/_esm/explorer/blockscout/getEventLogsByAddressAndTopic.js +2 -1
- package/_esm/explorer/blockscout/getEventLogsByAddressAndTopic.js.map +1 -1
- package/_esm/explorer/blockscout/getInternalTransactionsByAddressHash.js +2 -1
- package/_esm/explorer/blockscout/getInternalTransactionsByAddressHash.js.map +1 -1
- package/_esm/explorer/blockscout/getInternalTransactionsByTransactionHash.js +2 -1
- package/_esm/explorer/blockscout/getInternalTransactionsByTransactionHash.js.map +1 -1
- package/_esm/explorer/blockscout/getTokenTransferEventsByAddress.js +2 -1
- package/_esm/explorer/blockscout/getTokenTransferEventsByAddress.js.map +1 -1
- package/_esm/explorer/blockscout/getTransactionsByAddress.js +2 -1
- package/_esm/explorer/blockscout/getTransactionsByAddress.js.map +1 -1
- package/_esm/explorer/etherscan/client.js +2 -2
- package/_esm/explorer/etherscan/client.js.map +1 -1
- package/_esm/explorer/etherscan/create.js +19 -10
- package/_esm/explorer/etherscan/create.js.map +1 -1
- package/_esm/explorer/etherscan/getBlockNumberByTimestamp.js +2 -1
- package/_esm/explorer/etherscan/getBlockNumberByTimestamp.js.map +1 -1
- package/_esm/explorer/etherscan/getContractCreatorAndCreationTxHash.js +2 -1
- package/_esm/explorer/etherscan/getContractCreatorAndCreationTxHash.js.map +1 -1
- package/_esm/explorer/etherscan/getContractSourceCodeForVerifiedContract.js +2 -1
- package/_esm/explorer/etherscan/getContractSourceCodeForVerifiedContract.js.map +1 -1
- package/_esm/explorer/etherscan/getEventLogsByAddressFilteredByTopics.js +2 -1
- package/_esm/explorer/etherscan/getEventLogsByAddressFilteredByTopics.js.map +1 -1
- package/_esm/explorer/etherscan/getInternalTransactionsByTransactionHash.js +2 -1
- package/_esm/explorer/etherscan/getInternalTransactionsByTransactionHash.js.map +1 -1
- package/_esm/explorer/etherscan/getListOfErc1155TokenTransferEventsByAddress.js +2 -1
- package/_esm/explorer/etherscan/getListOfErc1155TokenTransferEventsByAddress.js.map +1 -1
- package/_esm/explorer/etherscan/getListOfErc20TokenTransferEventsByAddress.js +2 -1
- package/_esm/explorer/etherscan/getListOfErc20TokenTransferEventsByAddress.js.map +1 -1
- package/_esm/explorer/etherscan/getListOfErc721TokenTransferEventsByAddress.js +2 -1
- package/_esm/explorer/etherscan/getListOfErc721TokenTransferEventsByAddress.js.map +1 -1
- package/_esm/explorer/etherscan/getListOfInternalTransactionsByAddress.js +2 -1
- package/_esm/explorer/etherscan/getListOfInternalTransactionsByAddress.js.map +1 -1
- package/_esm/explorer/etherscan/getListOfNormalTransactionsByAddress.js +2 -1
- package/_esm/explorer/etherscan/getListOfNormalTransactionsByAddress.js.map +1 -1
- package/_esm/explorer/moralis/client.js +2 -2
- package/_esm/explorer/moralis/client.js.map +1 -1
- package/_esm/explorer/moralis/create.js +7 -5
- package/_esm/explorer/moralis/create.js.map +1 -1
- package/_esm/explorer/moralis/getWalletTransactionHistory.js +2 -1
- package/_esm/explorer/moralis/getWalletTransactionHistory.js.map +1 -1
- package/_esm/logic/analyzeTransaction/createActions/json/allValue.js +9 -1
- package/_esm/logic/analyzeTransaction/createActions/json/allValue.js.map +1 -1
- package/_esm/logic/analyzeTransaction/createActions/json/erc1155Pattern.js +12 -1
- package/_esm/logic/analyzeTransaction/createActions/json/erc1155Pattern.js.map +1 -1
- package/_esm/logic/analyzeTransaction/createActions/json/erc20Pattern.js +12 -1
- package/_esm/logic/analyzeTransaction/createActions/json/erc20Pattern.js.map +1 -1
- package/_esm/logic/analyzeTransaction/createActions/json/internalTransferGenerator.js +12 -1
- package/_esm/logic/analyzeTransaction/createActions/json/internalTransferGenerator.js.map +1 -1
- package/_esm/logic/analyzeTransaction/createActions/json/join.js +9 -1
- package/_esm/logic/analyzeTransaction/createActions/json/join.js.map +1 -1
- package/_esm/logic/analyzeTransaction/createActions/json/transferGenerator.js +12 -1
- package/_esm/logic/analyzeTransaction/createActions/json/transferGenerator.js.map +1 -1
- package/_esm/logic/analyzeTransaction/createActions/json/verifyTxSatisfiesCondition.js +36 -3
- package/_esm/logic/analyzeTransaction/createActions/json/verifyTxSatisfiesCondition.js.map +1 -1
- package/_types/chain/definitions/arbitrumOne.d.ts +1 -2
- package/_types/chain/definitions/arbitrumOne.d.ts.map +1 -1
- package/_types/chain/definitions/astar.d.ts +1 -2
- package/_types/chain/definitions/astar.d.ts.map +1 -1
- package/_types/chain/definitions/astarZkEvm.d.ts +1 -2
- package/_types/chain/definitions/astarZkEvm.d.ts.map +1 -1
- package/_types/chain/definitions/avalancheC.d.ts +1 -2
- package/_types/chain/definitions/avalancheC.d.ts.map +1 -1
- package/_types/chain/definitions/base.d.ts +1 -2
- package/_types/chain/definitions/base.d.ts.map +1 -1
- package/_types/chain/definitions/blast.d.ts +1 -2
- package/_types/chain/definitions/blast.d.ts.map +1 -1
- package/_types/chain/definitions/bsc.d.ts +1 -2
- package/_types/chain/definitions/bsc.d.ts.map +1 -1
- package/_types/chain/definitions/doge.d.ts +1 -2
- package/_types/chain/definitions/doge.d.ts.map +1 -1
- package/_types/chain/definitions/ethereum.d.ts +1 -2
- package/_types/chain/definitions/ethereum.d.ts.map +1 -1
- package/_types/chain/definitions/fantom.d.ts +1 -2
- package/_types/chain/definitions/fantom.d.ts.map +1 -1
- package/_types/chain/definitions/linea.d.ts +1 -2
- package/_types/chain/definitions/linea.d.ts.map +1 -1
- package/_types/chain/definitions/mantaPacific.d.ts +1 -2
- package/_types/chain/definitions/mantaPacific.d.ts.map +1 -1
- package/_types/chain/definitions/mantle.d.ts +1 -2
- package/_types/chain/definitions/mantle.d.ts.map +1 -1
- package/_types/chain/definitions/metis.d.ts +1 -2
- package/_types/chain/definitions/metis.d.ts.map +1 -1
- package/_types/chain/definitions/moonbeam.d.ts +1 -2
- package/_types/chain/definitions/moonbeam.d.ts.map +1 -1
- package/_types/chain/definitions/moonriver.d.ts +1 -2
- package/_types/chain/definitions/moonriver.d.ts.map +1 -1
- package/_types/chain/definitions/oasys.d.ts +1 -2
- package/_types/chain/definitions/oasys.d.ts.map +1 -1
- package/_types/chain/definitions/opBnb.d.ts +1 -2
- package/_types/chain/definitions/opBnb.d.ts.map +1 -1
- package/_types/chain/definitions/optimism.d.ts +1 -2
- package/_types/chain/definitions/optimism.d.ts.map +1 -1
- package/_types/chain/definitions/polygonPos.d.ts +1 -2
- package/_types/chain/definitions/polygonPos.d.ts.map +1 -1
- package/_types/chain/definitions/ronin.d.ts +1 -2
- package/_types/chain/definitions/ronin.d.ts.map +1 -1
- package/_types/chain/definitions/scroll.d.ts +1 -2
- package/_types/chain/definitions/scroll.d.ts.map +1 -1
- package/_types/chain/definitions/zkFair.d.ts +1 -1
- package/_types/chain/definitions/zkFair.d.ts.map +1 -1
- package/_types/chain/definitions/zkSyncEra.d.ts +1 -2
- package/_types/chain/definitions/zkSyncEra.d.ts.map +1 -1
- package/_types/chain/definitions/zora.d.ts +1 -2
- package/_types/chain/definitions/zora.d.ts.map +1 -1
- package/_types/explorer/blockscout/client.d.ts +2 -2
- package/_types/explorer/blockscout/client.d.ts.map +1 -1
- package/_types/explorer/blockscout/create.d.ts +1 -2
- package/_types/explorer/blockscout/create.d.ts.map +1 -1
- package/_types/explorer/blockscout/getBlockNumberByTimestamp.d.ts +2 -1
- package/_types/explorer/blockscout/getBlockNumberByTimestamp.d.ts.map +1 -1
- package/_types/explorer/blockscout/getContractCreatorAddressHashAndCreationTransactionHash.d.ts +2 -1
- package/_types/explorer/blockscout/getContractCreatorAddressHashAndCreationTransactionHash.d.ts.map +1 -1
- package/_types/explorer/blockscout/getContractSourceCodeForAVerifiedContract.d.ts +2 -1
- package/_types/explorer/blockscout/getContractSourceCodeForAVerifiedContract.d.ts.map +1 -1
- package/_types/explorer/blockscout/getEventLogsByAddressAndTopic.d.ts +2 -1
- package/_types/explorer/blockscout/getEventLogsByAddressAndTopic.d.ts.map +1 -1
- package/_types/explorer/blockscout/getInternalTransactionsByAddressHash.d.ts +2 -1
- package/_types/explorer/blockscout/getInternalTransactionsByAddressHash.d.ts.map +1 -1
- package/_types/explorer/blockscout/getInternalTransactionsByTransactionHash.d.ts +2 -1
- package/_types/explorer/blockscout/getInternalTransactionsByTransactionHash.d.ts.map +1 -1
- package/_types/explorer/blockscout/getTokenTransferEventsByAddress.d.ts +2 -1
- package/_types/explorer/blockscout/getTokenTransferEventsByAddress.d.ts.map +1 -1
- package/_types/explorer/blockscout/getTransactionsByAddress.d.ts +2 -1
- package/_types/explorer/blockscout/getTransactionsByAddress.d.ts.map +1 -1
- package/_types/explorer/etherscan/client.d.ts +2 -2
- package/_types/explorer/etherscan/client.d.ts.map +1 -1
- package/_types/explorer/etherscan/create.d.ts +1 -2
- package/_types/explorer/etherscan/create.d.ts.map +1 -1
- package/_types/explorer/etherscan/getBlockNumberByTimestamp.d.ts +2 -1
- package/_types/explorer/etherscan/getBlockNumberByTimestamp.d.ts.map +1 -1
- package/_types/explorer/etherscan/getContractCreatorAndCreationTxHash.d.ts +2 -1
- package/_types/explorer/etherscan/getContractCreatorAndCreationTxHash.d.ts.map +1 -1
- package/_types/explorer/etherscan/getContractSourceCodeForVerifiedContract.d.ts +2 -1
- package/_types/explorer/etherscan/getContractSourceCodeForVerifiedContract.d.ts.map +1 -1
- package/_types/explorer/etherscan/getEventLogsByAddressFilteredByTopics.d.ts +2 -1
- package/_types/explorer/etherscan/getEventLogsByAddressFilteredByTopics.d.ts.map +1 -1
- package/_types/explorer/etherscan/getInternalTransactionsByTransactionHash.d.ts +2 -1
- package/_types/explorer/etherscan/getInternalTransactionsByTransactionHash.d.ts.map +1 -1
- package/_types/explorer/etherscan/getListOfErc1155TokenTransferEventsByAddress.d.ts +2 -1
- package/_types/explorer/etherscan/getListOfErc1155TokenTransferEventsByAddress.d.ts.map +1 -1
- package/_types/explorer/etherscan/getListOfErc20TokenTransferEventsByAddress.d.ts +2 -1
- package/_types/explorer/etherscan/getListOfErc20TokenTransferEventsByAddress.d.ts.map +1 -1
- package/_types/explorer/etherscan/getListOfErc721TokenTransferEventsByAddress.d.ts +2 -1
- package/_types/explorer/etherscan/getListOfErc721TokenTransferEventsByAddress.d.ts.map +1 -1
- package/_types/explorer/etherscan/getListOfInternalTransactionsByAddress.d.ts +2 -1
- package/_types/explorer/etherscan/getListOfInternalTransactionsByAddress.d.ts.map +1 -1
- package/_types/explorer/etherscan/getListOfNormalTransactionsByAddress.d.ts +2 -1
- package/_types/explorer/etherscan/getListOfNormalTransactionsByAddress.d.ts.map +1 -1
- package/_types/explorer/moralis/client.d.ts +2 -2
- package/_types/explorer/moralis/client.d.ts.map +1 -1
- package/_types/explorer/moralis/create.d.ts +1 -2
- package/_types/explorer/moralis/create.d.ts.map +1 -1
- package/_types/explorer/moralis/getWalletTransactionHistory.d.ts +2 -1
- package/_types/explorer/moralis/getWalletTransactionHistory.d.ts.map +1 -1
- package/_types/explorer/types.d.ts +8 -0
- package/_types/explorer/types.d.ts.map +1 -1
- package/_types/logic/analyzeTransaction/createActions/json/allValue.d.ts.map +1 -1
- package/_types/logic/analyzeTransaction/createActions/json/erc1155Pattern.d.ts.map +1 -1
- package/_types/logic/analyzeTransaction/createActions/json/erc20Pattern.d.ts.map +1 -1
- package/_types/logic/analyzeTransaction/createActions/json/join.d.ts.map +1 -1
- package/_types/logic/analyzeTransaction/createActions/json/transferGenerator.d.ts.map +1 -1
- package/_types/logic/analyzeTransaction/createActions/json/verifyTxSatisfiesCondition.d.ts.map +1 -1
- package/analyzer/.DS_Store +0 -0
- package/chain/.DS_Store +0 -0
- package/chain/definitions/arbitrumOne.ts +0 -3
- package/chain/definitions/astar.ts +0 -3
- package/chain/definitions/astarZkEvm.ts +0 -3
- package/chain/definitions/avalancheC.ts +0 -3
- package/chain/definitions/base.ts +0 -3
- package/chain/definitions/blast.ts +0 -3
- package/chain/definitions/bsc.ts +0 -3
- package/chain/definitions/doge.ts +0 -3
- package/chain/definitions/ethereum.ts +18 -18
- package/chain/definitions/fantom.ts +0 -3
- package/chain/definitions/linea.ts +0 -3
- package/chain/definitions/mantaPacific.ts +0 -3
- package/chain/definitions/mantle.ts +0 -3
- package/chain/definitions/metis.ts +0 -3
- package/chain/definitions/moonbeam.ts +0 -3
- package/chain/definitions/moonriver.ts +0 -3
- package/chain/definitions/oasys.ts +0 -3
- package/chain/definitions/opBnb.ts +0 -3
- package/chain/definitions/optimism.ts +0 -3
- package/chain/definitions/polygonPos.ts +0 -3
- package/chain/definitions/ronin.ts +0 -3
- package/chain/definitions/scroll.ts +0 -3
- package/chain/definitions/zkFair.ts +0 -2
- package/chain/definitions/zkSyncEra.ts +0 -3
- package/chain/definitions/zora.ts +0 -3
- package/client/.DS_Store +0 -0
- package/explorer/.DS_Store +0 -0
- package/explorer/blockscout/client.ts +3 -2
- package/explorer/blockscout/create.ts +32 -10
- package/explorer/blockscout/getBlockNumberByTimestamp.ts +3 -0
- package/explorer/blockscout/getContractCreatorAddressHashAndCreationTransactionHash.ts +3 -0
- package/explorer/blockscout/getContractSourceCodeForAVerifiedContract.ts +3 -0
- package/explorer/blockscout/getEventLogsByAddressAndTopic.ts +3 -0
- package/explorer/blockscout/getInternalTransactionsByAddressHash.ts +3 -0
- package/explorer/blockscout/getInternalTransactionsByTransactionHash.ts +3 -0
- package/explorer/blockscout/getTokenTransferEventsByAddress.ts +3 -0
- package/explorer/blockscout/getTransactionsByAddress.ts +3 -0
- package/explorer/etherscan/client.ts +3 -2
- package/explorer/etherscan/create.ts +33 -10
- package/explorer/etherscan/getBlockNumberByTimestamp.ts +3 -0
- package/explorer/etherscan/getContractCreatorAndCreationTxHash.ts +3 -0
- package/explorer/etherscan/getContractSourceCodeForVerifiedContract.ts +3 -0
- package/explorer/etherscan/getEventLogsByAddressFilteredByTopics.ts +3 -0
- package/explorer/etherscan/getInternalTransactionsByTransactionHash.ts +3 -0
- package/explorer/etherscan/getListOfErc1155TokenTransferEventsByAddress.ts +3 -0
- package/explorer/etherscan/getListOfErc20TokenTransferEventsByAddress.ts +3 -0
- package/explorer/etherscan/getListOfErc721TokenTransferEventsByAddress.ts +3 -0
- package/explorer/etherscan/getListOfInternalTransactionsByAddress.ts +3 -0
- package/explorer/etherscan/getListOfNormalTransactionsByAddress.ts +3 -0
- package/explorer/moralis/client.ts +3 -2
- package/explorer/moralis/create.ts +6 -3
- package/explorer/moralis/getWalletTransactionHistory.ts +3 -0
- package/explorer/types.ts +8 -0
- package/logic/analyzeTransaction/createActions/json/allValue.ts +9 -1
- package/logic/analyzeTransaction/createActions/json/erc1155Pattern.ts +12 -1
- package/logic/analyzeTransaction/createActions/json/erc20Pattern.ts +12 -1
- package/logic/analyzeTransaction/createActions/json/internalTransferGenerator.ts +12 -1
- package/logic/analyzeTransaction/createActions/json/join.ts +9 -1
- package/logic/analyzeTransaction/createActions/json/transferGenerator.ts +12 -1
- package/logic/analyzeTransaction/createActions/json/verifyTxSatisfiesCondition.ts +36 -3
- package/package.json +2 -2
|
@@ -11,6 +11,7 @@ type GetListOfErc20TokenTransferEventsByAddressParameters = {
|
|
|
11
11
|
page?: number
|
|
12
12
|
offset?: number
|
|
13
13
|
sort?: 'asc' | 'desc'
|
|
14
|
+
headers?: Record<string, string>
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
const transferSchema = z.object({
|
|
@@ -29,6 +30,7 @@ export const getListOfErc20TokenTransferEventsByAddress = async ({
|
|
|
29
30
|
page = 1,
|
|
30
31
|
offset = 10_000,
|
|
31
32
|
sort = 'asc',
|
|
33
|
+
headers,
|
|
32
34
|
}: GetListOfErc20TokenTransferEventsByAddressParameters): Promise<
|
|
33
35
|
TransactionIndex[]
|
|
34
36
|
> => {
|
|
@@ -50,6 +52,7 @@ export const getListOfErc20TokenTransferEventsByAddress = async ({
|
|
|
50
52
|
sort,
|
|
51
53
|
},
|
|
52
54
|
resultSchema,
|
|
55
|
+
headers,
|
|
53
56
|
})
|
|
54
57
|
return result.map((v) => ({
|
|
55
58
|
blockNumber: v.blockNumber,
|
|
@@ -11,6 +11,7 @@ type GetListOfErc721TokenTransferEventsByAddressParameters = {
|
|
|
11
11
|
page?: number
|
|
12
12
|
offset?: number
|
|
13
13
|
sort?: 'asc' | 'desc'
|
|
14
|
+
headers?: Record<string, string>
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
const transferSchema = z.object({
|
|
@@ -29,6 +30,7 @@ export const getListOfErc721TokenTransferEventsByAddress = async ({
|
|
|
29
30
|
page = 1,
|
|
30
31
|
offset = 10_000,
|
|
31
32
|
sort = 'asc',
|
|
33
|
+
headers,
|
|
32
34
|
}: GetListOfErc721TokenTransferEventsByAddressParameters): Promise<
|
|
33
35
|
TransactionIndex[]
|
|
34
36
|
> => {
|
|
@@ -50,6 +52,7 @@ export const getListOfErc721TokenTransferEventsByAddress = async ({
|
|
|
50
52
|
sort,
|
|
51
53
|
},
|
|
52
54
|
resultSchema,
|
|
55
|
+
headers,
|
|
53
56
|
})
|
|
54
57
|
return result.map((v) => ({
|
|
55
58
|
blockNumber: v.blockNumber,
|
|
@@ -16,6 +16,7 @@ type GetListOfInternalTransactionsByAddressParameters = {
|
|
|
16
16
|
page?: number
|
|
17
17
|
offset?: number
|
|
18
18
|
sort?: 'asc' | 'desc'
|
|
19
|
+
headers?: Record<string, string>
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
const internalTransactionSchema = z.object({
|
|
@@ -55,6 +56,7 @@ export const getListOfInternalTransactionsByAddress = async ({
|
|
|
55
56
|
page = 1,
|
|
56
57
|
offset = 10_000,
|
|
57
58
|
sort = 'asc',
|
|
59
|
+
headers,
|
|
58
60
|
}: GetListOfInternalTransactionsByAddressParameters): Promise<
|
|
59
61
|
InternalTransactionWithIndex[]
|
|
60
62
|
> => {
|
|
@@ -76,6 +78,7 @@ export const getListOfInternalTransactionsByAddress = async ({
|
|
|
76
78
|
sort,
|
|
77
79
|
},
|
|
78
80
|
resultSchema,
|
|
81
|
+
headers,
|
|
79
82
|
})
|
|
80
83
|
return result.map((v) => ({
|
|
81
84
|
blockNumber: v.blockNumber,
|
|
@@ -12,6 +12,7 @@ type GetListOfNormalTransactionsByAddressParameters = {
|
|
|
12
12
|
page?: number
|
|
13
13
|
offset?: number
|
|
14
14
|
sort?: 'asc' | 'desc'
|
|
15
|
+
headers?: Record<string, string>
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
const transactionSchema = z.object({
|
|
@@ -30,6 +31,7 @@ export const getListOfNormalTransactionsByAddress = async ({
|
|
|
30
31
|
page = 1,
|
|
31
32
|
offset = 10_000,
|
|
32
33
|
sort = 'asc',
|
|
34
|
+
headers,
|
|
33
35
|
}: GetListOfNormalTransactionsByAddressParameters): Promise<
|
|
34
36
|
TransactionIndex[]
|
|
35
37
|
> => {
|
|
@@ -51,6 +53,7 @@ export const getListOfNormalTransactionsByAddress = async ({
|
|
|
51
53
|
sort,
|
|
52
54
|
},
|
|
53
55
|
resultSchema,
|
|
56
|
+
headers,
|
|
54
57
|
})
|
|
55
58
|
return result.map((v) => ({
|
|
56
59
|
blockNumber: v.blockNumber,
|
|
@@ -12,19 +12,18 @@ export type MoralisClient = {
|
|
|
12
12
|
path: string
|
|
13
13
|
query: Record<string, string>
|
|
14
14
|
resultSchema: ZodType<Output, Def, Input>
|
|
15
|
+
headers?: Record<string, string>
|
|
15
16
|
}) => Promise<Output>
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
type CreateMoralisClientParameters = {
|
|
19
20
|
apiKey?: string
|
|
20
21
|
proxyUrl?: string
|
|
21
|
-
headers?: Record<string, string>
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export const createMoralisClient = ({
|
|
25
25
|
apiKey,
|
|
26
26
|
proxyUrl,
|
|
27
|
-
headers,
|
|
28
27
|
}: CreateMoralisClientParameters): MoralisClient => {
|
|
29
28
|
// apiKey = undefined かつ proxyUrl = undefined の場合はエラー
|
|
30
29
|
if (apiKey === undefined && proxyUrl === undefined) {
|
|
@@ -43,10 +42,12 @@ export const createMoralisClient = ({
|
|
|
43
42
|
path,
|
|
44
43
|
query,
|
|
45
44
|
resultSchema,
|
|
45
|
+
headers,
|
|
46
46
|
}: {
|
|
47
47
|
path: string
|
|
48
48
|
query: Record<string, string>
|
|
49
49
|
resultSchema: ZodType<Output, Def, Input>
|
|
50
|
+
headers?: Record<string, string>
|
|
50
51
|
},
|
|
51
52
|
repeat = 0,
|
|
52
53
|
): Promise<Output> => {
|
|
@@ -15,7 +15,6 @@ type CreateMoralisExplorerParameters = {
|
|
|
15
15
|
chain: string
|
|
16
16
|
apiKey?: string
|
|
17
17
|
proxyUrl?: string
|
|
18
|
-
headers?: Record<string, string>
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
const limit = 100
|
|
@@ -26,12 +25,10 @@ export const createMoralisExplorer = ({
|
|
|
26
25
|
chain,
|
|
27
26
|
apiKey,
|
|
28
27
|
proxyUrl,
|
|
29
|
-
headers,
|
|
30
28
|
}: CreateMoralisExplorerParameters): Explorer => {
|
|
31
29
|
const client = createMoralisClient({
|
|
32
30
|
apiKey,
|
|
33
31
|
proxyUrl,
|
|
34
|
-
headers,
|
|
35
32
|
})
|
|
36
33
|
|
|
37
34
|
return {
|
|
@@ -41,6 +38,7 @@ export const createMoralisExplorer = ({
|
|
|
41
38
|
address,
|
|
42
39
|
fromBlock,
|
|
43
40
|
toBlock,
|
|
41
|
+
headers,
|
|
44
42
|
}): Promise<InternalTransactionWithIndex[]> => {
|
|
45
43
|
const lowerAddress = toLowerHex(address)
|
|
46
44
|
const internalTransactions = new Map<
|
|
@@ -59,6 +57,7 @@ export const createMoralisExplorer = ({
|
|
|
59
57
|
fromBlock,
|
|
60
58
|
toBlock,
|
|
61
59
|
cursor,
|
|
60
|
+
headers,
|
|
62
61
|
})
|
|
63
62
|
cursor = result.cursor ?? undefined
|
|
64
63
|
|
|
@@ -98,6 +97,7 @@ export const createMoralisExplorer = ({
|
|
|
98
97
|
address,
|
|
99
98
|
fromBlock,
|
|
100
99
|
toBlock,
|
|
100
|
+
headers,
|
|
101
101
|
}): Promise<TransactionIndex[]> => {
|
|
102
102
|
const lowerAddress = toLowerHex(address)
|
|
103
103
|
const indexes = new Map<LowerHex, TransactionIndex>()
|
|
@@ -113,6 +113,7 @@ export const createMoralisExplorer = ({
|
|
|
113
113
|
fromBlock,
|
|
114
114
|
toBlock,
|
|
115
115
|
cursor,
|
|
116
|
+
headers,
|
|
116
117
|
})
|
|
117
118
|
cursor = result.cursor ?? undefined
|
|
118
119
|
|
|
@@ -138,6 +139,7 @@ export const createMoralisExplorer = ({
|
|
|
138
139
|
address,
|
|
139
140
|
fromBlock,
|
|
140
141
|
toBlock,
|
|
142
|
+
headers,
|
|
141
143
|
}): Promise<TransactionIndex[]> => {
|
|
142
144
|
const lowerAddress = toLowerHex(address)
|
|
143
145
|
const indexes = new Map<LowerHex, TransactionIndex>()
|
|
@@ -153,6 +155,7 @@ export const createMoralisExplorer = ({
|
|
|
153
155
|
fromBlock,
|
|
154
156
|
toBlock,
|
|
155
157
|
cursor,
|
|
158
|
+
headers,
|
|
156
159
|
})
|
|
157
160
|
cursor = result.cursor ?? undefined
|
|
158
161
|
|
|
@@ -129,6 +129,7 @@ type GetWalletTransactionHistoryParameters = {
|
|
|
129
129
|
fromBlock?: number
|
|
130
130
|
toBlock?: number
|
|
131
131
|
cursor?: string
|
|
132
|
+
headers?: Record<string, string>
|
|
132
133
|
}
|
|
133
134
|
|
|
134
135
|
export const getWalletTransactionHistory = async ({
|
|
@@ -138,6 +139,7 @@ export const getWalletTransactionHistory = async ({
|
|
|
138
139
|
fromBlock = 0,
|
|
139
140
|
toBlock,
|
|
140
141
|
cursor,
|
|
142
|
+
headers,
|
|
141
143
|
}: GetWalletTransactionHistoryParameters) => {
|
|
142
144
|
const path = `/api/v2.2/wallets/${address}/history`
|
|
143
145
|
const query: Record<string, string> = {
|
|
@@ -165,6 +167,7 @@ export const getWalletTransactionHistory = async ({
|
|
|
165
167
|
path,
|
|
166
168
|
query,
|
|
167
169
|
resultSchema,
|
|
170
|
+
headers,
|
|
168
171
|
})
|
|
169
172
|
cache.set(cacheKey, result)
|
|
170
173
|
|
package/explorer/types.ts
CHANGED
|
@@ -35,31 +35,37 @@ type FunctionGetAddressInternalTransactions = (parameters: {
|
|
|
35
35
|
address: Hex
|
|
36
36
|
fromBlock?: number
|
|
37
37
|
toBlock?: number
|
|
38
|
+
headers?: Record<string, string>
|
|
38
39
|
}) => Promise<InternalTransactionWithIndex[]>
|
|
39
40
|
|
|
40
41
|
type FunctionGetAddressTransactionIndexes = (parameters: {
|
|
41
42
|
address: Hex
|
|
42
43
|
fromBlock?: number
|
|
43
44
|
toBlock?: number
|
|
45
|
+
headers?: Record<string, string>
|
|
44
46
|
}) => Promise<TransactionIndex[]>
|
|
45
47
|
|
|
46
48
|
type FunctionGetAddressTokenTransferIndexes = (parameters: {
|
|
47
49
|
address: Hex
|
|
48
50
|
fromBlock?: number
|
|
49
51
|
toBlock?: number
|
|
52
|
+
headers?: Record<string, string>
|
|
50
53
|
}) => Promise<TransactionIndex[]>
|
|
51
54
|
|
|
52
55
|
type FunctionGetBlockNumberOfTimestamp = (parameters: {
|
|
53
56
|
/** Unix timestamp in milliseconds */
|
|
54
57
|
timestamp: number
|
|
58
|
+
headers?: Record<string, string>
|
|
55
59
|
}) => Promise<number>
|
|
56
60
|
|
|
57
61
|
type FunctionGetContract = (parameters: {
|
|
58
62
|
address: Hex
|
|
63
|
+
headers?: Record<string, string>
|
|
59
64
|
}) => Promise<Contract | undefined>
|
|
60
65
|
|
|
61
66
|
type FunctionGetContractCreations = (parameters: {
|
|
62
67
|
addresses: Hex[]
|
|
68
|
+
headers?: Record<string, string>
|
|
63
69
|
}) => Promise<ContractCreation[]>
|
|
64
70
|
|
|
65
71
|
type FunctionGetEventLogs = (parameters: {
|
|
@@ -67,8 +73,10 @@ type FunctionGetEventLogs = (parameters: {
|
|
|
67
73
|
topic0: LowerHex
|
|
68
74
|
fromBlock?: number
|
|
69
75
|
toBlock?: number
|
|
76
|
+
headers?: Record<string, string>
|
|
70
77
|
}) => Promise<LogWithBlockNumber[]>
|
|
71
78
|
|
|
72
79
|
type FunctionGetInternalTransactionOfTransaction = (parameters: {
|
|
73
80
|
hash: LowerHex
|
|
81
|
+
headers?: Record<string, string>
|
|
74
82
|
}) => Promise<InternalTransactionWithIndex[]>
|
|
@@ -45,7 +45,15 @@ export const getAllValue = ({
|
|
|
45
45
|
relatedAddresses,
|
|
46
46
|
})
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
case 'function':
|
|
49
|
+
case 'value':
|
|
50
|
+
case 'chain-id':
|
|
51
|
+
case 'from':
|
|
52
|
+
case 'to':
|
|
53
|
+
case 'log':
|
|
54
|
+
case 'erc20':
|
|
55
|
+
case 'erc721':
|
|
56
|
+
case 'erc1155': {
|
|
49
57
|
// simple value
|
|
50
58
|
return getSimpleValue({
|
|
51
59
|
schema,
|
|
@@ -90,7 +90,18 @@ export const checkTransferIsMatchErc1155Pattern = ({
|
|
|
90
90
|
}
|
|
91
91
|
break
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
case 'function':
|
|
94
|
+
case 'value':
|
|
95
|
+
case 'join':
|
|
96
|
+
case 'slice':
|
|
97
|
+
case 'chain-id':
|
|
98
|
+
case 'from':
|
|
99
|
+
case 'to':
|
|
100
|
+
case 'log':
|
|
101
|
+
case 'erc20':
|
|
102
|
+
case 'erc721':
|
|
103
|
+
case 'erc1155':
|
|
104
|
+
case 'math': {
|
|
94
105
|
const value = getAllValue({
|
|
95
106
|
schema: schema.amount,
|
|
96
107
|
transaction,
|
|
@@ -78,7 +78,18 @@ export const checkTransferIsMatchErc20Pattern = ({
|
|
|
78
78
|
}
|
|
79
79
|
break
|
|
80
80
|
}
|
|
81
|
-
|
|
81
|
+
case 'function':
|
|
82
|
+
case 'from':
|
|
83
|
+
case 'to':
|
|
84
|
+
case 'value':
|
|
85
|
+
case 'join':
|
|
86
|
+
case 'slice':
|
|
87
|
+
case 'chain-id':
|
|
88
|
+
case 'log':
|
|
89
|
+
case 'erc20':
|
|
90
|
+
case 'erc721':
|
|
91
|
+
case 'erc1155':
|
|
92
|
+
case 'math': {
|
|
82
93
|
const value = getAllValue({
|
|
83
94
|
schema: schema.amount,
|
|
84
95
|
transaction,
|
|
@@ -123,7 +123,18 @@ const checkInternalTransactionIsMatchPattern = ({
|
|
|
123
123
|
}
|
|
124
124
|
break
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
case 'function':
|
|
127
|
+
case 'value':
|
|
128
|
+
case 'join':
|
|
129
|
+
case 'slice':
|
|
130
|
+
case 'math':
|
|
131
|
+
case 'chain-id':
|
|
132
|
+
case 'from':
|
|
133
|
+
case 'to':
|
|
134
|
+
case 'log':
|
|
135
|
+
case 'erc20':
|
|
136
|
+
case 'erc721':
|
|
137
|
+
case 'erc1155': {
|
|
127
138
|
const value = getAllValue({
|
|
128
139
|
schema: schema.value,
|
|
129
140
|
transaction,
|
|
@@ -39,7 +39,15 @@ export const getJoinValue = ({
|
|
|
39
39
|
})
|
|
40
40
|
break
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
case 'function':
|
|
43
|
+
case 'value':
|
|
44
|
+
case 'chain-id':
|
|
45
|
+
case 'from':
|
|
46
|
+
case 'to':
|
|
47
|
+
case 'log':
|
|
48
|
+
case 'erc20':
|
|
49
|
+
case 'erc721':
|
|
50
|
+
case 'erc1155': {
|
|
43
51
|
// simple value
|
|
44
52
|
joinValue += getSimpleValue({
|
|
45
53
|
schema: value,
|
|
@@ -84,7 +84,18 @@ export const generateTransfers = ({
|
|
|
84
84
|
}
|
|
85
85
|
break
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
case 'function':
|
|
88
|
+
case 'from':
|
|
89
|
+
case 'to':
|
|
90
|
+
case 'value':
|
|
91
|
+
case 'join':
|
|
92
|
+
case 'slice':
|
|
93
|
+
case 'chain-id':
|
|
94
|
+
case 'log':
|
|
95
|
+
case 'erc20':
|
|
96
|
+
case 'erc721':
|
|
97
|
+
case 'erc1155':
|
|
98
|
+
case 'math': {
|
|
88
99
|
const value = getAllValue({
|
|
89
100
|
schema: schema.value,
|
|
90
101
|
transaction,
|
|
@@ -160,7 +160,18 @@ export const verifyTxSatisfiesCondition = ({
|
|
|
160
160
|
}
|
|
161
161
|
break
|
|
162
162
|
}
|
|
163
|
-
|
|
163
|
+
case 'function':
|
|
164
|
+
case 'from':
|
|
165
|
+
case 'to':
|
|
166
|
+
case 'value':
|
|
167
|
+
case 'slice':
|
|
168
|
+
case 'join':
|
|
169
|
+
case 'chain-id':
|
|
170
|
+
case 'log':
|
|
171
|
+
case 'erc20':
|
|
172
|
+
case 'erc721':
|
|
173
|
+
case 'erc1155':
|
|
174
|
+
case 'math': {
|
|
164
175
|
// all value
|
|
165
176
|
const value = getAllValue({
|
|
166
177
|
schema: valueSchema,
|
|
@@ -391,7 +402,18 @@ const verifyLogsSatisfiesExactCondition = ({
|
|
|
391
402
|
}
|
|
392
403
|
break
|
|
393
404
|
}
|
|
394
|
-
|
|
405
|
+
case 'function':
|
|
406
|
+
case 'from':
|
|
407
|
+
case 'to':
|
|
408
|
+
case 'value':
|
|
409
|
+
case 'join':
|
|
410
|
+
case 'slice':
|
|
411
|
+
case 'chain-id':
|
|
412
|
+
case 'log':
|
|
413
|
+
case 'erc20':
|
|
414
|
+
case 'erc721':
|
|
415
|
+
case 'erc1155':
|
|
416
|
+
case 'math': {
|
|
395
417
|
const value = getAllValue({
|
|
396
418
|
schema: valueSchema,
|
|
397
419
|
transaction,
|
|
@@ -491,7 +513,18 @@ const verifyLogsSatisfiesSomeCondition = ({
|
|
|
491
513
|
}
|
|
492
514
|
break
|
|
493
515
|
}
|
|
494
|
-
|
|
516
|
+
case 'function':
|
|
517
|
+
case 'from':
|
|
518
|
+
case 'to':
|
|
519
|
+
case 'value':
|
|
520
|
+
case 'join':
|
|
521
|
+
case 'slice':
|
|
522
|
+
case 'chain-id':
|
|
523
|
+
case 'log':
|
|
524
|
+
case 'erc20':
|
|
525
|
+
case 'erc721':
|
|
526
|
+
case 'erc1155':
|
|
527
|
+
case 'math': {
|
|
495
528
|
const value = getAllValue({
|
|
496
529
|
schema: valueSchema,
|
|
497
530
|
transaction,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xtorch/evm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.110",
|
|
4
4
|
"description": "Cryptorch EVM extension",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cryptorch",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@0xtorch/big-decimal": "^0.0.11",
|
|
41
|
-
"@0xtorch/core": "^0.0.
|
|
41
|
+
"@0xtorch/core": "^0.0.53",
|
|
42
42
|
"abitype": "^1.0.6",
|
|
43
43
|
"viem": "2.21.18",
|
|
44
44
|
"zod": "^3.23.8"
|