@0xtorch/evm 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/import/abis/erc1155.d.ts +245 -0
- package/dist/import/abis/erc1155.d.ts.map +1 -0
- package/dist/import/abis/erc20.d.ts +169 -0
- package/dist/import/abis/erc20.d.ts.map +1 -0
- package/dist/import/abis/erc721.d.ts +267 -0
- package/dist/import/abis/erc721.d.ts.map +1 -0
- package/dist/import/abis/index.d.ts +5 -0
- package/dist/import/abis/index.d.ts.map +1 -0
- package/dist/import/abis/weth.d.ts +214 -0
- package/dist/import/abis/weth.d.ts.map +1 -0
- package/dist/import/absoluteValue.d.mts +3 -0
- package/dist/import/absoluteValue.d.mts.map +1 -0
- package/dist/import/absoluteValue.d.ts +3 -0
- package/dist/import/absoluteValue.d.ts.map +1 -0
- package/dist/import/analyzer/analyze.d.ts +18 -0
- package/dist/import/analyzer/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/analyzer.d.ts +4 -0
- package/dist/import/analyzer/analyzer.d.ts.map +1 -0
- package/dist/import/analyzer/axieMarketplace/analyze.d.ts +4 -0
- package/dist/import/analyzer/axieMarketplace/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/axieMarketplace/index.d.ts +2 -0
- package/dist/import/analyzer/axieMarketplace/index.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/addLiquidity.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/addLiquidity.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/atomicArbitrage.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/atomicArbitrage.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/bridgeFrom.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/bridgeFrom.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/bridgeTo.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/bridgeTo.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/buyNft.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/buyNft.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/createAccountActionByAction.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/createAccountActionByAction.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/deposit.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/deposit.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/depositWithBond.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/depositWithBond.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/freeMintNft.d.ts +53 -0
- package/dist/import/analyzer/createAccountActionByAction/freeMintNft.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/index.d.ts +2 -0
- package/dist/import/analyzer/createAccountActionByAction/index.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/removeLiquidity.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/removeLiquidity.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/spam.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/spam.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/trade.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/trade.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/transactionFee.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/transactionFee.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/transfer.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/transfer.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/withdraw.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/withdraw.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/withdrawWithBond.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/withdrawWithBond.d.ts.map +1 -0
- package/dist/import/analyzer/gasFee/analyze.d.ts +4 -0
- package/dist/import/analyzer/gasFee/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/gasFee/index.d.ts +2 -0
- package/dist/import/analyzer/gasFee/index.d.ts.map +1 -0
- package/dist/import/analyzer/index.d.ts +10 -0
- package/dist/import/analyzer/index.d.ts.map +1 -0
- package/dist/import/analyzer/json/analyze.d.ts +5 -0
- package/dist/import/analyzer/json/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/json/generatorAnyLog.d.ts +55 -0
- package/dist/import/analyzer/json/generatorAnyLog.d.ts.map +1 -0
- package/dist/import/analyzer/json/generatorAnyTokenTransfer.d.ts +54 -0
- package/dist/import/analyzer/json/generatorAnyTokenTransfer.d.ts.map +1 -0
- package/dist/import/analyzer/json/generatorSpecificTokenTransfer.d.ts +55 -0
- package/dist/import/analyzer/json/generatorSpecificTokenTransfer.d.ts.map +1 -0
- package/dist/import/analyzer/json/index.d.ts +2 -0
- package/dist/import/analyzer/json/index.d.ts.map +1 -0
- package/dist/import/analyzer/json/types.d.ts +177 -0
- package/dist/import/analyzer/json/types.d.ts.map +1 -0
- package/dist/import/analyzer/seaport/analyze.d.ts +4 -0
- package/dist/import/analyzer/seaport/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/seaport/index.d.ts +2 -0
- package/dist/import/analyzer/seaport/index.d.ts.map +1 -0
- package/dist/import/analyzer/seaport/orderFulfilled.d.ts +139 -0
- package/dist/import/analyzer/seaport/orderFulfilled.d.ts.map +1 -0
- package/dist/import/analyzer/spam/analyze.d.ts +4 -0
- package/dist/import/analyzer/spam/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/spam/index.d.ts +2 -0
- package/dist/import/analyzer/spam/index.d.ts.map +1 -0
- package/dist/import/analyzer/swap/analyze.d.ts +4 -0
- package/dist/import/analyzer/swap/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/swap/index.d.ts +2 -0
- package/dist/import/analyzer/swap/index.d.ts.map +1 -0
- package/dist/import/analyzer/swap/traderJoeLBPairSwap.d.ts +108 -0
- package/dist/import/analyzer/swap/traderJoeLBPairSwap.d.ts.map +1 -0
- package/dist/import/analyzer/swap/univ2PairSwap.d.ts +84 -0
- package/dist/import/analyzer/swap/univ2PairSwap.d.ts.map +1 -0
- package/dist/import/analyzer/swap/univ3PoolSwap.d.ts +96 -0
- package/dist/import/analyzer/swap/univ3PoolSwap.d.ts.map +1 -0
- package/dist/import/analyzer/swap/wrappedDeposit.d.ts +36 -0
- package/dist/import/analyzer/swap/wrappedDeposit.d.ts.map +1 -0
- package/dist/import/analyzer/swap/wrappedWithdrawal.d.ts +36 -0
- package/dist/import/analyzer/swap/wrappedWithdrawal.d.ts.map +1 -0
- package/dist/import/analyzer/transfer/analyze.d.ts +4 -0
- package/dist/import/analyzer/transfer/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/transfer/index.d.ts +2 -0
- package/dist/import/analyzer/transfer/index.d.ts.map +1 -0
- package/dist/import/analyzer/types.d.ts +17 -0
- package/dist/import/analyzer/types.d.ts.map +1 -0
- package/dist/import/apps/index.d.ts +2 -0
- package/dist/import/apps/index.d.ts.map +1 -0
- package/dist/import/apps/types.d.ts +6 -0
- package/dist/import/apps/types.d.ts.map +1 -0
- package/dist/import/chains/definitions/arbitrumOne.d.ts +99 -0
- package/dist/import/chains/definitions/arbitrumOne.d.ts.map +1 -0
- package/dist/import/chains/definitions/astar.d.ts +64 -0
- package/dist/import/chains/definitions/astar.d.ts.map +1 -0
- package/dist/import/chains/definitions/avalancheC.d.ts +84 -0
- package/dist/import/chains/definitions/avalancheC.d.ts.map +1 -0
- package/dist/import/chains/definitions/base.d.ts +94 -0
- package/dist/import/chains/definitions/base.d.ts.map +1 -0
- package/dist/import/chains/definitions/bsc.d.ts +144 -0
- package/dist/import/chains/definitions/bsc.d.ts.map +1 -0
- package/dist/import/chains/definitions/defineChain.d.ts +3 -0
- package/dist/import/chains/definitions/defineChain.d.ts.map +1 -0
- package/dist/import/chains/definitions/ethereum.d.ts +129 -0
- package/dist/import/chains/definitions/ethereum.d.ts.map +1 -0
- package/dist/import/chains/definitions/fantom.d.ts +89 -0
- package/dist/import/chains/definitions/fantom.d.ts.map +1 -0
- package/dist/import/chains/definitions/index.d.ts +16 -0
- package/dist/import/chains/definitions/index.d.ts.map +1 -0
- package/dist/import/chains/definitions/linea.d.ts +69 -0
- package/dist/import/chains/definitions/linea.d.ts.map +1 -0
- package/dist/import/chains/definitions/mantle.d.ts +62 -0
- package/dist/import/chains/definitions/mantle.d.ts.map +1 -0
- package/dist/import/chains/definitions/metis.d.ts +52 -0
- package/dist/import/chains/definitions/metis.d.ts.map +1 -0
- package/dist/import/chains/definitions/moonbeam.d.ts +84 -0
- package/dist/import/chains/definitions/moonbeam.d.ts.map +1 -0
- package/dist/import/chains/definitions/moonriver.d.ts +64 -0
- package/dist/import/chains/definitions/moonriver.d.ts.map +1 -0
- package/dist/import/chains/definitions/optimism.d.ts +104 -0
- package/dist/import/chains/definitions/optimism.d.ts.map +1 -0
- package/dist/import/chains/definitions/polygonPos.d.ts +84 -0
- package/dist/import/chains/definitions/polygonPos.d.ts.map +1 -0
- package/dist/import/chains/definitions/ronin.d.ts +49 -0
- package/dist/import/chains/definitions/ronin.d.ts.map +1 -0
- package/dist/import/chains/externals/defillama/constants.d.ts +2 -0
- package/dist/import/chains/externals/defillama/constants.d.ts.map +1 -0
- package/dist/import/chains/externals/defillama/getBlockOfTimestamp.d.ts +10 -0
- package/dist/import/chains/externals/defillama/getBlockOfTimestamp.d.ts.map +1 -0
- package/dist/import/chains/externals/defillama/index.d.ts +2 -0
- package/dist/import/chains/externals/defillama/index.d.ts.map +1 -0
- package/dist/import/chains/externals/index.d.ts +2 -0
- package/dist/import/chains/externals/index.d.ts.map +1 -0
- package/dist/import/chains/index.d.ts +4 -0
- package/dist/import/chains/index.d.ts.map +1 -0
- package/dist/import/chains/types/chain.d.ts +22 -0
- package/dist/import/chains/types/chain.d.ts.map +1 -0
- package/dist/import/chains/types/index.d.ts +3 -0
- package/dist/import/chains/types/index.d.ts.map +1 -0
- package/dist/import/chains/types/rpc.d.ts +7 -0
- package/dist/import/chains/types/rpc.d.ts.map +1 -0
- package/dist/import/clients/definitions/defineClient.d.ts +3 -0
- package/dist/import/clients/definitions/defineClient.d.ts.map +1 -0
- package/dist/import/clients/definitions/index.d.ts +2 -0
- package/dist/import/clients/definitions/index.d.ts.map +1 -0
- package/dist/import/clients/definitions/viemClient.d.ts +59 -0
- package/dist/import/clients/definitions/viemClient.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/estimateFeesPerGas.d.ts +13 -0
- package/dist/import/clients/externals/viem/estimateFeesPerGas.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getBalance.d.ts +15 -0
- package/dist/import/clients/externals/viem/getBalance.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getBlock.d.ts +14 -0
- package/dist/import/clients/externals/viem/getBlock.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getBlockNumber.d.ts +13 -0
- package/dist/import/clients/externals/viem/getBlockNumber.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getEventLogs.d.ts +19 -0
- package/dist/import/clients/externals/viem/getEventLogs.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getTransaction.d.ts +15 -0
- package/dist/import/clients/externals/viem/getTransaction.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getTransactionCount.d.ts +15 -0
- package/dist/import/clients/externals/viem/getTransactionCount.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getTransactionReceipt.d.ts +15 -0
- package/dist/import/clients/externals/viem/getTransactionReceipt.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/index.d.ts +11 -0
- package/dist/import/clients/externals/viem/index.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/middleware.d.ts +23 -0
- package/dist/import/clients/externals/viem/middleware.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/multicall.d.ts +14 -0
- package/dist/import/clients/externals/viem/multicall.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/readContract.d.ts +14 -0
- package/dist/import/clients/externals/viem/readContract.d.ts.map +1 -0
- package/dist/import/clients/index.d.ts +3 -0
- package/dist/import/clients/index.d.ts.map +1 -0
- package/dist/import/clients/types.d.ts +64 -0
- package/dist/import/clients/types.d.ts.map +1 -0
- package/dist/import/createBigDecimal.d.mts +6 -0
- package/dist/import/createBigDecimal.d.mts.map +1 -0
- package/dist/import/createBigDecimal.d.ts +3 -0
- package/dist/import/createBigDecimal.d.ts.map +1 -0
- package/dist/import/creates/createEvmAccount.d.ts +5 -0
- package/dist/import/creates/createEvmAccount.d.ts.map +1 -0
- package/dist/import/decoder/decode.d.ts +3 -0
- package/dist/import/decoder/decode.d.ts.map +1 -0
- package/dist/import/decoder/decoder.d.ts +3 -0
- package/dist/import/decoder/decoder.d.ts.map +1 -0
- package/dist/import/decoder/index.d.ts +6 -0
- package/dist/import/decoder/index.d.ts.map +1 -0
- package/dist/import/decoder/parseErc1155TransferSingleLogs.d.ts +4 -0
- package/dist/import/decoder/parseErc1155TransferSingleLogs.d.ts.map +1 -0
- package/dist/import/decoder/parseErc20TransferLogs.d.ts +8 -0
- package/dist/import/decoder/parseErc20TransferLogs.d.ts.map +1 -0
- package/dist/import/decoder/parseErc721TransferLogs.d.ts +8 -0
- package/dist/import/decoder/parseErc721TransferLogs.d.ts.map +1 -0
- package/dist/import/decoder/types.d.ts +16 -0
- package/dist/import/decoder/types.d.ts.map +1 -0
- package/dist/import/divide.d.mts +8 -0
- package/dist/import/divide.d.mts.map +1 -0
- package/dist/import/divide.d.ts +3 -0
- package/dist/import/divide.d.ts.map +1 -0
- package/dist/import/equals.d.mts +3 -0
- package/dist/import/equals.d.mts.map +1 -0
- package/dist/import/equals.d.ts +3 -0
- package/dist/import/equals.d.ts.map +1 -0
- package/dist/import/explorers/definitions/blockscout.d.ts +60 -0
- package/dist/import/explorers/definitions/blockscout.d.ts.map +1 -0
- package/dist/import/explorers/definitions/defineExplorer.d.ts +3 -0
- package/dist/import/explorers/definitions/defineExplorer.d.ts.map +1 -0
- package/dist/import/explorers/definitions/etherscan.d.ts +61 -0
- package/dist/import/explorers/definitions/etherscan.d.ts.map +1 -0
- package/dist/import/explorers/definitions/index.d.ts +5 -0
- package/dist/import/explorers/definitions/index.d.ts.map +1 -0
- package/dist/import/explorers/definitions/roninExplorer.d.ts +62 -0
- package/dist/import/explorers/definitions/roninExplorer.d.ts.map +1 -0
- package/dist/import/explorers/definitions/routescan.d.ts +19 -0
- package/dist/import/explorers/definitions/routescan.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getBlockNumberOfTimestamp.d.ts +11 -0
- package/dist/import/explorers/externals/blockscout/getBlockNumberOfTimestamp.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getContractByAddress.d.ts +30 -0
- package/dist/import/explorers/externals/blockscout/getContractByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getInternalTransactionsByAddress.d.ts +62 -0
- package/dist/import/explorers/externals/blockscout/getInternalTransactionsByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getInternalTransactionsByTransactionHash.d.ts +54 -0
- package/dist/import/explorers/externals/blockscout/getInternalTransactionsByTransactionHash.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getNormalTransactionsByAddress.d.ts +77 -0
- package/dist/import/explorers/externals/blockscout/getNormalTransactionsByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getTokenTransfersByAddress.d.ts +80 -0
- package/dist/import/explorers/externals/blockscout/getTokenTransfersByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/index.d.ts +7 -0
- package/dist/import/explorers/externals/blockscout/index.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/middleware.d.ts +7 -0
- package/dist/import/explorers/externals/blockscout/middleware.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getBlockNumberOfTimestamp.d.ts +12 -0
- package/dist/import/explorers/externals/etherscan/getBlockNumberOfTimestamp.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getContractByAddress.d.ts +55 -0
- package/dist/import/explorers/externals/etherscan/getContractByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getErc1155TokenTransfersByAddress.d.ts +83 -0
- package/dist/import/explorers/externals/etherscan/getErc1155TokenTransfersByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getErc20TokenTransfersByAddress.d.ts +81 -0
- package/dist/import/explorers/externals/etherscan/getErc20TokenTransfersByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getErc721TokenTransfersByAddress.d.ts +81 -0
- package/dist/import/explorers/externals/etherscan/getErc721TokenTransfersByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getInternalTransactionsByAddress.d.ts +62 -0
- package/dist/import/explorers/externals/etherscan/getInternalTransactionsByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getInternalTransactionsByTransactionHash.d.ts +55 -0
- package/dist/import/explorers/externals/etherscan/getInternalTransactionsByTransactionHash.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getNormalTransactionsByAddress.d.ts +84 -0
- package/dist/import/explorers/externals/etherscan/getNormalTransactionsByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/index.d.ts +9 -0
- package/dist/import/explorers/externals/etherscan/index.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/middleware.d.ts +7 -0
- package/dist/import/explorers/externals/etherscan/middleware.d.ts.map +1 -0
- package/dist/import/explorers/externals/roninExplorer/getInternalTransactionByHash.d.ts +57 -0
- package/dist/import/explorers/externals/roninExplorer/getInternalTransactionByHash.d.ts.map +1 -0
- package/dist/import/explorers/externals/roninExplorer/getNormalTransactionsByAddress.d.ts +70 -0
- package/dist/import/explorers/externals/roninExplorer/getNormalTransactionsByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/roninExplorer/getTokenTransfersByAddress.d.ts +64 -0
- package/dist/import/explorers/externals/roninExplorer/getTokenTransfersByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/roninExplorer/index.d.ts +4 -0
- package/dist/import/explorers/externals/roninExplorer/index.d.ts.map +1 -0
- package/dist/import/explorers/externals/roninExplorer/middleware.d.ts +5 -0
- package/dist/import/explorers/externals/roninExplorer/middleware.d.ts.map +1 -0
- package/dist/import/explorers/index.d.ts +3 -0
- package/dist/import/explorers/index.d.ts.map +1 -0
- package/dist/import/explorers/types.d.ts +43 -0
- package/dist/import/explorers/types.d.ts.map +1 -0
- package/dist/import/fix.d.mts +7 -0
- package/dist/import/fix.d.mts.map +1 -0
- package/dist/import/fix.d.ts +3 -0
- package/dist/import/fix.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getAccountsTransactionFulls.d.ts +15 -0
- package/dist/import/getAccountsTransactionFulls/getAccountsTransactionFulls.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getAccountsTransactionFullsCustom.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/getAccountsTransactionFullsCustom.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getDecodedTransactionsPrices.d.ts +5 -0
- package/dist/import/getAccountsTransactionFulls/getDecodedTransactionsPrices.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getHashesAndInternalTxs.d.ts +8 -0
- package/dist/import/getAccountsTransactionFulls/getHashesAndInternalTxs.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionDetail.d.ts +5 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionDetail.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionDetails.d.ts +5 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionDetails.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionsApps.d.ts +8 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionsApps.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/index.d.ts +3 -0
- package/dist/import/getAccountsTransactionFulls/index.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/types.d.ts +87 -0
- package/dist/import/getAccountsTransactionFulls/types.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withD.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withD.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withDA.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withDA.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withP.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withP.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withPD.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withPD.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withPDA.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withPDA.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withUndefined.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withUndefined.d.ts.map +1 -0
- package/dist/import/getTransactionFull/getTransactionDetail.d.ts +5 -0
- package/dist/import/getTransactionFull/getTransactionDetail.d.ts.map +1 -0
- package/dist/import/getTransactionFull/getTransactionFull.d.ts +11 -0
- package/dist/import/getTransactionFull/getTransactionFull.d.ts.map +1 -0
- package/dist/import/getTransactionFull/getTransactionFullCustom.d.ts +4 -0
- package/dist/import/getTransactionFull/getTransactionFullCustom.d.ts.map +1 -0
- package/dist/import/getTransactionFull/index.d.ts +3 -0
- package/dist/import/getTransactionFull/index.d.ts.map +1 -0
- package/dist/import/getTransactionFull/types.d.ts +63 -0
- package/dist/import/getTransactionFull/types.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withD.d.ts +4 -0
- package/dist/import/getTransactionFull/withD.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withDA.d.ts +4 -0
- package/dist/import/getTransactionFull/withDA.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withP.d.ts +4 -0
- package/dist/import/getTransactionFull/withP.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withPD.d.ts +4 -0
- package/dist/import/getTransactionFull/withPD.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withPDA.d.ts +4 -0
- package/dist/import/getTransactionFull/withPDA.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withUndefined.d.ts +4 -0
- package/dist/import/getTransactionFull/withUndefined.d.ts.map +1 -0
- package/dist/import/greaterThan.d.mts +3 -0
- package/dist/import/greaterThan.d.mts.map +1 -0
- package/dist/import/greaterThan.d.ts +3 -0
- package/dist/import/greaterThan.d.ts.map +1 -0
- package/dist/import/index.d.mts +15 -0
- package/dist/import/index.d.mts.map +1 -0
- package/dist/import/index.d.ts +11 -0
- package/dist/import/index.d.ts.map +1 -0
- package/dist/import/index.mjs +1 -0
- package/dist/import/minus.d.mts +3 -0
- package/dist/import/minus.d.mts.map +1 -0
- package/dist/import/minus.d.ts +3 -0
- package/dist/import/minus.d.ts.map +1 -0
- package/dist/import/plus.d.mts +3 -0
- package/dist/import/plus.d.mts.map +1 -0
- package/dist/import/plus.d.ts +3 -0
- package/dist/import/plus.d.ts.map +1 -0
- package/dist/import/removeTrailingZeros.d.mts +6 -0
- package/dist/import/removeTrailingZeros.d.mts.map +1 -0
- package/dist/import/removeTrailingZeros.d.ts +3 -0
- package/dist/import/removeTrailingZeros.d.ts.map +1 -0
- package/dist/import/times.d.ts +3 -0
- package/dist/import/times.d.ts.map +1 -0
- package/dist/import/toStringBigDecimal.d.mts +6 -0
- package/dist/import/toStringBigDecimal.d.mts.map +1 -0
- package/dist/import/toStringBigDecimal.d.ts +3 -0
- package/dist/import/toStringBigDecimal.d.ts.map +1 -0
- package/dist/import/type.d.mts +5 -0
- package/dist/import/type.d.mts.map +1 -0
- package/dist/import/type.d.ts +5 -0
- package/dist/import/type.d.ts.map +1 -0
- package/dist/import/types/erc1155.d.ts +16 -0
- package/dist/import/types/erc1155.d.ts.map +1 -0
- package/dist/import/types/erc20.d.ts +19 -0
- package/dist/import/types/erc20.d.ts.map +1 -0
- package/dist/import/types/erc721.d.ts +18 -0
- package/dist/import/types/erc721.d.ts.map +1 -0
- package/dist/import/types/evmAccount.d.ts +10 -0
- package/dist/import/types/evmAccount.d.ts.map +1 -0
- package/dist/import/types/hex.d.ts +5 -0
- package/dist/import/types/hex.d.ts.map +1 -0
- package/dist/import/types/index.d.ts +12 -0
- package/dist/import/types/index.d.ts.map +1 -0
- package/dist/import/types/input.d.ts +26 -0
- package/dist/import/types/input.d.ts.map +1 -0
- package/dist/import/types/internalTransaction.d.ts +18 -0
- package/dist/import/types/internalTransaction.d.ts.map +1 -0
- package/dist/import/types/log.d.ts +118 -0
- package/dist/import/types/log.d.ts.map +1 -0
- package/dist/import/types/transaction.d.ts +44 -0
- package/dist/import/types/transaction.d.ts.map +1 -0
- package/dist/import/utils/bigint.d.ts +3 -0
- package/dist/import/utils/bigint.d.ts.map +1 -0
- package/dist/import/utils/index.d.ts +4 -0
- package/dist/import/utils/index.d.ts.map +1 -0
- package/dist/import/utils/timeout.d.ts +2 -0
- package/dist/import/utils/timeout.d.ts.map +1 -0
- package/dist/import/utils/types.d.ts +12 -0
- package/dist/import/utils/types.d.ts.map +1 -0
- package/dist/require/absoluteValue.d.ts +3 -0
- package/dist/require/absoluteValue.d.ts.map +1 -0
- package/dist/require/createBigDecimal.d.ts +6 -0
- package/dist/require/createBigDecimal.d.ts.map +1 -0
- package/dist/require/divide.d.ts +2 -0
- package/dist/require/divide.d.ts.map +1 -0
- package/dist/require/equals.d.ts +3 -0
- package/dist/require/equals.d.ts.map +1 -0
- package/dist/require/fix.d.ts +7 -0
- package/dist/require/fix.d.ts.map +1 -0
- package/dist/require/greaterThan.d.ts +3 -0
- package/dist/require/greaterThan.d.ts.map +1 -0
- package/dist/require/index.cjs +46 -0
- package/dist/require/index.d.cts +2 -0
- package/dist/require/index.d.cts.map +1 -0
- package/dist/require/index.d.ts +11 -0
- package/dist/require/index.d.ts.map +1 -0
- package/dist/require/minus.d.ts +3 -0
- package/dist/require/minus.d.ts.map +1 -0
- package/dist/require/plus.d.ts +3 -0
- package/dist/require/plus.d.ts.map +1 -0
- package/dist/require/removeTrailingZeros.d.ts +6 -0
- package/dist/require/removeTrailingZeros.d.ts.map +1 -0
- package/dist/require/times.d.ts +8 -0
- package/dist/require/times.d.ts.map +1 -0
- package/dist/require/toStringBigDecimal.d.ts +6 -0
- package/dist/require/toStringBigDecimal.d.ts.map +1 -0
- package/dist/require/type.d.ts +5 -0
- package/dist/require/type.d.ts.map +1 -0
- package/package.json +85 -0
- package/src/abis/erc1155.ts +314 -0
- package/src/abis/erc20.ts +222 -0
- package/src/abis/erc721.ts +346 -0
- package/src/abis/index.ts +4 -0
- package/src/abis/weth.ts +153 -0
- package/src/analyzer/analyze.ts +85 -0
- package/src/analyzer/analyzer.ts +5 -0
- package/src/analyzer/axieMarketplace/analyze.ts +326 -0
- package/src/analyzer/axieMarketplace/index.ts +1 -0
- package/src/analyzer/createAccountActionByAction/addLiquidity.ts +60 -0
- package/src/analyzer/createAccountActionByAction/atomicArbitrage.ts +115 -0
- package/src/analyzer/createAccountActionByAction/bridgeFrom.ts +61 -0
- package/src/analyzer/createAccountActionByAction/bridgeTo.ts +61 -0
- package/src/analyzer/createAccountActionByAction/buyNft.ts +106 -0
- package/src/analyzer/createAccountActionByAction/createAccountActionByAction.ts +181 -0
- package/src/analyzer/createAccountActionByAction/deposit.ts +64 -0
- package/src/analyzer/createAccountActionByAction/depositWithBond.ts +60 -0
- package/src/analyzer/createAccountActionByAction/freeMintNft.ts +54 -0
- package/src/analyzer/createAccountActionByAction/index.ts +1 -0
- package/src/analyzer/createAccountActionByAction/removeLiquidity.ts +60 -0
- package/src/analyzer/createAccountActionByAction/spam.ts +79 -0
- package/src/analyzer/createAccountActionByAction/trade.ts +105 -0
- package/src/analyzer/createAccountActionByAction/transactionFee.ts +51 -0
- package/src/analyzer/createAccountActionByAction/transfer.ts +95 -0
- package/src/analyzer/createAccountActionByAction/withdraw.ts +61 -0
- package/src/analyzer/createAccountActionByAction/withdrawWithBond.ts +60 -0
- package/src/analyzer/gasFee/analyze.test.ts +6 -0
- package/src/analyzer/gasFee/analyze.ts +72 -0
- package/src/analyzer/gasFee/index.ts +1 -0
- package/src/analyzer/index.ts +9 -0
- package/src/analyzer/json/analyze.test.ts +1819 -0
- package/src/analyzer/json/analyze.ts +536 -0
- package/src/analyzer/json/generatorAnyLog.ts +207 -0
- package/src/analyzer/json/generatorAnyTokenTransfer.ts +118 -0
- package/src/analyzer/json/generatorSpecificTokenTransfer.ts +425 -0
- package/src/analyzer/json/index.ts +1 -0
- package/src/analyzer/json/types.ts +239 -0
- package/src/analyzer/seaport/analyze.test.ts +2323 -0
- package/src/analyzer/seaport/analyze.ts +917 -0
- package/src/analyzer/seaport/index.ts +1 -0
- package/src/analyzer/seaport/orderFulfilled.ts +131 -0
- package/src/analyzer/spam/analyze.ts +219 -0
- package/src/analyzer/spam/index.ts +1 -0
- package/src/analyzer/swap/analyze.test.ts +2401 -0
- package/src/analyzer/swap/analyze.ts +939 -0
- package/src/analyzer/swap/index.ts +1 -0
- package/src/analyzer/swap/traderJoeLBPairSwap.ts +92 -0
- package/src/analyzer/swap/univ2PairSwap.ts +77 -0
- package/src/analyzer/swap/univ3PoolSwap.ts +83 -0
- package/src/analyzer/swap/wrappedDeposit.ts +51 -0
- package/src/analyzer/swap/wrappedWithdrawal.ts +53 -0
- package/src/analyzer/tests.ts +2 -0
- package/src/analyzer/transfer/analyze.test.ts +6 -0
- package/src/analyzer/transfer/analyze.ts +209 -0
- package/src/analyzer/transfer/index.ts +1 -0
- package/src/analyzer/types.ts +44 -0
- package/src/apps/index.ts +1 -0
- package/src/apps/types.ts +10 -0
- package/src/chains/definitions/arbitrumOne.test.ts +50 -0
- package/src/chains/definitions/arbitrumOne.ts +133 -0
- package/src/chains/definitions/astar.test.ts +51 -0
- package/src/chains/definitions/astar.ts +93 -0
- package/src/chains/definitions/avalancheC.test.ts +50 -0
- package/src/chains/definitions/avalancheC.ts +115 -0
- package/src/chains/definitions/base.test.ts +50 -0
- package/src/chains/definitions/base.ts +125 -0
- package/src/chains/definitions/bsc.test.ts +50 -0
- package/src/chains/definitions/bsc.ts +182 -0
- package/src/chains/definitions/defineChain.ts +7 -0
- package/src/chains/definitions/ethereum.test.ts +50 -0
- package/src/chains/definitions/ethereum.ts +169 -0
- package/src/chains/definitions/fantom.test.ts +50 -0
- package/src/chains/definitions/fantom.ts +123 -0
- package/src/chains/definitions/index.ts +88 -0
- package/src/chains/definitions/linea.test.ts +50 -0
- package/src/chains/definitions/linea.ts +95 -0
- package/src/chains/definitions/mantle.test.ts +50 -0
- package/src/chains/definitions/mantle.ts +75 -0
- package/src/chains/definitions/metis.test.ts +50 -0
- package/src/chains/definitions/metis.ts +60 -0
- package/src/chains/definitions/moonbeam.test.ts +50 -0
- package/src/chains/definitions/moonbeam.ts +117 -0
- package/src/chains/definitions/moonriver.test.ts +50 -0
- package/src/chains/definitions/moonriver.ts +94 -0
- package/src/chains/definitions/optimism.test.ts +50 -0
- package/src/chains/definitions/optimism.ts +139 -0
- package/src/chains/definitions/polygonPos.test.ts +50 -0
- package/src/chains/definitions/polygonPos.ts +121 -0
- package/src/chains/definitions/ronin.test.ts +50 -0
- package/src/chains/definitions/ronin.ts +75 -0
- package/src/chains/definitions/tests.ts +2884 -0
- package/src/chains/externals/defillama/constants.ts +1 -0
- package/src/chains/externals/defillama/getBlockOfTimestamp.test.ts +12 -0
- package/src/chains/externals/defillama/getBlockOfTimestamp.ts +26 -0
- package/src/chains/externals/defillama/index.ts +1 -0
- package/src/chains/externals/index.ts +1 -0
- package/src/chains/index.ts +62 -0
- package/src/chains/types/chain.ts +22 -0
- package/src/chains/types/index.ts +2 -0
- package/src/chains/types/rpc.ts +6 -0
- package/src/clients/definitions/defineClient.ts +7 -0
- package/src/clients/definitions/index.ts +1 -0
- package/src/clients/definitions/viemClient.ts +86 -0
- package/src/clients/externals/viem/estimateFeesPerGas.ts +23 -0
- package/src/clients/externals/viem/getBalance.ts +25 -0
- package/src/clients/externals/viem/getBlock.ts +29 -0
- package/src/clients/externals/viem/getBlockNumber.ts +23 -0
- package/src/clients/externals/viem/getEventLogs.test.ts +22 -0
- package/src/clients/externals/viem/getEventLogs.ts +40 -0
- package/src/clients/externals/viem/getTransaction.ts +25 -0
- package/src/clients/externals/viem/getTransactionCount.ts +25 -0
- package/src/clients/externals/viem/getTransactionReceipt.ts +25 -0
- package/src/clients/externals/viem/index.ts +10 -0
- package/src/clients/externals/viem/middleware.ts +437 -0
- package/src/clients/externals/viem/multicall.test.ts +26 -0
- package/src/clients/externals/viem/multicall.ts +27 -0
- package/src/clients/externals/viem/readContract.test.ts +20 -0
- package/src/clients/externals/viem/readContract.ts +38 -0
- package/src/clients/externals/viem/tests.ts +957 -0
- package/src/clients/index.ts +2 -0
- package/src/clients/types.ts +113 -0
- package/src/creates/createEvmAccount.ts +12 -0
- package/src/decoder/decode.test.ts +324 -0
- package/src/decoder/decode.ts +716 -0
- package/src/decoder/decoder.ts +6 -0
- package/src/decoder/index.ts +5 -0
- package/src/decoder/parseErc1155TransferSingleLogs.ts +40 -0
- package/src/decoder/parseErc20TransferLogs.ts +35 -0
- package/src/decoder/parseErc721TransferLogs.ts +40 -0
- package/src/decoder/tests.ts +502 -0
- package/src/decoder/types.ts +21 -0
- package/src/explorers/definitions/blockscout.test.ts +124 -0
- package/src/explorers/definitions/blockscout.ts +205 -0
- package/src/explorers/definitions/defineExplorer.ts +7 -0
- package/src/explorers/definitions/etherscan.test.ts +123 -0
- package/src/explorers/definitions/etherscan.ts +279 -0
- package/src/explorers/definitions/index.ts +4 -0
- package/src/explorers/definitions/roninExplorer.ts +150 -0
- package/src/explorers/definitions/routescan.ts +57 -0
- package/src/explorers/externals/blockscout/getBlockNumberOfTimestamp.ts +67 -0
- package/src/explorers/externals/blockscout/getContractByAddress.ts +81 -0
- package/src/explorers/externals/blockscout/getInternalTransactionsByAddress.ts +120 -0
- package/src/explorers/externals/blockscout/getInternalTransactionsByTransactionHash.ts +87 -0
- package/src/explorers/externals/blockscout/getNormalTransactionsByAddress.ts +116 -0
- package/src/explorers/externals/blockscout/getTokenTransfersByAddress.ts +127 -0
- package/src/explorers/externals/blockscout/index.ts +6 -0
- package/src/explorers/externals/blockscout/middleware.ts +56 -0
- package/src/explorers/externals/defillama/getBlockNumberOfTimestamp.ts +28 -0
- package/src/explorers/externals/defillama/index.ts +1 -0
- package/src/explorers/externals/etherscan/getBlockNumberOfTimestamp.ts +66 -0
- package/src/explorers/externals/etherscan/getContractByAddress.ts +86 -0
- package/src/explorers/externals/etherscan/getErc1155TokenTransfersByAddress.ts +133 -0
- package/src/explorers/externals/etherscan/getErc20TokenTransfersByAddress.ts +125 -0
- package/src/explorers/externals/etherscan/getErc721TokenTransfersByAddress.ts +125 -0
- package/src/explorers/externals/etherscan/getInternalTransactionsByAddress.ts +117 -0
- package/src/explorers/externals/etherscan/getInternalTransactionsByTransactionHash.ts +91 -0
- package/src/explorers/externals/etherscan/getNormalTransactionsByAddress.ts +122 -0
- package/src/explorers/externals/etherscan/index.ts +8 -0
- package/src/explorers/externals/etherscan/middleware.ts +77 -0
- package/src/explorers/externals/roninExplorer/getInternalTransactionByHash.ts +80 -0
- package/src/explorers/externals/roninExplorer/getNormalTransactionsByAddress.ts +79 -0
- package/src/explorers/externals/roninExplorer/getTokenTransfersByAddress.ts +81 -0
- package/src/explorers/externals/roninExplorer/index.ts +3 -0
- package/src/explorers/externals/roninExplorer/middleware.ts +49 -0
- package/src/explorers/index.ts +7 -0
- package/src/explorers/types.ts +56 -0
- package/src/getAccountsTransactionFulls/getAccountsTransactionFulls.test.ts +22 -0
- package/src/getAccountsTransactionFulls/getAccountsTransactionFulls.ts +46 -0
- package/src/getAccountsTransactionFulls/getAccountsTransactionFullsCustom.ts +106 -0
- package/src/getAccountsTransactionFulls/getDecodedTransactionsPrices.ts +97 -0
- package/src/getAccountsTransactionFulls/getHashesAndInternalTxs.ts +65 -0
- package/src/getAccountsTransactionFulls/getTransactionDetail.ts +49 -0
- package/src/getAccountsTransactionFulls/getTransactionDetails.ts +39 -0
- package/src/getAccountsTransactionFulls/getTransactionsApps.ts +42 -0
- package/src/getAccountsTransactionFulls/index.ts +2 -0
- package/src/getAccountsTransactionFulls/types.ts +122 -0
- package/src/getAccountsTransactionFulls/withD.ts +80 -0
- package/src/getAccountsTransactionFulls/withDA.ts +112 -0
- package/src/getAccountsTransactionFulls/withP.ts +120 -0
- package/src/getAccountsTransactionFulls/withPD.ts +141 -0
- package/src/getAccountsTransactionFulls/withPDA.ts +167 -0
- package/src/getAccountsTransactionFulls/withUndefined.ts +88 -0
- package/src/getContractAbi.ts +15 -0
- package/src/getTransactionFull/getTransactionDetail.ts +47 -0
- package/src/getTransactionFull/getTransactionFull.test.ts +34 -0
- package/src/getTransactionFull/getTransactionFull.ts +30 -0
- package/src/getTransactionFull/getTransactionFullCustom.ts +91 -0
- package/src/getTransactionFull/index.ts +2 -0
- package/src/getTransactionFull/types.ts +98 -0
- package/src/getTransactionFull/withD.ts +57 -0
- package/src/getTransactionFull/withDA.ts +78 -0
- package/src/getTransactionFull/withP.ts +69 -0
- package/src/getTransactionFull/withPD.ts +119 -0
- package/src/getTransactionFull/withPDA.ts +147 -0
- package/src/getTransactionFull/withUndefined.ts +39 -0
- package/src/index.cts +1 -0
- package/src/index.mts +110 -0
- package/src/tests.ts +1 -0
- package/src/types/erc1155.ts +17 -0
- package/src/types/erc20.ts +22 -0
- package/src/types/erc721.ts +19 -0
- package/src/types/evmAccount.ts +12 -0
- package/src/types/hex.test.ts +10 -0
- package/src/types/hex.ts +9 -0
- package/src/types/index.ts +16 -0
- package/src/types/input.ts +27 -0
- package/src/types/internalTransaction.ts +19 -0
- package/src/types/log.ts +68 -0
- package/src/types/transaction.ts +78 -0
- package/src/utils/bigint.ts +5 -0
- package/src/utils/index.ts +3 -0
- package/src/utils/timeout.ts +5 -0
- package/src/utils/types.ts +12 -0
- package/tsconfig.json +28 -0
|
@@ -0,0 +1,2401 @@
|
|
|
1
|
+
/* eslint-disable unicorn/no-null */
|
|
2
|
+
import type { CryptoCurrencyPrice } from '@0xtorch/core'
|
|
3
|
+
import { describe, expect, it } from 'bun:test'
|
|
4
|
+
import { createPolygonPosChain } from '../../chains'
|
|
5
|
+
import type { TransactionDecoded } from '../../types'
|
|
6
|
+
import { analyzeSwap } from './analyze'
|
|
7
|
+
|
|
8
|
+
describe('analyzeSwap', () => {
|
|
9
|
+
// TODO
|
|
10
|
+
it.todo('univ2 router の analyze が正常にされる')
|
|
11
|
+
|
|
12
|
+
// TODO
|
|
13
|
+
it.todo('univ2 router の ETHforTokens tx が analyze が正常にされる')
|
|
14
|
+
|
|
15
|
+
it('univ3 router の analyze が正常にされる', async () => {
|
|
16
|
+
// https://polygonscan.com/tx/0x280f6011ffeacfbda6acac75ab0082b0a8c731d32bb5dd72336ca3c3baaa8af4
|
|
17
|
+
const chain = createPolygonPosChain('')
|
|
18
|
+
const transaction: TransactionDecoded<CryptoCurrencyPrice | undefined> = {
|
|
19
|
+
app: undefined,
|
|
20
|
+
blockHash:
|
|
21
|
+
'0x3dbb6a31867f9e63231fbb6d53856ea61544de7fad75e9952ecc27d77c3f6927',
|
|
22
|
+
blockNumber: 37_607_877n,
|
|
23
|
+
from: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
24
|
+
gas: 164_640n,
|
|
25
|
+
gasPrice: 39_452_331_698n,
|
|
26
|
+
maxFeePerGas: 41_203_339_905n,
|
|
27
|
+
maxPriorityFeePerGas: 30_000_000_000n,
|
|
28
|
+
hash: '0x280f6011ffeacfbda6acac75ab0082b0a8c731d32bb5dd72336ca3c3baaa8af4',
|
|
29
|
+
input:
|
|
30
|
+
'0x5ae401dc0000000000000000000000000000000000000000000000000000000063b3af9700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e45023b4df0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f61900000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d600000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000ba6f742000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
|
31
|
+
nonce: 436,
|
|
32
|
+
to: '0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45',
|
|
33
|
+
transactionIndex: 67,
|
|
34
|
+
value: 0n,
|
|
35
|
+
type: 'eip1559',
|
|
36
|
+
accessList: [],
|
|
37
|
+
chainId: 137,
|
|
38
|
+
v: 0n,
|
|
39
|
+
r: '0x4a176ac83cedc423803d60e1f7955af950b35510ab5210c58f99615ad2da3abc',
|
|
40
|
+
s: '0x2044c742de4462cdc35ac54285532d3d041f422fdbedd04c5693fcd4cd2413bf',
|
|
41
|
+
yParity: 0,
|
|
42
|
+
typeHex: '0x2',
|
|
43
|
+
contractAddress: null,
|
|
44
|
+
cumulativeGasUsed: 10_896_227n,
|
|
45
|
+
effectiveGasPrice: 39_452_331_698n,
|
|
46
|
+
gasUsed: 127_141n,
|
|
47
|
+
logs: [
|
|
48
|
+
{
|
|
49
|
+
type: 'decoded',
|
|
50
|
+
log: {
|
|
51
|
+
address: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
|
|
52
|
+
blockHash:
|
|
53
|
+
'0x3dbb6a31867f9e63231fbb6d53856ea61544de7fad75e9952ecc27d77c3f6927',
|
|
54
|
+
blockNumber: 37_607_877n,
|
|
55
|
+
data: '0x00000000000000000000000000000000000000000000000002386f26fc100000',
|
|
56
|
+
logIndex: 253,
|
|
57
|
+
transactionHash:
|
|
58
|
+
'0x280f6011ffeacfbda6acac75ab0082b0a8c731d32bb5dd72336ca3c3baaa8af4',
|
|
59
|
+
transactionIndex: 67,
|
|
60
|
+
removed: false,
|
|
61
|
+
topics: [
|
|
62
|
+
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
63
|
+
'0x00000000000000000000000045dda9cb7c25131df268515131f647d726f50608',
|
|
64
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
65
|
+
],
|
|
66
|
+
eventName: 'Transfer',
|
|
67
|
+
args: [
|
|
68
|
+
{
|
|
69
|
+
indexed: true,
|
|
70
|
+
name: 'from',
|
|
71
|
+
type: 'address',
|
|
72
|
+
value: '0x45dDa9cb7c25131DF268515131f647d726f50608',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
indexed: true,
|
|
76
|
+
name: 'to',
|
|
77
|
+
type: 'address',
|
|
78
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
indexed: false,
|
|
82
|
+
name: 'value',
|
|
83
|
+
type: 'uint256',
|
|
84
|
+
value: 160_000_000_000_000_000n,
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
type: 'DecodedLog',
|
|
88
|
+
},
|
|
89
|
+
source: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
type: 'decoded',
|
|
93
|
+
log: {
|
|
94
|
+
address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
95
|
+
blockHash:
|
|
96
|
+
'0x3dbb6a31867f9e63231fbb6d53856ea61544de7fad75e9952ecc27d77c3f6927',
|
|
97
|
+
blockNumber: 37_607_877n,
|
|
98
|
+
data: '0x000000000000000000000000000000000000000000000000000000000b98200f',
|
|
99
|
+
logIndex: 254,
|
|
100
|
+
transactionHash:
|
|
101
|
+
'0x280f6011ffeacfbda6acac75ab0082b0a8c731d32bb5dd72336ca3c3baaa8af4',
|
|
102
|
+
transactionIndex: 67,
|
|
103
|
+
removed: false,
|
|
104
|
+
topics: [
|
|
105
|
+
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
106
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
107
|
+
'0x00000000000000000000000045dda9cb7c25131df268515131f647d726f50608',
|
|
108
|
+
],
|
|
109
|
+
eventName: 'Transfer',
|
|
110
|
+
args: [
|
|
111
|
+
{
|
|
112
|
+
indexed: true,
|
|
113
|
+
name: '_from',
|
|
114
|
+
type: 'address',
|
|
115
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
indexed: true,
|
|
119
|
+
name: '_to',
|
|
120
|
+
type: 'address',
|
|
121
|
+
value: '0x45dDa9cb7c25131DF268515131f647d726f50608',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
indexed: false,
|
|
125
|
+
name: '_value',
|
|
126
|
+
type: 'uint256',
|
|
127
|
+
value: 194_519_055n,
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
type: 'DecodedLog',
|
|
131
|
+
},
|
|
132
|
+
source: '0xbb0e17ef65f82ab018d8edd776e8dd940327b28b',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: 'decoded',
|
|
136
|
+
log: {
|
|
137
|
+
address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
138
|
+
blockHash:
|
|
139
|
+
'0x3dbb6a31867f9e63231fbb6d53856ea61544de7fad75e9952ecc27d77c3f6927',
|
|
140
|
+
blockNumber: 37_607_877n,
|
|
141
|
+
data: '0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffff42ad6f0',
|
|
142
|
+
logIndex: 255,
|
|
143
|
+
transactionHash:
|
|
144
|
+
'0x280f6011ffeacfbda6acac75ab0082b0a8c731d32bb5dd72336ca3c3baaa8af4',
|
|
145
|
+
transactionIndex: 67,
|
|
146
|
+
removed: false,
|
|
147
|
+
topics: [
|
|
148
|
+
'0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925',
|
|
149
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
150
|
+
'0x00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45',
|
|
151
|
+
],
|
|
152
|
+
eventName: 'Approval',
|
|
153
|
+
args: [
|
|
154
|
+
{
|
|
155
|
+
indexed: true,
|
|
156
|
+
name: '_owner',
|
|
157
|
+
type: 'address',
|
|
158
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
indexed: true,
|
|
162
|
+
name: '_spender',
|
|
163
|
+
type: 'address',
|
|
164
|
+
value: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
indexed: false,
|
|
168
|
+
name: '_value',
|
|
169
|
+
type: 'uint256',
|
|
170
|
+
value:
|
|
171
|
+
115_792_089_237_316_195_423_570_985_008_687_907_853_269_984_665_640_564_039_457_584_007_912_931_120_880n,
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
type: 'DecodedLog',
|
|
175
|
+
},
|
|
176
|
+
source: '0xbb0e17ef65f82ab018d8edd776e8dd940327b28b',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
type: 'decoded',
|
|
180
|
+
log: {
|
|
181
|
+
address: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
182
|
+
blockHash:
|
|
183
|
+
'0x3dbb6a31867f9e63231fbb6d53856ea61544de7fad75e9952ecc27d77c3f6927',
|
|
184
|
+
blockNumber: 37_607_877n,
|
|
185
|
+
data: '0x000000000000000000000000000000000000000000000000000000000b98200ffffffffffffffffffffffffffffffffffffffffffffffffffdc790d903f00000000000000000000000000000000000000000700f1eab0422dc9e197fddca62150000000000000000000000000000000000000000000000001d76a70ae7b0abff00000000000000000000000000000000000000000000000000000000000321ee',
|
|
186
|
+
logIndex: 256,
|
|
187
|
+
transactionHash:
|
|
188
|
+
'0x280f6011ffeacfbda6acac75ab0082b0a8c731d32bb5dd72336ca3c3baaa8af4',
|
|
189
|
+
transactionIndex: 67,
|
|
190
|
+
removed: false,
|
|
191
|
+
topics: [
|
|
192
|
+
'0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67',
|
|
193
|
+
'0x00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45',
|
|
194
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
195
|
+
],
|
|
196
|
+
eventName: 'Swap',
|
|
197
|
+
args: [
|
|
198
|
+
{
|
|
199
|
+
indexed: true,
|
|
200
|
+
name: 'sender',
|
|
201
|
+
type: 'address',
|
|
202
|
+
value: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
indexed: true,
|
|
206
|
+
name: 'recipient',
|
|
207
|
+
type: 'address',
|
|
208
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
indexed: false,
|
|
212
|
+
name: 'amount0',
|
|
213
|
+
type: 'int256',
|
|
214
|
+
value: 194_519_055n,
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
indexed: false,
|
|
218
|
+
name: 'amount1',
|
|
219
|
+
type: 'int256',
|
|
220
|
+
value: -160_000_000_000_000_000n,
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
indexed: false,
|
|
224
|
+
name: 'sqrtPriceX96',
|
|
225
|
+
type: 'uint160',
|
|
226
|
+
value: 2_272_827_789_342_843_399_401_402_264_085_013n,
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
indexed: false,
|
|
230
|
+
name: 'liquidity',
|
|
231
|
+
type: 'uint128',
|
|
232
|
+
value: 2_123_067_939_630_394_367n,
|
|
233
|
+
},
|
|
234
|
+
{ indexed: false, name: 'tick', type: 'int24', value: 205_294 },
|
|
235
|
+
],
|
|
236
|
+
type: 'DecodedLog',
|
|
237
|
+
},
|
|
238
|
+
source: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
type: 'decoded',
|
|
242
|
+
log: {
|
|
243
|
+
address: '0x0000000000000000000000000000000000001010',
|
|
244
|
+
blockHash:
|
|
245
|
+
'0x3dbb6a31867f9e63231fbb6d53856ea61544de7fad75e9952ecc27d77c3f6927',
|
|
246
|
+
blockNumber: 37_607_877n,
|
|
247
|
+
data: '0x000000000000000000000000000000000000000000000000000d8d05a03ddc000000000000000000000000000000000000000000000000006b14c0208a60375d000000000000000000000000000000000000000000000257c526cb042abf7b220000000000000000000000000000000000000000000000006b07331aea225b5d000000000000000000000000000000000000000000000257c5345809cafd5722',
|
|
248
|
+
logIndex: 257,
|
|
249
|
+
transactionHash:
|
|
250
|
+
'0x280f6011ffeacfbda6acac75ab0082b0a8c731d32bb5dd72336ca3c3baaa8af4',
|
|
251
|
+
transactionIndex: 67,
|
|
252
|
+
removed: false,
|
|
253
|
+
topics: [
|
|
254
|
+
'0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63',
|
|
255
|
+
'0x0000000000000000000000000000000000000000000000000000000000001010',
|
|
256
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
257
|
+
'0x00000000000000000000000067b94473d81d0cd00849d563c94d0432ac988b49',
|
|
258
|
+
],
|
|
259
|
+
eventName: 'LogFeeTransfer',
|
|
260
|
+
args: [
|
|
261
|
+
{
|
|
262
|
+
indexed: true,
|
|
263
|
+
name: 'token',
|
|
264
|
+
type: 'address',
|
|
265
|
+
value: '0x0000000000000000000000000000000000001010',
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
indexed: true,
|
|
269
|
+
name: 'from',
|
|
270
|
+
type: 'address',
|
|
271
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
indexed: true,
|
|
275
|
+
name: 'to',
|
|
276
|
+
type: 'address',
|
|
277
|
+
value: '0x67B94473D81D0cd00849D563C94d0432Ac988B49',
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
indexed: false,
|
|
281
|
+
name: 'amount',
|
|
282
|
+
type: 'uint256',
|
|
283
|
+
value: 3_814_230_000_000_000n,
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
indexed: false,
|
|
287
|
+
name: 'input1',
|
|
288
|
+
type: 'uint256',
|
|
289
|
+
value: 7_716_003_307_585_550_173n,
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
indexed: false,
|
|
293
|
+
name: 'input2',
|
|
294
|
+
type: 'uint256',
|
|
295
|
+
value: 11_063_805_965_445_365_725_986n,
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
indexed: false,
|
|
299
|
+
name: 'output1',
|
|
300
|
+
type: 'uint256',
|
|
301
|
+
value: 7_712_189_077_585_550_173n,
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
indexed: false,
|
|
305
|
+
name: 'output2',
|
|
306
|
+
type: 'uint256',
|
|
307
|
+
value: 11_063_809_779_675_365_725_986n,
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
type: 'DecodedLog',
|
|
311
|
+
},
|
|
312
|
+
source: '0x0000000000000000000000000000000000001010',
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
logsBloom:
|
|
316
|
+
'0x00000000000000000000000000000000000000000000020000000000000000000000000000000000000000000040000000008000000020000000000000200000000000000000400800000008000000800000002000000000010100000000000000000000020000000000000000000000000000000000000180000010000800000001000000000000000800000000000000010000000000000000000000000000220000000000000000000000000000000000000000000000000000000000004000800002000008000001800000008000000000000000000000100900000000000010028000000000000000000800080080000000000000000000000000100000',
|
|
317
|
+
status: 'success',
|
|
318
|
+
transactionHash:
|
|
319
|
+
'0x280f6011ffeacfbda6acac75ab0082b0a8c731d32bb5dd72336ca3c3baaa8af4',
|
|
320
|
+
block: {
|
|
321
|
+
blobGasUsed: 0n,
|
|
322
|
+
excessBlobGas: 0n,
|
|
323
|
+
sealFields: [],
|
|
324
|
+
baseFeePerGas: 9_452_331_698n,
|
|
325
|
+
difficulty: 23n,
|
|
326
|
+
extraData:
|
|
327
|
+
'0xd682030083626f7288676f312e31392e34856c696e7578000000000000000000d91fa21db7a64c8aaffba5e0cd3cad64c0065b5405ef8d954733a16abc51df730e43f652eccc9d8ee3807ca03de42f3e12ff97d647b8a168718d0ddea0a05e2700',
|
|
328
|
+
gasLimit: 30_000_000n,
|
|
329
|
+
gasUsed: 11_035_008n,
|
|
330
|
+
hash: '0x3dbb6a31867f9e63231fbb6d53856ea61544de7fad75e9952ecc27d77c3f6927',
|
|
331
|
+
logsBloom:
|
|
332
|
+
'0x57ab88609040388213392460f020a3711040b12221e5d6a01fa212b05ad119c0120a11aa9224683b88030a9d6340809144328243c186e2800203130701f8ae0049bcc107721348190974021da06030f808b086e0818e0604f7e10602c5912697120080a30690269011014fa00ea638705044107e6818b089bb805b3010c93812129104424d2c09b0ce6904453c0028b604d344d3ba3c20d806240a456044020562588b0114820f60c31e989704112350ce648990011048179011f52e208e286cc88096161c7a0c050a1b8911eaa1969678440860ae0aa41c8af2cb8090232150449a32d91102095a00cf8980184118619bf9090140448c5218003e840b1d6c8f',
|
|
333
|
+
miner: '0x0000000000000000000000000000000000000000',
|
|
334
|
+
mixHash:
|
|
335
|
+
'0x0000000000000000000000000000000000000000000000000000000000000000',
|
|
336
|
+
nonce: '0x0000000000000000',
|
|
337
|
+
number: 37_607_877n,
|
|
338
|
+
parentHash:
|
|
339
|
+
'0x0fe9cb6d9dd5b11b8b343c30998688078c2d04640952b1ce009aee429b625846',
|
|
340
|
+
receiptsRoot:
|
|
341
|
+
'0x7f6f889121fc9f9493bf5b3d86cf447b5355c486ff52b769f85bfeb5ae9a5405',
|
|
342
|
+
sha3Uncles:
|
|
343
|
+
'0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
|
|
344
|
+
size: 44_846n,
|
|
345
|
+
stateRoot:
|
|
346
|
+
'0x8a8dc32f2b59950770cc47a3ec879a06e737cc756ce4af2ec862aeb0f2e5a7cb',
|
|
347
|
+
timestamp: 1_672_718_499n,
|
|
348
|
+
totalDifficulty: 599_810_687n,
|
|
349
|
+
transactions: [],
|
|
350
|
+
transactionsRoot:
|
|
351
|
+
'0xb93c3f8b26c0cab9ac674335f9ee4aef9fdd15ef19a33c64b0cec842c11cf301',
|
|
352
|
+
uncles: [],
|
|
353
|
+
},
|
|
354
|
+
internalTransactions: [],
|
|
355
|
+
function: {
|
|
356
|
+
name: 'multicall',
|
|
357
|
+
args: [
|
|
358
|
+
{ name: 'previousBlockhash', type: 'bytes32', value: 1_672_720_279n },
|
|
359
|
+
{
|
|
360
|
+
name: 'data',
|
|
361
|
+
type: 'bytes[]',
|
|
362
|
+
value: [
|
|
363
|
+
'0x5023b4df0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f61900000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d600000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000ba6f7420000000000000000000000000000000000000000000000000000000000000000',
|
|
364
|
+
],
|
|
365
|
+
},
|
|
366
|
+
],
|
|
367
|
+
},
|
|
368
|
+
erc20Transfers: [
|
|
369
|
+
{
|
|
370
|
+
type: 'Erc20Transfer',
|
|
371
|
+
logIndex: 253,
|
|
372
|
+
token: {
|
|
373
|
+
contractAddress: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
|
|
374
|
+
name: 'Wrapped Ether',
|
|
375
|
+
symbol: 'WETH',
|
|
376
|
+
decimals: 18,
|
|
377
|
+
currency: {
|
|
378
|
+
type: 'CryptoCurrency',
|
|
379
|
+
id: 'weth',
|
|
380
|
+
name: 'WETH',
|
|
381
|
+
symbol: 'WETH',
|
|
382
|
+
icon: undefined,
|
|
383
|
+
market: { coingeckoId: 'weth', marketCapUsd: undefined },
|
|
384
|
+
updatedAt: 1_707_967_807_352,
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
from: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
388
|
+
to: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
389
|
+
value: 160_000_000_000_000_000n,
|
|
390
|
+
price: {
|
|
391
|
+
cryptoCurrencyId: 'weth',
|
|
392
|
+
crypto: undefined,
|
|
393
|
+
fiatCurrencyId: 'usd',
|
|
394
|
+
price: { value: 1_214_801_335_821_457_948_672n, decimals: 18 },
|
|
395
|
+
timestamp: 1_672_718_569_000,
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
type: 'Erc20Transfer',
|
|
400
|
+
logIndex: 254,
|
|
401
|
+
token: {
|
|
402
|
+
contractAddress: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
403
|
+
name: 'USD Coin (PoS)',
|
|
404
|
+
symbol: 'USDC',
|
|
405
|
+
decimals: 6,
|
|
406
|
+
currency: {
|
|
407
|
+
type: 'CryptoCurrency',
|
|
408
|
+
id: 'bridged-usdc-polygon-pos-bridge',
|
|
409
|
+
name: 'Bridged USDC (Polygon PoS Bridge)',
|
|
410
|
+
symbol: 'USDC.E',
|
|
411
|
+
icon: undefined,
|
|
412
|
+
market: {
|
|
413
|
+
coingeckoId: 'bridged-usdc-polygon-pos-bridge',
|
|
414
|
+
marketCapUsd: undefined,
|
|
415
|
+
},
|
|
416
|
+
updatedAt: 1_707_967_807_451,
|
|
417
|
+
},
|
|
418
|
+
},
|
|
419
|
+
from: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
420
|
+
to: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
421
|
+
value: 194_519_055n,
|
|
422
|
+
price: undefined,
|
|
423
|
+
},
|
|
424
|
+
],
|
|
425
|
+
erc721Transfers: [],
|
|
426
|
+
erc1155Transfers: [],
|
|
427
|
+
nativeTokenPrice: {
|
|
428
|
+
cryptoCurrencyId: 'matic-network',
|
|
429
|
+
crypto: undefined,
|
|
430
|
+
fiatCurrencyId: 'usd',
|
|
431
|
+
price: { value: 78_219_703_491_747_328n, decimals: 17 },
|
|
432
|
+
timestamp: 1_672_718_476_000,
|
|
433
|
+
},
|
|
434
|
+
}
|
|
435
|
+
const analyzed = await analyzeSwap({
|
|
436
|
+
chain,
|
|
437
|
+
transaction,
|
|
438
|
+
accountAddresses: ['0x161619839ebbada5d3c279e1a79c50f7fc4274d6'],
|
|
439
|
+
})
|
|
440
|
+
expect(analyzed).toBeDefined()
|
|
441
|
+
expect(analyzed?.actions).toEqual([
|
|
442
|
+
{
|
|
443
|
+
type: 'NormalAction',
|
|
444
|
+
action: 'trade',
|
|
445
|
+
evidence: 'contract',
|
|
446
|
+
timestamp: 1_672_718_499_000,
|
|
447
|
+
comment: undefined,
|
|
448
|
+
app: undefined,
|
|
449
|
+
transfers: [
|
|
450
|
+
{
|
|
451
|
+
target: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
452
|
+
direction: 'out',
|
|
453
|
+
from: {
|
|
454
|
+
address: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
455
|
+
chainId: 137,
|
|
456
|
+
id: 'evm_137_0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
457
|
+
category: 'evm',
|
|
458
|
+
name: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
459
|
+
},
|
|
460
|
+
to: {
|
|
461
|
+
address: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
462
|
+
chainId: 137,
|
|
463
|
+
id: 'evm_137_0x45dda9cb7c25131df268515131f647d726f50608',
|
|
464
|
+
category: 'evm',
|
|
465
|
+
name: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
466
|
+
},
|
|
467
|
+
asset: {
|
|
468
|
+
type: 'CryptoCurrency',
|
|
469
|
+
id: 'bridged-usdc-polygon-pos-bridge',
|
|
470
|
+
name: 'Bridged USDC (Polygon PoS Bridge)',
|
|
471
|
+
symbol: 'USDC.E',
|
|
472
|
+
icon: undefined,
|
|
473
|
+
market: {
|
|
474
|
+
coingeckoId: 'bridged-usdc-polygon-pos-bridge',
|
|
475
|
+
marketCapUsd: undefined,
|
|
476
|
+
},
|
|
477
|
+
updatedAt: 1_707_967_807_451,
|
|
478
|
+
},
|
|
479
|
+
amount: {
|
|
480
|
+
value: 194_519_055n,
|
|
481
|
+
decimals: 6,
|
|
482
|
+
},
|
|
483
|
+
price: undefined,
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
target: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
487
|
+
direction: 'in',
|
|
488
|
+
from: {
|
|
489
|
+
address: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
490
|
+
chainId: 137,
|
|
491
|
+
id: 'evm_137_0x45dda9cb7c25131df268515131f647d726f50608',
|
|
492
|
+
category: 'evm',
|
|
493
|
+
name: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
494
|
+
},
|
|
495
|
+
to: {
|
|
496
|
+
address: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
497
|
+
chainId: 137,
|
|
498
|
+
id: 'evm_137_0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
499
|
+
category: 'evm',
|
|
500
|
+
name: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
501
|
+
},
|
|
502
|
+
asset: {
|
|
503
|
+
type: 'CryptoCurrency',
|
|
504
|
+
id: 'weth',
|
|
505
|
+
name: 'WETH',
|
|
506
|
+
symbol: 'WETH',
|
|
507
|
+
icon: undefined,
|
|
508
|
+
market: {
|
|
509
|
+
coingeckoId: 'weth',
|
|
510
|
+
marketCapUsd: undefined,
|
|
511
|
+
},
|
|
512
|
+
updatedAt: 1_707_967_807_352,
|
|
513
|
+
},
|
|
514
|
+
amount: {
|
|
515
|
+
value: 160_000_000_000_000_000n,
|
|
516
|
+
decimals: 18,
|
|
517
|
+
},
|
|
518
|
+
price: {
|
|
519
|
+
cryptoCurrencyId: 'weth',
|
|
520
|
+
crypto: undefined,
|
|
521
|
+
fiatCurrencyId: 'usd',
|
|
522
|
+
price: {
|
|
523
|
+
value: 1_214_801_335_821_457_948_672n,
|
|
524
|
+
decimals: 18,
|
|
525
|
+
},
|
|
526
|
+
timestamp: 1_672_718_569_000,
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
],
|
|
530
|
+
},
|
|
531
|
+
])
|
|
532
|
+
expect(analyzed?.accountActions).toEqual([
|
|
533
|
+
{
|
|
534
|
+
type: 'AccountAction',
|
|
535
|
+
action: 'trade',
|
|
536
|
+
source:
|
|
537
|
+
'evm_137_0x280f6011ffeacfbda6acac75ab0082b0a8c731d32bb5dd72336ca3c3baaa8af4',
|
|
538
|
+
evidence: 'contract',
|
|
539
|
+
timestamp: 1_672_718_499_000,
|
|
540
|
+
order: 0,
|
|
541
|
+
comment: undefined,
|
|
542
|
+
app: undefined,
|
|
543
|
+
transfers: [
|
|
544
|
+
{
|
|
545
|
+
target: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
546
|
+
direction: 'out',
|
|
547
|
+
from: {
|
|
548
|
+
address: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
549
|
+
chainId: 137,
|
|
550
|
+
id: 'evm_137_0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
551
|
+
category: 'evm',
|
|
552
|
+
name: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
553
|
+
},
|
|
554
|
+
to: {
|
|
555
|
+
address: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
556
|
+
chainId: 137,
|
|
557
|
+
id: 'evm_137_0x45dda9cb7c25131df268515131f647d726f50608',
|
|
558
|
+
category: 'evm',
|
|
559
|
+
name: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
560
|
+
},
|
|
561
|
+
asset: {
|
|
562
|
+
type: 'CryptoCurrency',
|
|
563
|
+
id: 'bridged-usdc-polygon-pos-bridge',
|
|
564
|
+
name: 'Bridged USDC (Polygon PoS Bridge)',
|
|
565
|
+
symbol: 'USDC.E',
|
|
566
|
+
icon: undefined,
|
|
567
|
+
market: {
|
|
568
|
+
coingeckoId: 'bridged-usdc-polygon-pos-bridge',
|
|
569
|
+
marketCapUsd: undefined,
|
|
570
|
+
},
|
|
571
|
+
updatedAt: 1_707_967_807_451,
|
|
572
|
+
},
|
|
573
|
+
amount: {
|
|
574
|
+
value: 194_519_055n,
|
|
575
|
+
decimals: 6,
|
|
576
|
+
},
|
|
577
|
+
price: undefined,
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
target: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
581
|
+
direction: 'in',
|
|
582
|
+
from: {
|
|
583
|
+
address: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
584
|
+
chainId: 137,
|
|
585
|
+
id: 'evm_137_0x45dda9cb7c25131df268515131f647d726f50608',
|
|
586
|
+
category: 'evm',
|
|
587
|
+
name: '0x45dda9cb7c25131df268515131f647d726f50608',
|
|
588
|
+
},
|
|
589
|
+
to: {
|
|
590
|
+
address: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
591
|
+
chainId: 137,
|
|
592
|
+
id: 'evm_137_0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
593
|
+
category: 'evm',
|
|
594
|
+
name: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
595
|
+
},
|
|
596
|
+
asset: {
|
|
597
|
+
type: 'CryptoCurrency',
|
|
598
|
+
id: 'weth',
|
|
599
|
+
name: 'WETH',
|
|
600
|
+
symbol: 'WETH',
|
|
601
|
+
icon: undefined,
|
|
602
|
+
market: {
|
|
603
|
+
coingeckoId: 'weth',
|
|
604
|
+
marketCapUsd: undefined,
|
|
605
|
+
},
|
|
606
|
+
updatedAt: 1_707_967_807_352,
|
|
607
|
+
},
|
|
608
|
+
amount: {
|
|
609
|
+
value: 160_000_000_000_000_000n,
|
|
610
|
+
decimals: 18,
|
|
611
|
+
},
|
|
612
|
+
price: {
|
|
613
|
+
cryptoCurrencyId: 'weth',
|
|
614
|
+
crypto: undefined,
|
|
615
|
+
fiatCurrencyId: 'usd',
|
|
616
|
+
price: {
|
|
617
|
+
value: 1_214_801_335_821_457_948_672n,
|
|
618
|
+
decimals: 18,
|
|
619
|
+
},
|
|
620
|
+
timestamp: 1_672_718_569_000,
|
|
621
|
+
},
|
|
622
|
+
},
|
|
623
|
+
],
|
|
624
|
+
},
|
|
625
|
+
])
|
|
626
|
+
})
|
|
627
|
+
|
|
628
|
+
it('native token の back がある swap tx の analyze が正常にされる', async () => {
|
|
629
|
+
// https://polygonscan.com/tx/0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756
|
|
630
|
+
const chain = createPolygonPosChain('')
|
|
631
|
+
const transaction: TransactionDecoded<CryptoCurrencyPrice | undefined> = {
|
|
632
|
+
app: undefined,
|
|
633
|
+
nativeTokenPrice: undefined,
|
|
634
|
+
blockHash:
|
|
635
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
636
|
+
blockNumber: 41_013_946n,
|
|
637
|
+
from: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
638
|
+
gas: 666_868n,
|
|
639
|
+
gasPrice: 93_000_000_000n,
|
|
640
|
+
hash: '0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
641
|
+
input:
|
|
642
|
+
'0x3593564c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000642809bf00000000000000000000000000000000000000000000000000000000000000030b010c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d5fdf23f87bdb489200000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000001054e88000000000000000000000000000000000000000000000000d5fdf23f87bdb489200000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b2791bca1f2de4661ed88a30c99a7a9449aa841740001f40d500b1d8e8ef31e21c99d1db9a6444d3adf1270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000',
|
|
643
|
+
nonce: 470,
|
|
644
|
+
to: '0x4c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
645
|
+
transactionIndex: 29,
|
|
646
|
+
value: 246_715_952_861_770_631_314n,
|
|
647
|
+
type: 'legacy',
|
|
648
|
+
chainId: 137,
|
|
649
|
+
v: 309n,
|
|
650
|
+
r: '0x6282e36b2645e0925133ca370e89de489661d6e3d7b06e7fa92fda03bde2bcd1',
|
|
651
|
+
s: '0x6d597cfd35d0a0354ee1870dc81142f6eba48ffffa9e91d4cd516f36e663f113',
|
|
652
|
+
typeHex: '0x0',
|
|
653
|
+
contractAddress: null,
|
|
654
|
+
cumulativeGasUsed: 6_518_045n,
|
|
655
|
+
effectiveGasPrice: 93_000_000_000n,
|
|
656
|
+
gasUsed: 166_717n,
|
|
657
|
+
logs: [
|
|
658
|
+
{
|
|
659
|
+
type: 'decoded',
|
|
660
|
+
log: {
|
|
661
|
+
address: '0x0000000000000000000000000000000000001010',
|
|
662
|
+
blockHash:
|
|
663
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
664
|
+
blockNumber: 41_013_946n,
|
|
665
|
+
data: '0x00000000000000000000000000000000000000000000000d5fdf23f87bdb489200000000000000000000000000000000000000000000003be2f87d62d3c83faa0000000000000000000000000000000000000000000000000a62ccd45460c4cc00000000000000000000000000000000000000000000002e8319596a57ecf71800000000000000000000000000000000000000000000000d6a41f0ccd03c0d5e',
|
|
666
|
+
logIndex: 131,
|
|
667
|
+
transactionHash:
|
|
668
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
669
|
+
transactionIndex: 29,
|
|
670
|
+
removed: false,
|
|
671
|
+
topics: [
|
|
672
|
+
'0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4',
|
|
673
|
+
'0x0000000000000000000000000000000000000000000000000000000000001010',
|
|
674
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
675
|
+
'0x0000000000000000000000004c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
676
|
+
],
|
|
677
|
+
eventName: 'LogTransfer',
|
|
678
|
+
args: [
|
|
679
|
+
{
|
|
680
|
+
indexed: true,
|
|
681
|
+
name: 'token',
|
|
682
|
+
type: 'address',
|
|
683
|
+
value: '0x0000000000000000000000000000000000001010',
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
indexed: true,
|
|
687
|
+
name: 'from',
|
|
688
|
+
type: 'address',
|
|
689
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
indexed: true,
|
|
693
|
+
name: 'to',
|
|
694
|
+
type: 'address',
|
|
695
|
+
value: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
indexed: false,
|
|
699
|
+
name: 'amount',
|
|
700
|
+
type: 'uint256',
|
|
701
|
+
value: 246_715_952_861_770_631_314n,
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
indexed: false,
|
|
705
|
+
name: 'input1',
|
|
706
|
+
type: 'uint256',
|
|
707
|
+
value: 1_104_712_860_259_072_884_650n,
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
indexed: false,
|
|
711
|
+
name: 'input2',
|
|
712
|
+
type: 'uint256',
|
|
713
|
+
value: 748_385_700_417_684_684n,
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
indexed: false,
|
|
717
|
+
name: 'output1',
|
|
718
|
+
type: 'uint256',
|
|
719
|
+
value: 857_996_907_397_302_253_336n,
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
indexed: false,
|
|
723
|
+
name: 'output2',
|
|
724
|
+
type: 'uint256',
|
|
725
|
+
value: 247_464_338_562_188_315_998n,
|
|
726
|
+
},
|
|
727
|
+
],
|
|
728
|
+
type: 'DecodedLog',
|
|
729
|
+
},
|
|
730
|
+
source: '0x0000000000000000000000000000000000001010',
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
type: 'decoded',
|
|
734
|
+
log: {
|
|
735
|
+
address: '0x0000000000000000000000000000000000001010',
|
|
736
|
+
blockHash:
|
|
737
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
738
|
+
blockNumber: 41_013_946n,
|
|
739
|
+
data: '0x00000000000000000000000000000000000000000000000d5fdf23f87bdb489200000000000000000000000000000000000000000000000d6a41f0ccd03c0d5e00000000000000000000000000000000000000000079b9ff998fbda310483b720000000000000000000000000000000000000000000000000a62ccd45460c4cc00000000000000000000000000000000000000000079ba0cf96ee19b8c238404',
|
|
740
|
+
logIndex: 132,
|
|
741
|
+
transactionHash:
|
|
742
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
743
|
+
transactionIndex: 29,
|
|
744
|
+
removed: false,
|
|
745
|
+
topics: [
|
|
746
|
+
'0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4',
|
|
747
|
+
'0x0000000000000000000000000000000000000000000000000000000000001010',
|
|
748
|
+
'0x0000000000000000000000004c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
749
|
+
'0x0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
750
|
+
],
|
|
751
|
+
eventName: 'LogTransfer',
|
|
752
|
+
args: [
|
|
753
|
+
{
|
|
754
|
+
indexed: true,
|
|
755
|
+
name: 'token',
|
|
756
|
+
type: 'address',
|
|
757
|
+
value: '0x0000000000000000000000000000000000001010',
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
indexed: true,
|
|
761
|
+
name: 'from',
|
|
762
|
+
type: 'address',
|
|
763
|
+
value: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
indexed: true,
|
|
767
|
+
name: 'to',
|
|
768
|
+
type: 'address',
|
|
769
|
+
value: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270',
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
indexed: false,
|
|
773
|
+
name: 'amount',
|
|
774
|
+
type: 'uint256',
|
|
775
|
+
value: 246_715_952_861_770_631_314n,
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
indexed: false,
|
|
779
|
+
name: 'input1',
|
|
780
|
+
type: 'uint256',
|
|
781
|
+
value: 247_464_338_562_188_315_998n,
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
indexed: false,
|
|
785
|
+
name: 'input2',
|
|
786
|
+
type: 'uint256',
|
|
787
|
+
value: 147_158_376_957_711_127_962_729_330n,
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
indexed: false,
|
|
791
|
+
name: 'output1',
|
|
792
|
+
type: 'uint256',
|
|
793
|
+
value: 748_385_700_417_684_684n,
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
indexed: false,
|
|
797
|
+
name: 'output2',
|
|
798
|
+
type: 'uint256',
|
|
799
|
+
value: 147_158_623_673_663_989_733_360_644n,
|
|
800
|
+
},
|
|
801
|
+
],
|
|
802
|
+
type: 'DecodedLog',
|
|
803
|
+
},
|
|
804
|
+
source: '0x0000000000000000000000000000000000001010',
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
type: 'decoded',
|
|
808
|
+
log: {
|
|
809
|
+
address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
810
|
+
blockHash:
|
|
811
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
812
|
+
blockNumber: 41_013_946n,
|
|
813
|
+
data: '0x00000000000000000000000000000000000000000000000d5fdf23f87bdb4892',
|
|
814
|
+
logIndex: 133,
|
|
815
|
+
transactionHash:
|
|
816
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
817
|
+
transactionIndex: 29,
|
|
818
|
+
removed: false,
|
|
819
|
+
topics: [
|
|
820
|
+
'0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c',
|
|
821
|
+
'0x0000000000000000000000004c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
822
|
+
],
|
|
823
|
+
eventName: 'Deposit',
|
|
824
|
+
args: [
|
|
825
|
+
{
|
|
826
|
+
indexed: true,
|
|
827
|
+
name: 'dst',
|
|
828
|
+
type: 'address',
|
|
829
|
+
value: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
indexed: false,
|
|
833
|
+
name: 'wad',
|
|
834
|
+
type: 'uint256',
|
|
835
|
+
value: 246_715_952_861_770_631_314n,
|
|
836
|
+
},
|
|
837
|
+
],
|
|
838
|
+
type: 'DecodedLog',
|
|
839
|
+
},
|
|
840
|
+
source: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
type: 'decoded',
|
|
844
|
+
log: {
|
|
845
|
+
address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
846
|
+
blockHash:
|
|
847
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
848
|
+
blockNumber: 41_013_946n,
|
|
849
|
+
data: '0x00000000000000000000000000000000000000000000000d5fdf23f87bdb4892',
|
|
850
|
+
logIndex: 134,
|
|
851
|
+
transactionHash:
|
|
852
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
853
|
+
transactionIndex: 29,
|
|
854
|
+
removed: false,
|
|
855
|
+
topics: [
|
|
856
|
+
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
857
|
+
'0x0000000000000000000000004c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
858
|
+
'0x0000000000000000000000004c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
859
|
+
],
|
|
860
|
+
eventName: 'Transfer',
|
|
861
|
+
args: [
|
|
862
|
+
{
|
|
863
|
+
indexed: true,
|
|
864
|
+
name: 'src',
|
|
865
|
+
type: 'address',
|
|
866
|
+
value: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
indexed: true,
|
|
870
|
+
name: 'dst',
|
|
871
|
+
type: 'address',
|
|
872
|
+
value: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
indexed: false,
|
|
876
|
+
name: 'wad',
|
|
877
|
+
type: 'uint256',
|
|
878
|
+
value: 246_715_952_861_770_631_314n,
|
|
879
|
+
},
|
|
880
|
+
],
|
|
881
|
+
type: 'DecodedLog',
|
|
882
|
+
},
|
|
883
|
+
source: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
type: 'decoded',
|
|
887
|
+
log: {
|
|
888
|
+
address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
889
|
+
blockHash:
|
|
890
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
891
|
+
blockNumber: 41_013_946n,
|
|
892
|
+
data: '0x000000000000000000000000000000000000000000000000000000001054e880',
|
|
893
|
+
logIndex: 135,
|
|
894
|
+
transactionHash:
|
|
895
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
896
|
+
transactionIndex: 29,
|
|
897
|
+
removed: false,
|
|
898
|
+
topics: [
|
|
899
|
+
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
900
|
+
'0x000000000000000000000000a374094527e1673a86de625aa59517c5de346d32',
|
|
901
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
902
|
+
],
|
|
903
|
+
eventName: 'Transfer',
|
|
904
|
+
args: [
|
|
905
|
+
{
|
|
906
|
+
indexed: true,
|
|
907
|
+
name: '_from',
|
|
908
|
+
type: 'address',
|
|
909
|
+
value: '0xA374094527e1673A86dE625aa59517c5dE346d32',
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
indexed: true,
|
|
913
|
+
name: '_to',
|
|
914
|
+
type: 'address',
|
|
915
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
indexed: false,
|
|
919
|
+
name: '_value',
|
|
920
|
+
type: 'uint256',
|
|
921
|
+
value: 274_000_000n,
|
|
922
|
+
},
|
|
923
|
+
],
|
|
924
|
+
type: 'DecodedLog',
|
|
925
|
+
},
|
|
926
|
+
source: '0xbb0e17ef65f82ab018d8edd776e8dd940327b28b',
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
type: 'decoded',
|
|
930
|
+
log: {
|
|
931
|
+
address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
932
|
+
blockHash:
|
|
933
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
934
|
+
blockNumber: 41_013_946n,
|
|
935
|
+
data: '0x00000000000000000000000000000000000000000000000d5c738148071d0be3',
|
|
936
|
+
logIndex: 136,
|
|
937
|
+
transactionHash:
|
|
938
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
939
|
+
transactionIndex: 29,
|
|
940
|
+
removed: false,
|
|
941
|
+
topics: [
|
|
942
|
+
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
943
|
+
'0x0000000000000000000000004c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
944
|
+
'0x000000000000000000000000a374094527e1673a86de625aa59517c5de346d32',
|
|
945
|
+
],
|
|
946
|
+
eventName: 'Transfer',
|
|
947
|
+
args: [
|
|
948
|
+
{
|
|
949
|
+
indexed: true,
|
|
950
|
+
name: 'src',
|
|
951
|
+
type: 'address',
|
|
952
|
+
value: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
indexed: true,
|
|
956
|
+
name: 'dst',
|
|
957
|
+
type: 'address',
|
|
958
|
+
value: '0xA374094527e1673A86dE625aa59517c5dE346d32',
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
indexed: false,
|
|
962
|
+
name: 'wad',
|
|
963
|
+
type: 'uint256',
|
|
964
|
+
value: 246_469_483_378_392_239_075n,
|
|
965
|
+
},
|
|
966
|
+
],
|
|
967
|
+
type: 'DecodedLog',
|
|
968
|
+
},
|
|
969
|
+
source: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
type: 'decoded',
|
|
973
|
+
log: {
|
|
974
|
+
address: '0xa374094527e1673a86de625aa59517c5de346d32',
|
|
975
|
+
blockHash:
|
|
976
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
977
|
+
blockNumber: 41_013_946n,
|
|
978
|
+
data: '0x00000000000000000000000000000000000000000000000d5c738148071d0be3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffefab17800000000000000000000000000000000000000000000011b19c3c9b8e7cc3a17c0000000000000000000000000000000000000000000000024e39ed5975d9055cfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbccc3',
|
|
979
|
+
logIndex: 137,
|
|
980
|
+
transactionHash:
|
|
981
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
982
|
+
transactionIndex: 29,
|
|
983
|
+
removed: false,
|
|
984
|
+
topics: [
|
|
985
|
+
'0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67',
|
|
986
|
+
'0x0000000000000000000000004c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
987
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
988
|
+
],
|
|
989
|
+
eventName: 'Swap',
|
|
990
|
+
args: [
|
|
991
|
+
{
|
|
992
|
+
indexed: true,
|
|
993
|
+
name: 'sender',
|
|
994
|
+
type: 'address',
|
|
995
|
+
value: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
indexed: true,
|
|
999
|
+
name: 'recipient',
|
|
1000
|
+
type: 'address',
|
|
1001
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
indexed: false,
|
|
1005
|
+
name: 'amount0',
|
|
1006
|
+
type: 'int256',
|
|
1007
|
+
value: 246_469_483_378_392_239_075n,
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
indexed: false,
|
|
1011
|
+
name: 'amount1',
|
|
1012
|
+
type: 'int256',
|
|
1013
|
+
value: -274_000_000n,
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
indexed: false,
|
|
1017
|
+
name: 'sqrtPriceX96',
|
|
1018
|
+
type: 'uint160',
|
|
1019
|
+
value: 83_556_561_954_035_359_523_196n,
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
indexed: false,
|
|
1023
|
+
name: 'liquidity',
|
|
1024
|
+
type: 'uint128',
|
|
1025
|
+
value: 42_530_285_524_535_018_844n,
|
|
1026
|
+
},
|
|
1027
|
+
{ indexed: false, name: 'tick', type: 'int24', value: -275_261 },
|
|
1028
|
+
],
|
|
1029
|
+
type: 'DecodedLog',
|
|
1030
|
+
},
|
|
1031
|
+
source: '0xa374094527e1673a86de625aa59517c5de346d32',
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
type: 'decoded',
|
|
1035
|
+
log: {
|
|
1036
|
+
address: '0x0000000000000000000000000000000000001010',
|
|
1037
|
+
blockHash:
|
|
1038
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
1039
|
+
blockNumber: 41_013_946n,
|
|
1040
|
+
data: '0x000000000000000000000000000000000000000000000000036ba2b074be3caf00000000000000000000000000000000000000000079ba0cf96ee19b8c2384040000000000000000000000000000000000000000000000000a62ccd45460c4cc00000000000000000000000000000000000000000079ba0cf6033eeb176547550000000000000000000000000000000000000000000000000dce6f84c91f017b',
|
|
1041
|
+
logIndex: 138,
|
|
1042
|
+
transactionHash:
|
|
1043
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
1044
|
+
transactionIndex: 29,
|
|
1045
|
+
removed: false,
|
|
1046
|
+
topics: [
|
|
1047
|
+
'0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4',
|
|
1048
|
+
'0x0000000000000000000000000000000000000000000000000000000000001010',
|
|
1049
|
+
'0x0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
1050
|
+
'0x0000000000000000000000004c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
1051
|
+
],
|
|
1052
|
+
eventName: 'LogTransfer',
|
|
1053
|
+
args: [
|
|
1054
|
+
{
|
|
1055
|
+
indexed: true,
|
|
1056
|
+
name: 'token',
|
|
1057
|
+
type: 'address',
|
|
1058
|
+
value: '0x0000000000000000000000000000000000001010',
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
indexed: true,
|
|
1062
|
+
name: 'from',
|
|
1063
|
+
type: 'address',
|
|
1064
|
+
value: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270',
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
indexed: true,
|
|
1068
|
+
name: 'to',
|
|
1069
|
+
type: 'address',
|
|
1070
|
+
value: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
indexed: false,
|
|
1074
|
+
name: 'amount',
|
|
1075
|
+
type: 'uint256',
|
|
1076
|
+
value: 246_469_483_378_392_239n,
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
indexed: false,
|
|
1080
|
+
name: 'input1',
|
|
1081
|
+
type: 'uint256',
|
|
1082
|
+
value: 147_158_623_673_663_989_733_360_644n,
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
indexed: false,
|
|
1086
|
+
name: 'input2',
|
|
1087
|
+
type: 'uint256',
|
|
1088
|
+
value: 748_385_700_417_684_684n,
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
indexed: false,
|
|
1092
|
+
name: 'output1',
|
|
1093
|
+
type: 'uint256',
|
|
1094
|
+
value: 147_158_623_427_194_506_354_968_405n,
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
indexed: false,
|
|
1098
|
+
name: 'output2',
|
|
1099
|
+
type: 'uint256',
|
|
1100
|
+
value: 994_855_183_796_076_923n,
|
|
1101
|
+
},
|
|
1102
|
+
],
|
|
1103
|
+
type: 'DecodedLog',
|
|
1104
|
+
},
|
|
1105
|
+
source: '0x0000000000000000000000000000000000001010',
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
type: 'decoded',
|
|
1109
|
+
log: {
|
|
1110
|
+
address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
1111
|
+
blockHash:
|
|
1112
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
1113
|
+
blockNumber: 41_013_946n,
|
|
1114
|
+
data: '0x000000000000000000000000000000000000000000000000036ba2b074be3caf',
|
|
1115
|
+
logIndex: 139,
|
|
1116
|
+
transactionHash:
|
|
1117
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
1118
|
+
transactionIndex: 29,
|
|
1119
|
+
removed: false,
|
|
1120
|
+
topics: [
|
|
1121
|
+
'0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65',
|
|
1122
|
+
'0x0000000000000000000000004c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
1123
|
+
],
|
|
1124
|
+
eventName: 'Withdrawal',
|
|
1125
|
+
args: [
|
|
1126
|
+
{
|
|
1127
|
+
indexed: true,
|
|
1128
|
+
name: 'src',
|
|
1129
|
+
type: 'address',
|
|
1130
|
+
value: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
indexed: false,
|
|
1134
|
+
name: 'wad',
|
|
1135
|
+
type: 'uint256',
|
|
1136
|
+
value: 246_469_483_378_392_239n,
|
|
1137
|
+
},
|
|
1138
|
+
],
|
|
1139
|
+
type: 'DecodedLog',
|
|
1140
|
+
},
|
|
1141
|
+
source: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
type: 'decoded',
|
|
1145
|
+
log: {
|
|
1146
|
+
address: '0x0000000000000000000000000000000000001010',
|
|
1147
|
+
blockHash:
|
|
1148
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
1149
|
+
blockNumber: 41_013_946n,
|
|
1150
|
+
data: '0x000000000000000000000000000000000000000000000000036ba2b074be3caf0000000000000000000000000000000000000000000000000dce6f84c91f017b00000000000000000000000000000000000000000000002e8319596a57ecf7180000000000000000000000000000000000000000000000000a62ccd45460c4cc00000000000000000000000000000000000000000000002e8684fc1accab33c7',
|
|
1151
|
+
logIndex: 140,
|
|
1152
|
+
transactionHash:
|
|
1153
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
1154
|
+
transactionIndex: 29,
|
|
1155
|
+
removed: false,
|
|
1156
|
+
topics: [
|
|
1157
|
+
'0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4',
|
|
1158
|
+
'0x0000000000000000000000000000000000000000000000000000000000001010',
|
|
1159
|
+
'0x0000000000000000000000004c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
1160
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
1161
|
+
],
|
|
1162
|
+
eventName: 'LogTransfer',
|
|
1163
|
+
args: [
|
|
1164
|
+
{
|
|
1165
|
+
indexed: true,
|
|
1166
|
+
name: 'token',
|
|
1167
|
+
type: 'address',
|
|
1168
|
+
value: '0x0000000000000000000000000000000000001010',
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
indexed: true,
|
|
1172
|
+
name: 'from',
|
|
1173
|
+
type: 'address',
|
|
1174
|
+
value: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
indexed: true,
|
|
1178
|
+
name: 'to',
|
|
1179
|
+
type: 'address',
|
|
1180
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
indexed: false,
|
|
1184
|
+
name: 'amount',
|
|
1185
|
+
type: 'uint256',
|
|
1186
|
+
value: 246_469_483_378_392_239n,
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
indexed: false,
|
|
1190
|
+
name: 'input1',
|
|
1191
|
+
type: 'uint256',
|
|
1192
|
+
value: 994_855_183_796_076_923n,
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
indexed: false,
|
|
1196
|
+
name: 'input2',
|
|
1197
|
+
type: 'uint256',
|
|
1198
|
+
value: 857_996_907_397_302_253_336n,
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
indexed: false,
|
|
1202
|
+
name: 'output1',
|
|
1203
|
+
type: 'uint256',
|
|
1204
|
+
value: 748_385_700_417_684_684n,
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
indexed: false,
|
|
1208
|
+
name: 'output2',
|
|
1209
|
+
type: 'uint256',
|
|
1210
|
+
value: 858_243_376_880_680_645_575n,
|
|
1211
|
+
},
|
|
1212
|
+
],
|
|
1213
|
+
type: 'DecodedLog',
|
|
1214
|
+
},
|
|
1215
|
+
source: '0x0000000000000000000000000000000000001010',
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
type: 'decoded',
|
|
1219
|
+
log: {
|
|
1220
|
+
address: '0x0000000000000000000000000000000000001010',
|
|
1221
|
+
blockHash:
|
|
1222
|
+
'0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
1223
|
+
blockNumber: 41_013_946n,
|
|
1224
|
+
data: '0x00000000000000000000000000000000000000000000000000196fe0e4441aa400000000000000000000000000000000000000000000003be3d4d3164139a7aa00000000000000000000000000000000000000000000104322bb6b16c11409c500000000000000000000000000000000000000000000003be3bb63355cf58d0600000000000000000000000000000000000000000000104322d4daf7a5582469',
|
|
1225
|
+
logIndex: 141,
|
|
1226
|
+
transactionHash:
|
|
1227
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
1228
|
+
transactionIndex: 29,
|
|
1229
|
+
removed: false,
|
|
1230
|
+
topics: [
|
|
1231
|
+
'0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63',
|
|
1232
|
+
'0x0000000000000000000000000000000000000000000000000000000000001010',
|
|
1233
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
1234
|
+
'0x000000000000000000000000c6869257205e20c2a43cb31345db534aecb49f6e',
|
|
1235
|
+
],
|
|
1236
|
+
eventName: 'LogFeeTransfer',
|
|
1237
|
+
args: [
|
|
1238
|
+
{
|
|
1239
|
+
indexed: true,
|
|
1240
|
+
name: 'token',
|
|
1241
|
+
type: 'address',
|
|
1242
|
+
value: '0x0000000000000000000000000000000000001010',
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
indexed: true,
|
|
1246
|
+
name: 'from',
|
|
1247
|
+
type: 'address',
|
|
1248
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
indexed: true,
|
|
1252
|
+
name: 'to',
|
|
1253
|
+
type: 'address',
|
|
1254
|
+
value: '0xC6869257205e20c2A43CB31345DB534AECB49F6E',
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
indexed: false,
|
|
1258
|
+
name: 'amount',
|
|
1259
|
+
type: 'uint256',
|
|
1260
|
+
value: 7_159_886_110_792_356n,
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
indexed: false,
|
|
1264
|
+
name: 'input1',
|
|
1265
|
+
type: 'uint256',
|
|
1266
|
+
value: 1_104_774_878_983_072_884_650n,
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
indexed: false,
|
|
1270
|
+
name: 'input2',
|
|
1271
|
+
type: 'uint256',
|
|
1272
|
+
value: 76_796_298_290_616_270_588_357n,
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
indexed: false,
|
|
1276
|
+
name: 'output1',
|
|
1277
|
+
type: 'uint256',
|
|
1278
|
+
value: 1_104_767_719_096_962_092_294n,
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
indexed: false,
|
|
1282
|
+
name: 'output2',
|
|
1283
|
+
type: 'uint256',
|
|
1284
|
+
value: 76_796_305_450_502_381_380_713n,
|
|
1285
|
+
},
|
|
1286
|
+
],
|
|
1287
|
+
type: 'DecodedLog',
|
|
1288
|
+
},
|
|
1289
|
+
source: '0x0000000000000000000000000000000000001010',
|
|
1290
|
+
},
|
|
1291
|
+
],
|
|
1292
|
+
logsBloom:
|
|
1293
|
+
'0x00000000000000000000000000000000000000000001000000000000000000000000000000000010000000100000000000008100000020000000080000000000000000000000400800000008000000800000040000400000000100048000020000000000000000000000400000000000000000000000040180000010000820000001000000000000000000000000000000000001000000000000000000000000200000000002000000000000000000004040000000000000000000000000004000000002000008008001000000000000000000000400800000118802000000000000008000000000000000000000000000000000000000408000000000100800',
|
|
1294
|
+
status: 'success',
|
|
1295
|
+
transactionHash:
|
|
1296
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
1297
|
+
block: {
|
|
1298
|
+
blobGasUsed: 0n,
|
|
1299
|
+
excessBlobGas: 0n,
|
|
1300
|
+
sealFields: [],
|
|
1301
|
+
baseFeePerGas: 50_053_653_132n,
|
|
1302
|
+
difficulty: 24n,
|
|
1303
|
+
extraData:
|
|
1304
|
+
'0xd682030783626f7288676f312e31392e37856c696e75780000000000000000007bf192940dc13f189c63c05d49c0d285be834c19b56176fc4c82fa91d0f3ac950b95d2f56c6604864445119380cb6990478a844d9deef974d9bcbade1fdfa42901',
|
|
1305
|
+
gasLimit: 29_853_495n,
|
|
1306
|
+
gasUsed: 11_820_328n,
|
|
1307
|
+
hash: '0x5929a7c1d7bad03ee722912681508bd885342b77ed3db4d245d03b406b0d15f3',
|
|
1308
|
+
logsBloom:
|
|
1309
|
+
'0x0920085af48000706d30085780098208d0319808850124885a8ecbb201208140c2a4d4498661051348903110417040070908c7c08012a8123c9cca02c32c36d0459c580c39a0d81ba423d08d90aa20e49aa72c6c81df38237c1b6c1d8f483f880712201c2ba1624a688078015c64088c5857525249725403af006615a1ecb478b0ab06a09c3daa940cd91aa22201487c00494ca90847451978480a440852a018a217e74a16c34a00f1241086f9802074c2c9130e10284914125b00152801e8cc50c854021602987380d94990422454365556032b870ea518c43fcc420028ed600099fce93d02206c008002da8157b2302caaa80178524d5d824c386163172800',
|
|
1310
|
+
miner: '0x0000000000000000000000000000000000000000',
|
|
1311
|
+
mixHash:
|
|
1312
|
+
'0x0000000000000000000000000000000000000000000000000000000000000000',
|
|
1313
|
+
nonce: '0x0000000000000000',
|
|
1314
|
+
number: 41_013_946n,
|
|
1315
|
+
parentHash:
|
|
1316
|
+
'0x5fadfda1f268aa60f394854a942d7f4170330c5a063b98b29241f2cf3704698d',
|
|
1317
|
+
receiptsRoot:
|
|
1318
|
+
'0xe8f53a0cba95af8243b3905b236dbe79daab697e7c5b9d4b555b50a33a1eba26',
|
|
1319
|
+
sha3Uncles:
|
|
1320
|
+
'0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
|
|
1321
|
+
size: 43_271n,
|
|
1322
|
+
stateRoot:
|
|
1323
|
+
'0x7823c9606434ca7a60c82604da39cd5d66f4731e7ca115316403ac7b9c9f0f24',
|
|
1324
|
+
timestamp: 1_680_343_759n,
|
|
1325
|
+
totalDifficulty: 677_871_033n,
|
|
1326
|
+
transactions: [],
|
|
1327
|
+
transactionsRoot:
|
|
1328
|
+
'0xb7d5f76c2fd850740a37ebcf5e271ee6d74e76e4f48e558be799ac900dd5b0d9',
|
|
1329
|
+
uncles: [],
|
|
1330
|
+
},
|
|
1331
|
+
internalTransactions: [
|
|
1332
|
+
{
|
|
1333
|
+
from: '0x4c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
1334
|
+
to: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
1335
|
+
value: 246_715_952_861_770_631_314n,
|
|
1336
|
+
input: '',
|
|
1337
|
+
type: 'InternalTransaction',
|
|
1338
|
+
gas: 615_678n,
|
|
1339
|
+
gasUsed: 23_977n,
|
|
1340
|
+
isError: false,
|
|
1341
|
+
transactionHash:
|
|
1342
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
1343
|
+
txType: 'call',
|
|
1344
|
+
currency: {
|
|
1345
|
+
type: 'CryptoCurrency',
|
|
1346
|
+
id: 'matic-network',
|
|
1347
|
+
name: 'Polygon',
|
|
1348
|
+
symbol: 'MATIC',
|
|
1349
|
+
icon: undefined,
|
|
1350
|
+
market: { coingeckoId: 'matic-network', marketCapUsd: undefined },
|
|
1351
|
+
updatedAt: 1_708_141_679_462,
|
|
1352
|
+
},
|
|
1353
|
+
contractAddress: undefined,
|
|
1354
|
+
price: undefined,
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
from: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
1358
|
+
to: '0x4c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
1359
|
+
value: 246_469_483_378_392_239n,
|
|
1360
|
+
input: '',
|
|
1361
|
+
type: 'InternalTransaction',
|
|
1362
|
+
gas: 2300n,
|
|
1363
|
+
gasUsed: 62n,
|
|
1364
|
+
isError: false,
|
|
1365
|
+
transactionHash:
|
|
1366
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
1367
|
+
txType: 'call',
|
|
1368
|
+
currency: {
|
|
1369
|
+
type: 'CryptoCurrency',
|
|
1370
|
+
id: 'matic-network',
|
|
1371
|
+
name: 'Polygon',
|
|
1372
|
+
symbol: 'MATIC',
|
|
1373
|
+
icon: undefined,
|
|
1374
|
+
market: { coingeckoId: 'matic-network', marketCapUsd: undefined },
|
|
1375
|
+
updatedAt: 1_708_141_679_462,
|
|
1376
|
+
},
|
|
1377
|
+
contractAddress: undefined,
|
|
1378
|
+
price: undefined,
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
from: '0x4c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
1382
|
+
to: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
1383
|
+
value: 246_469_483_378_392_239n,
|
|
1384
|
+
input: '',
|
|
1385
|
+
type: 'InternalTransaction',
|
|
1386
|
+
gas: 451_588n,
|
|
1387
|
+
gasUsed: 0n,
|
|
1388
|
+
isError: false,
|
|
1389
|
+
transactionHash:
|
|
1390
|
+
'0x1990b4cf58978d8ddc0c81b09e1f65d9b63841fa38366d5d52f20d5cb3fd2756',
|
|
1391
|
+
txType: 'call',
|
|
1392
|
+
currency: {
|
|
1393
|
+
type: 'CryptoCurrency',
|
|
1394
|
+
id: 'matic-network',
|
|
1395
|
+
name: 'Polygon',
|
|
1396
|
+
symbol: 'MATIC',
|
|
1397
|
+
icon: undefined,
|
|
1398
|
+
market: { coingeckoId: 'matic-network', marketCapUsd: undefined },
|
|
1399
|
+
updatedAt: 1_708_141_679_462,
|
|
1400
|
+
},
|
|
1401
|
+
contractAddress: undefined,
|
|
1402
|
+
price: undefined,
|
|
1403
|
+
},
|
|
1404
|
+
],
|
|
1405
|
+
function: {
|
|
1406
|
+
name: 'execute',
|
|
1407
|
+
args: [
|
|
1408
|
+
{ name: 'commands', type: 'bytes', value: '0x0b010c' },
|
|
1409
|
+
{
|
|
1410
|
+
name: 'inputs',
|
|
1411
|
+
type: 'bytes[]',
|
|
1412
|
+
value: [
|
|
1413
|
+
'0x000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d5fdf23f87bdb4892',
|
|
1414
|
+
'0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000001054e88000000000000000000000000000000000000000000000000d5fdf23f87bdb489200000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b2791bca1f2de4661ed88a30c99a7a9449aa841740001f40d500b1d8e8ef31e21c99d1db9a6444d3adf1270000000000000000000000000000000000000000000',
|
|
1415
|
+
'0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000',
|
|
1416
|
+
],
|
|
1417
|
+
},
|
|
1418
|
+
{ name: 'deadline', type: 'uint256', value: 1_680_345_535n },
|
|
1419
|
+
],
|
|
1420
|
+
},
|
|
1421
|
+
erc20Transfers: [
|
|
1422
|
+
{
|
|
1423
|
+
type: 'Erc20Transfer',
|
|
1424
|
+
logIndex: 134,
|
|
1425
|
+
token: {
|
|
1426
|
+
contractAddress: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
1427
|
+
name: 'Wrapped Matic',
|
|
1428
|
+
symbol: 'WMATIC',
|
|
1429
|
+
decimals: 18,
|
|
1430
|
+
currency: {
|
|
1431
|
+
type: 'CryptoCurrency',
|
|
1432
|
+
id: 'wmatic',
|
|
1433
|
+
name: 'Wrapped Matic',
|
|
1434
|
+
symbol: 'WMATIC',
|
|
1435
|
+
icon: undefined,
|
|
1436
|
+
market: { coingeckoId: 'wmatic', marketCapUsd: undefined },
|
|
1437
|
+
updatedAt: 1_708_141_682_813,
|
|
1438
|
+
},
|
|
1439
|
+
},
|
|
1440
|
+
from: '0x4c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
1441
|
+
to: '0x4c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
1442
|
+
value: 246_715_952_861_770_631_314n,
|
|
1443
|
+
price: undefined,
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
type: 'Erc20Transfer',
|
|
1447
|
+
logIndex: 135,
|
|
1448
|
+
token: {
|
|
1449
|
+
contractAddress: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
1450
|
+
name: 'USD Coin (PoS)',
|
|
1451
|
+
symbol: 'USDC',
|
|
1452
|
+
decimals: 6,
|
|
1453
|
+
currency: {
|
|
1454
|
+
type: 'CryptoCurrency',
|
|
1455
|
+
id: 'bridged-usdc-polygon-pos-bridge',
|
|
1456
|
+
name: 'Bridged USDC (Polygon PoS Bridge)',
|
|
1457
|
+
symbol: 'USDC.E',
|
|
1458
|
+
icon: undefined,
|
|
1459
|
+
market: {
|
|
1460
|
+
coingeckoId: 'bridged-usdc-polygon-pos-bridge',
|
|
1461
|
+
marketCapUsd: undefined,
|
|
1462
|
+
},
|
|
1463
|
+
updatedAt: 1_708_141_682_868,
|
|
1464
|
+
},
|
|
1465
|
+
},
|
|
1466
|
+
from: '0xa374094527e1673a86de625aa59517c5de346d32',
|
|
1467
|
+
to: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
1468
|
+
value: 274_000_000n,
|
|
1469
|
+
price: undefined,
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
type: 'Erc20Transfer',
|
|
1473
|
+
logIndex: 136,
|
|
1474
|
+
token: {
|
|
1475
|
+
contractAddress: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
1476
|
+
name: 'Wrapped Matic',
|
|
1477
|
+
symbol: 'WMATIC',
|
|
1478
|
+
decimals: 18,
|
|
1479
|
+
currency: {
|
|
1480
|
+
type: 'CryptoCurrency',
|
|
1481
|
+
id: 'wmatic',
|
|
1482
|
+
name: 'Wrapped Matic',
|
|
1483
|
+
symbol: 'WMATIC',
|
|
1484
|
+
icon: undefined,
|
|
1485
|
+
market: { coingeckoId: 'wmatic', marketCapUsd: undefined },
|
|
1486
|
+
updatedAt: 1_708_141_682_813,
|
|
1487
|
+
},
|
|
1488
|
+
},
|
|
1489
|
+
from: '0x4c60051384bd2d3c01bfc845cf5f4b44bcbe9de5',
|
|
1490
|
+
to: '0xa374094527e1673a86de625aa59517c5de346d32',
|
|
1491
|
+
value: 246_469_483_378_392_239_075n,
|
|
1492
|
+
price: undefined,
|
|
1493
|
+
},
|
|
1494
|
+
],
|
|
1495
|
+
erc721Transfers: [],
|
|
1496
|
+
erc1155Transfers: [],
|
|
1497
|
+
}
|
|
1498
|
+
const analyzed = await analyzeSwap({
|
|
1499
|
+
chain,
|
|
1500
|
+
transaction,
|
|
1501
|
+
accountAddresses: ['0x161619839ebbada5d3c279e1a79c50f7fc4274d6'],
|
|
1502
|
+
})
|
|
1503
|
+
expect(analyzed).toBeDefined()
|
|
1504
|
+
expect(analyzed?.actions).toHaveLength(1)
|
|
1505
|
+
expect(analyzed?.actions[0].action).toBe('trade')
|
|
1506
|
+
expect(analyzed?.accountActions).toHaveLength(1)
|
|
1507
|
+
expect(analyzed?.accountActions[0].action).toBe('trade')
|
|
1508
|
+
})
|
|
1509
|
+
|
|
1510
|
+
// TODO
|
|
1511
|
+
it.todo('1inch aggregation router の analyze が正常にされる')
|
|
1512
|
+
|
|
1513
|
+
it('内部で swap を使用している swap でない transaction は analyze 失敗する', async () => {
|
|
1514
|
+
// https://polygonscan.com/tx/0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7
|
|
1515
|
+
const chain = createPolygonPosChain('')
|
|
1516
|
+
const transaction: TransactionDecoded<CryptoCurrencyPrice | undefined> = {
|
|
1517
|
+
app: undefined,
|
|
1518
|
+
function: undefined,
|
|
1519
|
+
nativeTokenPrice: undefined,
|
|
1520
|
+
blockHash:
|
|
1521
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1522
|
+
blockNumber: 40_166_837n,
|
|
1523
|
+
from: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
1524
|
+
gas: 660_000n,
|
|
1525
|
+
gasPrice: 140_019_085_492n,
|
|
1526
|
+
maxFeePerGas: 237_233_704_882n,
|
|
1527
|
+
maxPriorityFeePerGas: 30_000_000_000n,
|
|
1528
|
+
hash: '0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1529
|
+
input:
|
|
1530
|
+
'0x8ca3bf680000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa8417400000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000500000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084d6f6f6e6265616d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000761786c555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa84174000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b3000000000000000000000000f5b509bb0909a69b1c207e495f687a596c168e1200000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f5b509bb0909a69b1c207e495f687a596c168e12000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000e4bc6511880000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa84174000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d66600000000000000000000000000000000000000000000000000000186c950657c00000000000000000000000000000000000000000000000000000000004c4b4000000000000000000000000000000000000000000000000000000000004c27c90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000ca01a1d0993565291051daff390892518acfad3a0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000ca01a1d0993565291051daff390892518acfad3a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b3000000000000000000000000b0dfd6f3fddb219e60fcdc1ea3d04b22f2ffa9cc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000ca01a1d0993565291051daff390892518acfad3a00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b0dfd6f3fddb219e60fcdc1ea3d04b22f2ffa9cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000e4ff969322000000000000000000000000a1ffdc79f998e7fa91ba3a6f098b84c9275b0483000000000000000000000000b1bc9f56103175193519ae1540a0a4572b1566f60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c4edb00000000000000000000000000000000000000000000000000000000004c0ce100000000000000000000000000000000000000000000000000000186c950657c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000ca01a1d0993565291051daff390892518acfad3a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000931715fee2d06333043d11f658c8ce934ac61d0c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b300000000000000000000000070085a09d30d6f8c4ecf6ee10120d1847383bb570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000931715fee2d06333043d11f658c8ce934ac61d0c0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000070085a09d30d6f8c4ecf6ee10120d1847383bb57000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000010418cbafe500000000000000000000000000000000000000000000000000000000004c5b11000000000000000000000000000000000000000000000000b9e2e0c39e9f3c7e00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d600000000000000000000000000000000000000000000000000000186c950657d0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000931715fee2d06333043d11f658c8ce934ac61d0c000000000000000000000000acc15dc74880c9944775448304b263d191c6077f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000931715fee2d06333043d11f658c8ce934ac61d0c0000000000000000000000000000000000000000000000000000000000000000',
|
|
1531
|
+
nonce: 450,
|
|
1532
|
+
to: '0xce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
1533
|
+
transactionIndex: 43,
|
|
1534
|
+
value: 159_043_499_226_146_520n,
|
|
1535
|
+
type: 'eip1559',
|
|
1536
|
+
accessList: [],
|
|
1537
|
+
chainId: 137,
|
|
1538
|
+
v: 0n,
|
|
1539
|
+
r: '0x621dd73444f8e11578ef98e594067b8688755942ff9e4f3f59349e6e07748f28',
|
|
1540
|
+
s: '0x61a7385abbe694eceb54bd1919cbdc5429c4a04928615f102e98ec8ea75cc0a9',
|
|
1541
|
+
yParity: 0,
|
|
1542
|
+
typeHex: '0x2',
|
|
1543
|
+
contractAddress: null,
|
|
1544
|
+
cumulativeGasUsed: 7_468_547n,
|
|
1545
|
+
effectiveGasPrice: 140_019_085_492n,
|
|
1546
|
+
gasUsed: 513_605n,
|
|
1547
|
+
logs: [
|
|
1548
|
+
{
|
|
1549
|
+
type: 'decoded',
|
|
1550
|
+
log: {
|
|
1551
|
+
address: '0x0000000000000000000000000000000000001010',
|
|
1552
|
+
blockHash:
|
|
1553
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1554
|
+
blockNumber: 40_166_837n,
|
|
1555
|
+
data: '0x000000000000000000000000000000000000000000000000023509384b35a6d800000000000000000000000000000000000000000000003be8cf9dbc8022896c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003be69a948434ece294000000000000000000000000000000000000000000000000023509384b35a6d8',
|
|
1556
|
+
logIndex: 192,
|
|
1557
|
+
transactionHash:
|
|
1558
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1559
|
+
transactionIndex: 43,
|
|
1560
|
+
removed: false,
|
|
1561
|
+
topics: [
|
|
1562
|
+
'0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4',
|
|
1563
|
+
'0x0000000000000000000000000000000000000000000000000000000000001010',
|
|
1564
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
1565
|
+
'0x000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
1566
|
+
],
|
|
1567
|
+
eventName: 'LogTransfer',
|
|
1568
|
+
args: [
|
|
1569
|
+
{
|
|
1570
|
+
indexed: true,
|
|
1571
|
+
name: 'token',
|
|
1572
|
+
type: 'address',
|
|
1573
|
+
value: '0x0000000000000000000000000000000000001010',
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
indexed: true,
|
|
1577
|
+
name: 'from',
|
|
1578
|
+
type: 'address',
|
|
1579
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
indexed: true,
|
|
1583
|
+
name: 'to',
|
|
1584
|
+
type: 'address',
|
|
1585
|
+
value: '0xce16F69375520ab01377ce7B88f5BA8C48F8D666',
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
indexed: false,
|
|
1589
|
+
name: 'amount',
|
|
1590
|
+
type: 'uint256',
|
|
1591
|
+
value: 159_043_499_226_146_520n,
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
indexed: false,
|
|
1595
|
+
name: 'input1',
|
|
1596
|
+
type: 'uint256',
|
|
1597
|
+
value: 1_105_133_700_918_771_091_820n,
|
|
1598
|
+
},
|
|
1599
|
+
{ indexed: false, name: 'input2', type: 'uint256', value: 0n },
|
|
1600
|
+
{
|
|
1601
|
+
indexed: false,
|
|
1602
|
+
name: 'output1',
|
|
1603
|
+
type: 'uint256',
|
|
1604
|
+
value: 1_104_974_657_419_544_945_300n,
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
indexed: false,
|
|
1608
|
+
name: 'output2',
|
|
1609
|
+
type: 'uint256',
|
|
1610
|
+
value: 159_043_499_226_146_520n,
|
|
1611
|
+
},
|
|
1612
|
+
],
|
|
1613
|
+
type: 'DecodedLog',
|
|
1614
|
+
},
|
|
1615
|
+
source: '0x0000000000000000000000000000000000001010',
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
type: 'decoded',
|
|
1619
|
+
log: {
|
|
1620
|
+
address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
1621
|
+
blockHash:
|
|
1622
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1623
|
+
blockNumber: 40_166_837n,
|
|
1624
|
+
data: '0x00000000000000000000000000000000000000000000000000000000004c4b40',
|
|
1625
|
+
logIndex: 193,
|
|
1626
|
+
transactionHash:
|
|
1627
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1628
|
+
transactionIndex: 43,
|
|
1629
|
+
removed: false,
|
|
1630
|
+
topics: [
|
|
1631
|
+
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
1632
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
1633
|
+
'0x0000000000000000000000004fd39c9e151e50580779bd04b1f7ecc310079fd3',
|
|
1634
|
+
],
|
|
1635
|
+
eventName: 'Transfer',
|
|
1636
|
+
args: [
|
|
1637
|
+
{
|
|
1638
|
+
indexed: true,
|
|
1639
|
+
name: '_from',
|
|
1640
|
+
type: 'address',
|
|
1641
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
indexed: true,
|
|
1645
|
+
name: '_to',
|
|
1646
|
+
type: 'address',
|
|
1647
|
+
value: '0x4fd39C9E151e50580779bd04B1f7eCc310079fd3',
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
indexed: false,
|
|
1651
|
+
name: '_value',
|
|
1652
|
+
type: 'uint256',
|
|
1653
|
+
value: 5_000_000n,
|
|
1654
|
+
},
|
|
1655
|
+
],
|
|
1656
|
+
type: 'DecodedLog',
|
|
1657
|
+
},
|
|
1658
|
+
source: '0xbb0e17ef65f82ab018d8edd776e8dd940327b28b',
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
type: 'decoded',
|
|
1662
|
+
log: {
|
|
1663
|
+
address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
1664
|
+
blockHash:
|
|
1665
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1666
|
+
blockNumber: 40_166_837n,
|
|
1667
|
+
data: '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb3b4bf',
|
|
1668
|
+
logIndex: 194,
|
|
1669
|
+
transactionHash:
|
|
1670
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1671
|
+
transactionIndex: 43,
|
|
1672
|
+
removed: false,
|
|
1673
|
+
topics: [
|
|
1674
|
+
'0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925',
|
|
1675
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
1676
|
+
'0x000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
1677
|
+
],
|
|
1678
|
+
eventName: 'Approval',
|
|
1679
|
+
args: [
|
|
1680
|
+
{
|
|
1681
|
+
indexed: true,
|
|
1682
|
+
name: '_owner',
|
|
1683
|
+
type: 'address',
|
|
1684
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
indexed: true,
|
|
1688
|
+
name: '_spender',
|
|
1689
|
+
type: 'address',
|
|
1690
|
+
value: '0xce16F69375520ab01377ce7B88f5BA8C48F8D666',
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
indexed: false,
|
|
1694
|
+
name: '_value',
|
|
1695
|
+
type: 'uint256',
|
|
1696
|
+
value:
|
|
1697
|
+
115_792_089_237_316_195_423_570_985_008_687_907_853_269_984_665_640_564_039_457_584_007_913_124_639_935n,
|
|
1698
|
+
},
|
|
1699
|
+
],
|
|
1700
|
+
type: 'DecodedLog',
|
|
1701
|
+
},
|
|
1702
|
+
source: '0xbb0e17ef65f82ab018d8edd776e8dd940327b28b',
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
type: 'decoded',
|
|
1706
|
+
log: {
|
|
1707
|
+
address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
1708
|
+
blockHash:
|
|
1709
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1710
|
+
blockNumber: 40_166_837n,
|
|
1711
|
+
data: '0x00000000000000000000000000000000000000000000000000000000004c4b40',
|
|
1712
|
+
logIndex: 195,
|
|
1713
|
+
transactionHash:
|
|
1714
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1715
|
+
transactionIndex: 43,
|
|
1716
|
+
removed: false,
|
|
1717
|
+
topics: [
|
|
1718
|
+
'0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925',
|
|
1719
|
+
'0x0000000000000000000000004fd39c9e151e50580779bd04b1f7ecc310079fd3',
|
|
1720
|
+
'0x000000000000000000000000f5b509bb0909a69b1c207e495f687a596c168e12',
|
|
1721
|
+
],
|
|
1722
|
+
eventName: 'Approval',
|
|
1723
|
+
args: [
|
|
1724
|
+
{
|
|
1725
|
+
indexed: true,
|
|
1726
|
+
name: '_owner',
|
|
1727
|
+
type: 'address',
|
|
1728
|
+
value: '0x4fd39C9E151e50580779bd04B1f7eCc310079fd3',
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
indexed: true,
|
|
1732
|
+
name: '_spender',
|
|
1733
|
+
type: 'address',
|
|
1734
|
+
value: '0xf5b509bB0909a69B1c207E495f687a596C168E12',
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
indexed: false,
|
|
1738
|
+
name: '_value',
|
|
1739
|
+
type: 'uint256',
|
|
1740
|
+
value: 5_000_000n,
|
|
1741
|
+
},
|
|
1742
|
+
],
|
|
1743
|
+
type: 'DecodedLog',
|
|
1744
|
+
},
|
|
1745
|
+
source: '0xbb0e17ef65f82ab018d8edd776e8dd940327b28b',
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
type: 'decoded',
|
|
1749
|
+
log: {
|
|
1750
|
+
address: '0x6b7a1606558f586ffa1fad23a1ab84ccb9155b00',
|
|
1751
|
+
blockHash:
|
|
1752
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1753
|
+
blockNumber: 40_166_837n,
|
|
1754
|
+
data: '0x0000000000000000000000000000000000000000000000000000000000000064',
|
|
1755
|
+
logIndex: 196,
|
|
1756
|
+
transactionHash:
|
|
1757
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1758
|
+
transactionIndex: 43,
|
|
1759
|
+
removed: false,
|
|
1760
|
+
topics: [
|
|
1761
|
+
'0x598b9f043c813aa6be3426ca60d1c65d17256312890be5118dab55b0775ebe2a',
|
|
1762
|
+
],
|
|
1763
|
+
eventName: 'Fee',
|
|
1764
|
+
args: [{ indexed: false, name: 'fee', type: 'uint16', value: 100 }],
|
|
1765
|
+
type: 'DecodedLog',
|
|
1766
|
+
},
|
|
1767
|
+
source: '0x6b7a1606558f586ffa1fad23a1ab84ccb9155b00',
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
type: 'decoded',
|
|
1771
|
+
log: {
|
|
1772
|
+
address: '0x750e4c4984a9e0f12978ea6742bc1c5d248f40ed',
|
|
1773
|
+
blockHash:
|
|
1774
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1775
|
+
blockNumber: 40_166_837n,
|
|
1776
|
+
data: '0x00000000000000000000000000000000000000000000000000000000004c4edb',
|
|
1777
|
+
logIndex: 197,
|
|
1778
|
+
transactionHash:
|
|
1779
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1780
|
+
transactionIndex: 43,
|
|
1781
|
+
removed: false,
|
|
1782
|
+
topics: [
|
|
1783
|
+
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
1784
|
+
'0x0000000000000000000000006b7a1606558f586ffa1fad23a1ab84ccb9155b00',
|
|
1785
|
+
'0x000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
1786
|
+
],
|
|
1787
|
+
eventName: 'Transfer',
|
|
1788
|
+
args: [
|
|
1789
|
+
{
|
|
1790
|
+
indexed: true,
|
|
1791
|
+
name: 'from',
|
|
1792
|
+
type: 'address',
|
|
1793
|
+
value: '0x6b7a1606558f586FFA1faD23a1aB84cCB9155B00',
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
indexed: true,
|
|
1797
|
+
name: 'to',
|
|
1798
|
+
type: 'address',
|
|
1799
|
+
value: '0xce16F69375520ab01377ce7B88f5BA8C48F8D666',
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
indexed: false,
|
|
1803
|
+
name: 'value',
|
|
1804
|
+
type: 'uint256',
|
|
1805
|
+
value: 5_000_923n,
|
|
1806
|
+
},
|
|
1807
|
+
],
|
|
1808
|
+
type: 'DecodedLog',
|
|
1809
|
+
},
|
|
1810
|
+
source: '0x750e4c4984a9e0f12978ea6742bc1c5d248f40ed',
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
type: 'decoded',
|
|
1814
|
+
log: {
|
|
1815
|
+
address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
1816
|
+
blockHash:
|
|
1817
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1818
|
+
blockNumber: 40_166_837n,
|
|
1819
|
+
data: '0x00000000000000000000000000000000000000000000000000000000004c4b40',
|
|
1820
|
+
logIndex: 198,
|
|
1821
|
+
transactionHash:
|
|
1822
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1823
|
+
transactionIndex: 43,
|
|
1824
|
+
removed: false,
|
|
1825
|
+
topics: [
|
|
1826
|
+
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
1827
|
+
'0x0000000000000000000000004fd39c9e151e50580779bd04b1f7ecc310079fd3',
|
|
1828
|
+
'0x0000000000000000000000006b7a1606558f586ffa1fad23a1ab84ccb9155b00',
|
|
1829
|
+
],
|
|
1830
|
+
eventName: 'Transfer',
|
|
1831
|
+
args: [
|
|
1832
|
+
{
|
|
1833
|
+
indexed: true,
|
|
1834
|
+
name: '_from',
|
|
1835
|
+
type: 'address',
|
|
1836
|
+
value: '0x4fd39C9E151e50580779bd04B1f7eCc310079fd3',
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
indexed: true,
|
|
1840
|
+
name: '_to',
|
|
1841
|
+
type: 'address',
|
|
1842
|
+
value: '0x6b7a1606558f586FFA1faD23a1aB84cCB9155B00',
|
|
1843
|
+
},
|
|
1844
|
+
{
|
|
1845
|
+
indexed: false,
|
|
1846
|
+
name: '_value',
|
|
1847
|
+
type: 'uint256',
|
|
1848
|
+
value: 5_000_000n,
|
|
1849
|
+
},
|
|
1850
|
+
],
|
|
1851
|
+
type: 'DecodedLog',
|
|
1852
|
+
},
|
|
1853
|
+
source: '0xbb0e17ef65f82ab018d8edd776e8dd940327b28b',
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
type: 'decoded',
|
|
1857
|
+
log: {
|
|
1858
|
+
address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
1859
|
+
blockHash:
|
|
1860
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1861
|
+
blockNumber: 40_166_837n,
|
|
1862
|
+
data: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
|
1863
|
+
logIndex: 199,
|
|
1864
|
+
transactionHash:
|
|
1865
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1866
|
+
transactionIndex: 43,
|
|
1867
|
+
removed: false,
|
|
1868
|
+
topics: [
|
|
1869
|
+
'0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925',
|
|
1870
|
+
'0x0000000000000000000000004fd39c9e151e50580779bd04b1f7ecc310079fd3',
|
|
1871
|
+
'0x000000000000000000000000f5b509bb0909a69b1c207e495f687a596c168e12',
|
|
1872
|
+
],
|
|
1873
|
+
eventName: 'Approval',
|
|
1874
|
+
args: [
|
|
1875
|
+
{
|
|
1876
|
+
indexed: true,
|
|
1877
|
+
name: '_owner',
|
|
1878
|
+
type: 'address',
|
|
1879
|
+
value: '0x4fd39C9E151e50580779bd04B1f7eCc310079fd3',
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
indexed: true,
|
|
1883
|
+
name: '_spender',
|
|
1884
|
+
type: 'address',
|
|
1885
|
+
value: '0xf5b509bB0909a69B1c207E495f687a596C168E12',
|
|
1886
|
+
},
|
|
1887
|
+
{ indexed: false, name: '_value', type: 'uint256', value: 0n },
|
|
1888
|
+
],
|
|
1889
|
+
type: 'DecodedLog',
|
|
1890
|
+
},
|
|
1891
|
+
source: '0xbb0e17ef65f82ab018d8edd776e8dd940327b28b',
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
type: 'decoded',
|
|
1895
|
+
log: {
|
|
1896
|
+
address: '0x6b7a1606558f586ffa1fad23a1ab84ccb9155b00',
|
|
1897
|
+
blockHash:
|
|
1898
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1899
|
+
blockNumber: 40_166_837n,
|
|
1900
|
+
data: '0x00000000000000000000000000000000000000000000000000000000004c4b40ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb3b1250000000000000000000000000000000000000001000953fd5aa9e373d739873a00000000000000000000000000000000000000000000000000005ce90dc1f3500000000000000000000000000000000000000000000000000000000000000002',
|
|
1901
|
+
logIndex: 200,
|
|
1902
|
+
transactionHash:
|
|
1903
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1904
|
+
transactionIndex: 43,
|
|
1905
|
+
removed: false,
|
|
1906
|
+
topics: [
|
|
1907
|
+
'0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67',
|
|
1908
|
+
'0x000000000000000000000000f5b509bb0909a69b1c207e495f687a596c168e12',
|
|
1909
|
+
'0x000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
1910
|
+
],
|
|
1911
|
+
eventName: 'Swap',
|
|
1912
|
+
args: [
|
|
1913
|
+
{
|
|
1914
|
+
indexed: true,
|
|
1915
|
+
name: 'sender',
|
|
1916
|
+
type: 'address',
|
|
1917
|
+
value: '0xf5b509bB0909a69B1c207E495f687a596C168E12',
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
indexed: true,
|
|
1921
|
+
name: 'recipient',
|
|
1922
|
+
type: 'address',
|
|
1923
|
+
value: '0xce16F69375520ab01377ce7B88f5BA8C48F8D666',
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
indexed: false,
|
|
1927
|
+
name: 'amount0',
|
|
1928
|
+
type: 'int256',
|
|
1929
|
+
value: 5_000_000n,
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
indexed: false,
|
|
1933
|
+
name: 'amount1',
|
|
1934
|
+
type: 'int256',
|
|
1935
|
+
value: -5_000_923n,
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
indexed: false,
|
|
1939
|
+
name: 'price',
|
|
1940
|
+
type: 'uint160',
|
|
1941
|
+
value: 79_239_439_476_618_200_906_334_832_442n,
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
indexed: false,
|
|
1945
|
+
name: 'liquidity',
|
|
1946
|
+
type: 'uint128',
|
|
1947
|
+
value: 102_156_027_949_904n,
|
|
1948
|
+
},
|
|
1949
|
+
{ indexed: false, name: 'tick', type: 'int24', value: 2 },
|
|
1950
|
+
],
|
|
1951
|
+
type: 'DecodedLog',
|
|
1952
|
+
},
|
|
1953
|
+
source: '0x6b7a1606558f586ffa1fad23a1ab84ccb9155b00',
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
type: 'decoded',
|
|
1957
|
+
log: {
|
|
1958
|
+
address: '0x0000000000000000000000000000000000001010',
|
|
1959
|
+
blockHash:
|
|
1960
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
1961
|
+
blockNumber: 40_166_837n,
|
|
1962
|
+
data: '0x000000000000000000000000000000000000000000000000023509384b35a6d8000000000000000000000000000000000000000000000000023509384b35a6d800000000000000000000000000000000000000000000002da4ca57f9cf71a75d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002da6ff61321aa74e35',
|
|
1963
|
+
logIndex: 201,
|
|
1964
|
+
transactionHash:
|
|
1965
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
1966
|
+
transactionIndex: 43,
|
|
1967
|
+
removed: false,
|
|
1968
|
+
topics: [
|
|
1969
|
+
'0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4',
|
|
1970
|
+
'0x0000000000000000000000000000000000000000000000000000000000001010',
|
|
1971
|
+
'0x000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
1972
|
+
'0x0000000000000000000000002d5d7d31f671f86c782533cc367f14109a082712',
|
|
1973
|
+
],
|
|
1974
|
+
eventName: 'LogTransfer',
|
|
1975
|
+
args: [
|
|
1976
|
+
{
|
|
1977
|
+
indexed: true,
|
|
1978
|
+
name: 'token',
|
|
1979
|
+
type: 'address',
|
|
1980
|
+
value: '0x0000000000000000000000000000000000001010',
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
indexed: true,
|
|
1984
|
+
name: 'from',
|
|
1985
|
+
type: 'address',
|
|
1986
|
+
value: '0xce16F69375520ab01377ce7B88f5BA8C48F8D666',
|
|
1987
|
+
},
|
|
1988
|
+
{
|
|
1989
|
+
indexed: true,
|
|
1990
|
+
name: 'to',
|
|
1991
|
+
type: 'address',
|
|
1992
|
+
value: '0x2d5d7d31F671F86C782533cc367F14109a082712',
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
indexed: false,
|
|
1996
|
+
name: 'amount',
|
|
1997
|
+
type: 'uint256',
|
|
1998
|
+
value: 159_043_499_226_146_520n,
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
indexed: false,
|
|
2002
|
+
name: 'input1',
|
|
2003
|
+
type: 'uint256',
|
|
2004
|
+
value: 159_043_499_226_146_520n,
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
indexed: false,
|
|
2008
|
+
name: 'input2',
|
|
2009
|
+
type: 'uint256',
|
|
2010
|
+
value: 841_977_883_414_884_362_077n,
|
|
2011
|
+
},
|
|
2012
|
+
{ indexed: false, name: 'output1', type: 'uint256', value: 0n },
|
|
2013
|
+
{
|
|
2014
|
+
indexed: false,
|
|
2015
|
+
name: 'output2',
|
|
2016
|
+
type: 'uint256',
|
|
2017
|
+
value: 842_136_926_914_110_508_597n,
|
|
2018
|
+
},
|
|
2019
|
+
],
|
|
2020
|
+
type: 'DecodedLog',
|
|
2021
|
+
},
|
|
2022
|
+
source: '0x0000000000000000000000000000000000001010',
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
type: 'LogOriginal',
|
|
2026
|
+
log: {
|
|
2027
|
+
address: '0x2d5d7d31f671f86c782533cc367f14109a082712',
|
|
2028
|
+
topics: [
|
|
2029
|
+
'0x999d431b58761213cf53af96262b67a069cbd963499fd8effd1e21556217b841',
|
|
2030
|
+
'0x000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
2031
|
+
'0x64ce363161c5d2c8ab9d4e6dfd095cb625f62a91aed1d4aa6023bf88b3b92539',
|
|
2032
|
+
],
|
|
2033
|
+
data: '0x00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000004c4edb000000000000000000000000000000000000000000000000023509384b35a6d8000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d600000000000000000000000000000000000000000000000000000000000000084d6f6f6e6265616d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a30786365313666363933373535323061623031333737636537623838663562613863343866386436363600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000761786c5553444300000000000000000000000000000000000000000000000000',
|
|
2034
|
+
blockNumber: 40_166_837n,
|
|
2035
|
+
transactionHash:
|
|
2036
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
2037
|
+
transactionIndex: 43,
|
|
2038
|
+
blockHash:
|
|
2039
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
2040
|
+
logIndex: 202,
|
|
2041
|
+
removed: false,
|
|
2042
|
+
},
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
type: 'decoded',
|
|
2046
|
+
log: {
|
|
2047
|
+
address: '0x750e4c4984a9e0f12978ea6742bc1c5d248f40ed',
|
|
2048
|
+
blockHash:
|
|
2049
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
2050
|
+
blockNumber: 40_166_837n,
|
|
2051
|
+
data: '0xffffffffffffffffffffffffffffffffffffffffffffffffffffff751969d0e5',
|
|
2052
|
+
logIndex: 203,
|
|
2053
|
+
transactionHash:
|
|
2054
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
2055
|
+
transactionIndex: 43,
|
|
2056
|
+
removed: false,
|
|
2057
|
+
topics: [
|
|
2058
|
+
'0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925',
|
|
2059
|
+
'0x000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
2060
|
+
'0x0000000000000000000000006f015f16de9fc8791b234ef68d486d2bf203fba8',
|
|
2061
|
+
],
|
|
2062
|
+
eventName: 'Approval',
|
|
2063
|
+
args: [
|
|
2064
|
+
{
|
|
2065
|
+
indexed: true,
|
|
2066
|
+
name: 'owner',
|
|
2067
|
+
type: 'address',
|
|
2068
|
+
value: '0xce16F69375520ab01377ce7B88f5BA8C48F8D666',
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
indexed: true,
|
|
2072
|
+
name: 'spender',
|
|
2073
|
+
type: 'address',
|
|
2074
|
+
value: '0x6f015F16De9fC8791b234eF68D486d2bF203FBA8',
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
indexed: false,
|
|
2078
|
+
name: 'value',
|
|
2079
|
+
type: 'uint256',
|
|
2080
|
+
value:
|
|
2081
|
+
115_792_089_237_316_195_423_570_985_008_687_907_853_269_984_665_640_564_039_457_584_007_316_555_550_949n,
|
|
2082
|
+
},
|
|
2083
|
+
],
|
|
2084
|
+
type: 'DecodedLog',
|
|
2085
|
+
},
|
|
2086
|
+
source: '0x750e4c4984a9e0f12978ea6742bc1c5d248f40ed',
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
type: 'decoded',
|
|
2090
|
+
log: {
|
|
2091
|
+
address: '0x750e4c4984a9e0f12978ea6742bc1c5d248f40ed',
|
|
2092
|
+
blockHash:
|
|
2093
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
2094
|
+
blockNumber: 40_166_837n,
|
|
2095
|
+
data: '0x00000000000000000000000000000000000000000000000000000000004c4edb',
|
|
2096
|
+
logIndex: 204,
|
|
2097
|
+
transactionHash:
|
|
2098
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
2099
|
+
transactionIndex: 43,
|
|
2100
|
+
removed: false,
|
|
2101
|
+
topics: [
|
|
2102
|
+
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
2103
|
+
'0x000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
2104
|
+
'0x0000000000000000000000000000000000000000000000000000000000000000',
|
|
2105
|
+
],
|
|
2106
|
+
eventName: 'Transfer',
|
|
2107
|
+
args: [
|
|
2108
|
+
{
|
|
2109
|
+
indexed: true,
|
|
2110
|
+
name: 'from',
|
|
2111
|
+
type: 'address',
|
|
2112
|
+
value: '0xce16F69375520ab01377ce7B88f5BA8C48F8D666',
|
|
2113
|
+
},
|
|
2114
|
+
{
|
|
2115
|
+
indexed: true,
|
|
2116
|
+
name: 'to',
|
|
2117
|
+
type: 'address',
|
|
2118
|
+
value: '0x0000000000000000000000000000000000000000',
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
indexed: false,
|
|
2122
|
+
name: 'value',
|
|
2123
|
+
type: 'uint256',
|
|
2124
|
+
value: 5_000_923n,
|
|
2125
|
+
},
|
|
2126
|
+
],
|
|
2127
|
+
type: 'DecodedLog',
|
|
2128
|
+
},
|
|
2129
|
+
source: '0x750e4c4984a9e0f12978ea6742bc1c5d248f40ed',
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
type: 'LogOriginal',
|
|
2133
|
+
log: {
|
|
2134
|
+
address: '0x6f015f16de9fc8791b234ef68d486d2bf203fba8',
|
|
2135
|
+
topics: [
|
|
2136
|
+
'0x7e50569d26be643bda7757722291ec66b1be66d8283474ae3fab5a98f878a7a2',
|
|
2137
|
+
'0x000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
2138
|
+
'0x64ce363161c5d2c8ab9d4e6dfd095cb625f62a91aed1d4aa6023bf88b3b92539',
|
|
2139
|
+
],
|
|
2140
|
+
data: '0x00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ac000000000000000000000000000000000000000000000000000000000004c4edb00000000000000000000000000000000000000000000000000000000000000084d6f6f6e6265616d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a3078636531366636393337353532306162303133373763653762383866356261386334386638643636360000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000ca01a1d0993565291051daff390892518acfad3a0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000ca01a1d0993565291051daff390892518acfad3a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b3000000000000000000000000b0dfd6f3fddb219e60fcdc1ea3d04b22f2ffa9cc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000ca01a1d0993565291051daff390892518acfad3a00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b0dfd6f3fddb219e60fcdc1ea3d04b22f2ffa9cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000e4ff969322000000000000000000000000a1ffdc79f998e7fa91ba3a6f098b84c9275b0483000000000000000000000000b1bc9f56103175193519ae1540a0a4572b1566f60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c4edb00000000000000000000000000000000000000000000000000000000004c0ce100000000000000000000000000000000000000000000000000000186c950657c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000ca01a1d0993565291051daff390892518acfad3a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000931715fee2d06333043d11f658c8ce934ac61d0c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b300000000000000000000000070085a09d30d6f8c4ecf6ee10120d1847383bb570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000931715fee2d06333043d11f658c8ce934ac61d0c0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000070085a09d30d6f8c4ecf6ee10120d1847383bb57000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000010418cbafe500000000000000000000000000000000000000000000000000000000004c5b11000000000000000000000000000000000000000000000000b9e2e0c39e9f3c7e00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d600000000000000000000000000000000000000000000000000000186c950657d0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000931715fee2d06333043d11f658c8ce934ac61d0c000000000000000000000000acc15dc74880c9944775448304b263d191c6077f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000931715fee2d06333043d11f658c8ce934ac61d0c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000761786c5553444300000000000000000000000000000000000000000000000000',
|
|
2141
|
+
blockNumber: 40_166_837n,
|
|
2142
|
+
transactionHash:
|
|
2143
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
2144
|
+
transactionIndex: 43,
|
|
2145
|
+
blockHash:
|
|
2146
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
2147
|
+
logIndex: 205,
|
|
2148
|
+
removed: false,
|
|
2149
|
+
},
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
type: 'decoded',
|
|
2153
|
+
log: {
|
|
2154
|
+
address: '0x0000000000000000000000000000000000001010',
|
|
2155
|
+
blockHash:
|
|
2156
|
+
'0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
2157
|
+
blockNumber: 40_166_837n,
|
|
2158
|
+
data: '0x0000000000000000000000000000000000000000000000000036bda17b655c0000000000000000000000000000000000000000000000003bea17ee80cecd47ec00000000000000000000000000000000000000000000041ff71b12f994c6ca5300000000000000000000000000000000000000000000003be9e130df5367ebec00000000000000000000000000000000000000000000041ff751d09b102c2653',
|
|
2159
|
+
logIndex: 206,
|
|
2160
|
+
transactionHash:
|
|
2161
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
2162
|
+
transactionIndex: 43,
|
|
2163
|
+
removed: false,
|
|
2164
|
+
topics: [
|
|
2165
|
+
'0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63',
|
|
2166
|
+
'0x0000000000000000000000000000000000000000000000000000000000001010',
|
|
2167
|
+
'0x000000000000000000000000161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
2168
|
+
'0x000000000000000000000000127685d6dd6683085da4b6a041efcef1681e5c9c',
|
|
2169
|
+
],
|
|
2170
|
+
eventName: 'LogFeeTransfer',
|
|
2171
|
+
args: [
|
|
2172
|
+
{
|
|
2173
|
+
indexed: true,
|
|
2174
|
+
name: 'token',
|
|
2175
|
+
type: 'address',
|
|
2176
|
+
value: '0x0000000000000000000000000000000000001010',
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
indexed: true,
|
|
2180
|
+
name: 'from',
|
|
2181
|
+
type: 'address',
|
|
2182
|
+
value: '0x161619839EBbADa5d3C279E1A79C50F7fc4274D6',
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
indexed: true,
|
|
2186
|
+
name: 'to',
|
|
2187
|
+
type: 'address',
|
|
2188
|
+
value: '0x127685D6dD6683085Da4B6a041eFcef1681E5C9C',
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
indexed: false,
|
|
2192
|
+
name: 'amount',
|
|
2193
|
+
type: 'uint256',
|
|
2194
|
+
value: 15_408_150_000_000_000n,
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
indexed: false,
|
|
2198
|
+
name: 'input1',
|
|
2199
|
+
type: 'uint256',
|
|
2200
|
+
value: 1_105_226_113_515_195_811_820n,
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
indexed: false,
|
|
2204
|
+
name: 'input2',
|
|
2205
|
+
type: 'uint256',
|
|
2206
|
+
value: 19_479_120_844_178_468_555_347n,
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
indexed: false,
|
|
2210
|
+
name: 'output1',
|
|
2211
|
+
type: 'uint256',
|
|
2212
|
+
value: 1_105_210_705_365_195_811_820n,
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
indexed: false,
|
|
2216
|
+
name: 'output2',
|
|
2217
|
+
type: 'uint256',
|
|
2218
|
+
value: 19_479_136_252_328_468_555_347n,
|
|
2219
|
+
},
|
|
2220
|
+
],
|
|
2221
|
+
type: 'DecodedLog',
|
|
2222
|
+
},
|
|
2223
|
+
source: '0x0000000000000000000000000000000000001010',
|
|
2224
|
+
},
|
|
2225
|
+
],
|
|
2226
|
+
logsBloom:
|
|
2227
|
+
'0x04000800000400000000000800002000010000000000000000000000000000008020000001000200000000100000000000008000200020000000000000200000000400000000400800080008020000800000000000000000000100000000000000000000020000000080000100204800000000000000000180000010000800000081000000000008000001240000000000000000008000000000001400004000220000800000000000000000000020000200000000000000000000000000004000000002000008000201080000000000080000010000800000108800000020000010008000000000020000000200400000004000000084000000400000100030',
|
|
2228
|
+
status: 'success',
|
|
2229
|
+
transactionHash:
|
|
2230
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
2231
|
+
block: {
|
|
2232
|
+
blobGasUsed: 0n,
|
|
2233
|
+
excessBlobGas: 0n,
|
|
2234
|
+
sealFields: [],
|
|
2235
|
+
baseFeePerGas: 110_019_085_492n,
|
|
2236
|
+
difficulty: 19n,
|
|
2237
|
+
extraData:
|
|
2238
|
+
'0xd682030383626f7288676f312e31392e34856c696e75780000000000000000009e87bf2182a9a61dbd4589b27d0c320e1ee06db1d0ccd2815d4c30bf044514c85f4f887fe68f5fa8e9a379e20c74fae59fc0af0ccf1716f6d47eced77ed7c2d701',
|
|
2239
|
+
gasLimit: 30_000_000n,
|
|
2240
|
+
gasUsed: 11_043_281n,
|
|
2241
|
+
hash: '0x1a4e54becee3540e45fd1b77fd6a424ed7dfae5c02c0bfcf3182bbae2211565b',
|
|
2242
|
+
logsBloom:
|
|
2243
|
+
'0x8ee90a40d24656ca0c49a2be9b42202301219d010241d0239b61203a0a9740688d611a41e7610a5401291030a308098101769c40398a2a7230432ba20c2424123335d00cb9a250082439815db32910ac5d700630a11f70a16a032410480021958072a08982172c40a4a35d2d026f5cbd4194109dec801881a001ca3d5c58c4068c9907952c4e0688002325a5308668570411aca912804a0908e82a56a08e48ed2a07b18430807218838945201888a310a30030293e82685c10d23080c2fc4840800006ab14900980024729845220249ec8450a41a7c9feb114f49a88c8286352839d0b84bb811d0882030290a344c02f81ea62998ebcde17c8b86989a3572033',
|
|
2244
|
+
miner: '0x0000000000000000000000000000000000000000',
|
|
2245
|
+
mixHash:
|
|
2246
|
+
'0x0000000000000000000000000000000000000000000000000000000000000000',
|
|
2247
|
+
nonce: '0x0000000000000000',
|
|
2248
|
+
number: 40_166_837n,
|
|
2249
|
+
parentHash:
|
|
2250
|
+
'0x03f0d7cbed2e42b4e43198db7b462175a82a1b58093caaa4636f021307514490',
|
|
2251
|
+
receiptsRoot:
|
|
2252
|
+
'0xd8ad51c0478937596b989bf33927a7805d2c1025a277fd1f27ab7a52cc0b5590',
|
|
2253
|
+
sha3Uncles:
|
|
2254
|
+
'0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
|
|
2255
|
+
size: 37_368n,
|
|
2256
|
+
stateRoot:
|
|
2257
|
+
'0x45a6a5aae8123abdc15037411a90de327f4120c1869e000c0198f433a0a97eb4',
|
|
2258
|
+
timestamp: 1_678_413_746n,
|
|
2259
|
+
totalDifficulty: 658_089_726n,
|
|
2260
|
+
transactions: [],
|
|
2261
|
+
transactionsRoot:
|
|
2262
|
+
'0x9505b375a95c96c637e3789f3eae2a82ff2aaa7c915f7c31c78edc0df94ab50a',
|
|
2263
|
+
uncles: [],
|
|
2264
|
+
},
|
|
2265
|
+
internalTransactions: [
|
|
2266
|
+
{
|
|
2267
|
+
contractAddress: undefined,
|
|
2268
|
+
price: undefined,
|
|
2269
|
+
from: '0xce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
2270
|
+
to: '0x2d5d7d31f671f86c782533cc367f14109a082712',
|
|
2271
|
+
value: 159_043_499_226_146_520n,
|
|
2272
|
+
input: '',
|
|
2273
|
+
type: 'InternalTransaction',
|
|
2274
|
+
gas: 128_585n,
|
|
2275
|
+
gasUsed: 13_603n,
|
|
2276
|
+
isError: false,
|
|
2277
|
+
transactionHash:
|
|
2278
|
+
'0x73ef2c82ff035295184360f4f25dc7292af038ea2637fc62998eeb2327b6fba7',
|
|
2279
|
+
txType: 'call',
|
|
2280
|
+
currency: {
|
|
2281
|
+
type: 'CryptoCurrency',
|
|
2282
|
+
id: 'matic-network',
|
|
2283
|
+
name: 'Polygon',
|
|
2284
|
+
symbol: 'MATIC',
|
|
2285
|
+
icon: undefined,
|
|
2286
|
+
market: { coingeckoId: 'matic-network', marketCapUsd: undefined },
|
|
2287
|
+
updatedAt: 1_708_139_733_159,
|
|
2288
|
+
},
|
|
2289
|
+
},
|
|
2290
|
+
],
|
|
2291
|
+
erc20Transfers: [
|
|
2292
|
+
{
|
|
2293
|
+
type: 'Erc20Transfer',
|
|
2294
|
+
logIndex: 193,
|
|
2295
|
+
token: {
|
|
2296
|
+
contractAddress: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
2297
|
+
name: 'USD Coin (PoS)',
|
|
2298
|
+
symbol: 'USDC',
|
|
2299
|
+
decimals: 6,
|
|
2300
|
+
currency: {
|
|
2301
|
+
type: 'CryptoCurrency',
|
|
2302
|
+
id: 'bridged-usdc-polygon-pos-bridge',
|
|
2303
|
+
name: 'Bridged USDC (Polygon PoS Bridge)',
|
|
2304
|
+
symbol: 'USDC.E',
|
|
2305
|
+
icon: undefined,
|
|
2306
|
+
market: {
|
|
2307
|
+
coingeckoId: 'bridged-usdc-polygon-pos-bridge',
|
|
2308
|
+
marketCapUsd: undefined,
|
|
2309
|
+
},
|
|
2310
|
+
updatedAt: 1_708_139_734_768,
|
|
2311
|
+
},
|
|
2312
|
+
},
|
|
2313
|
+
from: '0x161619839ebbada5d3c279e1a79c50f7fc4274d6',
|
|
2314
|
+
to: '0x4fd39c9e151e50580779bd04b1f7ecc310079fd3',
|
|
2315
|
+
value: 5_000_000n,
|
|
2316
|
+
price: undefined,
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
type: 'Erc20Transfer',
|
|
2320
|
+
logIndex: 197,
|
|
2321
|
+
token: {
|
|
2322
|
+
contractAddress: '0x750e4c4984a9e0f12978ea6742bc1c5d248f40ed',
|
|
2323
|
+
name: 'Axelar Wrapped USDC',
|
|
2324
|
+
symbol: 'axlUSDC',
|
|
2325
|
+
decimals: 6,
|
|
2326
|
+
currency: {
|
|
2327
|
+
type: 'CryptoCurrency',
|
|
2328
|
+
id: 'axlusdc',
|
|
2329
|
+
name: 'Bridged USD Coin (Axelar)',
|
|
2330
|
+
symbol: 'AXLUSDC',
|
|
2331
|
+
icon: undefined,
|
|
2332
|
+
market: { coingeckoId: 'axlusdc', marketCapUsd: undefined },
|
|
2333
|
+
updatedAt: 1_708_139_734_752,
|
|
2334
|
+
},
|
|
2335
|
+
},
|
|
2336
|
+
from: '0x6b7a1606558f586ffa1fad23a1ab84ccb9155b00',
|
|
2337
|
+
to: '0xce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
2338
|
+
value: 5_000_923n,
|
|
2339
|
+
price: undefined,
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
type: 'Erc20Transfer',
|
|
2343
|
+
logIndex: 198,
|
|
2344
|
+
token: {
|
|
2345
|
+
contractAddress: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
2346
|
+
name: 'USD Coin (PoS)',
|
|
2347
|
+
symbol: 'USDC',
|
|
2348
|
+
decimals: 6,
|
|
2349
|
+
currency: {
|
|
2350
|
+
type: 'CryptoCurrency',
|
|
2351
|
+
id: 'bridged-usdc-polygon-pos-bridge',
|
|
2352
|
+
name: 'Bridged USDC (Polygon PoS Bridge)',
|
|
2353
|
+
symbol: 'USDC.E',
|
|
2354
|
+
icon: undefined,
|
|
2355
|
+
market: {
|
|
2356
|
+
coingeckoId: 'bridged-usdc-polygon-pos-bridge',
|
|
2357
|
+
marketCapUsd: undefined,
|
|
2358
|
+
},
|
|
2359
|
+
updatedAt: 1_708_139_734_768,
|
|
2360
|
+
},
|
|
2361
|
+
},
|
|
2362
|
+
from: '0x4fd39c9e151e50580779bd04b1f7ecc310079fd3',
|
|
2363
|
+
to: '0x6b7a1606558f586ffa1fad23a1ab84ccb9155b00',
|
|
2364
|
+
value: 5_000_000n,
|
|
2365
|
+
price: undefined,
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
type: 'Erc20Transfer',
|
|
2369
|
+
logIndex: 204,
|
|
2370
|
+
token: {
|
|
2371
|
+
contractAddress: '0x750e4c4984a9e0f12978ea6742bc1c5d248f40ed',
|
|
2372
|
+
name: 'Axelar Wrapped USDC',
|
|
2373
|
+
symbol: 'axlUSDC',
|
|
2374
|
+
decimals: 6,
|
|
2375
|
+
currency: {
|
|
2376
|
+
type: 'CryptoCurrency',
|
|
2377
|
+
id: 'axlusdc',
|
|
2378
|
+
name: 'Bridged USD Coin (Axelar)',
|
|
2379
|
+
symbol: 'AXLUSDC',
|
|
2380
|
+
icon: undefined,
|
|
2381
|
+
market: { coingeckoId: 'axlusdc', marketCapUsd: undefined },
|
|
2382
|
+
updatedAt: 1_708_139_734_752,
|
|
2383
|
+
},
|
|
2384
|
+
},
|
|
2385
|
+
from: '0xce16f69375520ab01377ce7b88f5ba8c48f8d666',
|
|
2386
|
+
to: '0x0000000000000000000000000000000000000000',
|
|
2387
|
+
value: 5_000_923n,
|
|
2388
|
+
price: undefined,
|
|
2389
|
+
},
|
|
2390
|
+
],
|
|
2391
|
+
erc721Transfers: [],
|
|
2392
|
+
erc1155Transfers: [],
|
|
2393
|
+
}
|
|
2394
|
+
const analyzed = await analyzeSwap({
|
|
2395
|
+
chain,
|
|
2396
|
+
transaction,
|
|
2397
|
+
accountAddresses: ['0x161619839ebbada5d3c279e1a79c50f7fc4274d6'],
|
|
2398
|
+
})
|
|
2399
|
+
expect(analyzed).toBeUndefined()
|
|
2400
|
+
})
|
|
2401
|
+
})
|