ETH Price: $2,386.43 (-9.48%)

Contract

0x8EdA5BB7E11C405E8e02F543C26a8F4Be458f9Cb

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
76771902025-04-26 11:52:29280 days ago1745668349  Contract Creation0 ETH
Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EstimateGasFeature

Compiler Version
v0.8.17+commit.8df45f5f

ZkSolc Version
v1.5.12

Optimization Enabled:
Yes with Mode 3

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;


contract EstimateGasFeature {

    struct ERC20Pair {
        address token;
        uint256 amount;
    }

    function estimateGasBatchBuyWithETH(bytes calldata tradeBytes) external payable returns(uint256) {
        assembly {
            mstore(0, 0x4c674c2d)
            calldatacopy(0x20, 0x4, sub(calldatasize(), 0x4))
            if delegatecall(gas(), address(), 0x1c, calldatasize(), 0, 0) {
                mstore(0, gas())
                return(0, 0x20)
            }
            returndatacopy(0, 0, returndatasize())
            revert(0, returndatasize())
        }
    }

    function estimateGasBatchBuyWithERC20s(
        ERC20Pair[] calldata erc20Pairs,
        bytes calldata tradeBytes,
        address[] calldata dustTokens
    ) external payable returns(uint256) {
        assembly {
            mstore(0, 0x5d578816)
            calldatacopy(0x20, 0x4, sub(calldatasize(), 0x4))
            if delegatecall(gas(), address(), 0x1c, calldatasize(), 0, 0) {
                mstore(0, gas())
                return(0, 0x20)
            }
            returndatacopy(0, 0, returndatasize())
            revert(0, returndatasize())
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "mode": "3"
  },
  "outputSelection": {
    "*": {
      "*": [
        "abi"
      ]
    }
  },
  "detectMissingLibraries": false,
  "forceEVMLA": false,
  "enableEraVMExtensions": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct EstimateGasFeature.ERC20Pair[]","name":"erc20Pairs","type":"tuple[]"},{"internalType":"bytes","name":"tradeBytes","type":"bytes"},{"internalType":"address[]","name":"dustTokens","type":"address[]"}],"name":"estimateGasBatchBuyWithERC20s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"tradeBytes","type":"bytes"}],"name":"estimateGasBatchBuyWithETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"}]

9c4d535b0000000000000000000000000000000000000000000000000000000000000000010000474e415553294b88d82f7560a7f59c6a6b7a9ea97a6714b6055fa9a14500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x0000008003000039000000400030043f0000000100200190000000480000c13d00000060021002700000003b02200197000000040320008c000000840000413d000000000401043b000000e0044002700000003d0040009c000000500000613d0000003e0040009c000000840000c13d000000240020008c000000840000413d0000000404100370000000000504043b0000003f0050009c000000840000213d0000002306500039000000000026004b000000840000813d0000000406500039000000000161034f000000000101043b0000003f0010009c000000840000213d00000000011500190000002401100039000000000021004b000000840000213d0000004401000041000000000010043f00000045053001980000001f0330018f00000020015000390000002c0000613d0000002006000039000000000704034f000000007807043c0000000006860436000000000016004b000000280000c13d000000000003004b000000390000613d000000000454034f0000000303300210000000000501043300000000053501cf000000000535022f000000000404043b0000010003300089000000000434022f00000000033401cf000000000353019f0000000000310435000000600120021000000000020004140000003b0020009c0000003b02008041000000c002200210000000000112019f00000041011001c7000000000200041000e700e20000040f0000000100200190000000860000613d0000000001000414000000000010043f0000004301000041000000e80001042e0000000001000416000000000001004b000000840000c13d0000002001000039000001000010044300000120000004430000003c01000041000000e80001042e000000640020008c000000840000413d0000000404100370000000000504043b0000003f0050009c000000840000213d0000002306500039000000000026004b000000840000813d0000000406500039000000000661034f000000000606043b0000003f0060009c000000840000213d000000060660021000000000056500190000002405500039000000000025004b000000840000213d0000002405100370000000000505043b0000003f0050009c000000840000213d0000002306500039000000000026004b000000840000813d0000000406500039000000000661034f000000000606043b0000003f0060009c000000840000213d00000000056500190000002405500039000000000025004b000000840000213d0000004405100370000000000505043b0000003f0050009c000000840000213d0000002306500039000000000026004b000000840000813d0000000406500039000000000161034f000000000101043b0000003f0010009c000000840000213d000000050110021000000000011500190000002401100039000000000021004b000000a00000a13d0000000001000019000000e90001043000000060041002700000001f0340018f0000004202400198000000900000613d000000000501034f0000000006000019000000005705043c0000000006760436000000000026004b0000008c0000c13d0000003b04400197000000000003004b0000009e0000613d000000000121034f0000000303300210000000000502043300000000053501cf000000000535022f000000000101043b0000010003300089000000000131022f00000000013101cf000000000151019f00000000001204350000006001400210000000e9000104300000004001000041000000000010043f00000045053001980000001f0330018f0000002001500039000000ac0000613d0000002006000039000000000704034f000000007807043c0000000006860436000000000016004b000000a80000c13d000000000003004b000000b90000613d000000000454034f0000000303300210000000000501043300000000053501cf000000000535022f000000000404043b0000010003300089000000000434022f00000000033401cf000000000353019f0000000000310435000000600120021000000000020004140000003b0020009c0000003b02008041000000c002200210000000000112019f00000041011001c7000000000200041000e700e20000040f0000000100200190000000c80000613d0000000001000414000000000010043f0000004301000041000000e80001042e00000060041002700000001f0340018f0000004202400198000000d20000613d000000000501034f0000000006000019000000005705043c0000000006760436000000000026004b000000ce0000c13d0000003b04400197000000000003004b000000e00000613d000000000121034f0000000303300210000000000502043300000000053501cf000000000535022f000000000101043b0000010003300089000000000131022f00000000013101cf000000000151019f00000000001204350000006001400210000000e900010430000000e5002104250000000102000039000000000001042d0000000002000019000000000001042d000000e700000432000000e80001042e000000e9000104300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000d488a19500000000000000000000000000000000000000000000000000000000ce88aeda000000000000000000000000000000000000000000000000ffffffffffffffff000000000000000000000000000000000000000000000000000000005d57881600000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000000000000ffffffe00000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000004c674c2dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe047f014899ce08d045922b142ece6a2fc8091b03723ca0fd966372cc548ab681e

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.