HYPE Price: $39.26 (+1.75%)
 

Overview

HYPE Balance

HyperEVM LogoHyperEVM LogoHyperEVM Logo0 HYPE

HYPE Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x422698BA...2E4A47f01
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
UniswapInterfaceMulticall

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 300 runs

Other Settings:
cancun EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma abicoder v2;

/// @notice A fork of Multicall2 specifically tailored for the Uniswap Interface
contract UniswapInterfaceMulticall {
    struct Call {
        address target;
        uint256 gasLimit;
        bytes callData;
    }

    struct Result {
        bool success;
        uint256 gasUsed;
        bytes returnData;
    }

    function getCurrentBlockTimestamp() public view returns (uint256 timestamp) {
        timestamp = block.timestamp;
    }

    function getEthBalance(address addr) public view returns (uint256 balance) {
        balance = addr.balance;
    }

    function multicall(Call[] memory calls) public returns (uint256 blockNumber, Result[] memory returnData) {
        blockNumber = block.number;
        returnData = new Result[](calls.length);
        for (uint256 i = 0; i < calls.length; i++) {
            (address target, uint256 gasLimit, bytes memory callData) = (
                calls[i].target,
                calls[i].gasLimit,
                calls[i].callData
            );
            uint256 gasLeftBefore = gasleft();
            (bool success, bytes memory ret) = target.call{gas: gasLimit}(callData);
            uint256 gasUsed = gasLeftBefore - gasleft();
            returnData[i] = Result(success, gasUsed, ret);
        }
    }
}

Settings
{
  "remappings": [
    "@layerzerolabs/=node_modules/@layerzerolabs/",
    "@layerzerolabs/lz-evm-protocol-v2/=node_modules/@layerzerolabs/lz-evm-protocol-v2/",
    "@openzeppelin-contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.1.0/",
    "@openzeppelin-contracts/contracts/=dependencies/@openzeppelin-contracts-5.1.0/",
    "@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.1.0/",
    "@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.1.0/",
    "erc4626-tests/=dependencies/erc4626-property-tests-1.0/",
    "forge-std/=dependencies/forge-std-1.9.4/src/",
    "permit2/=lib/permit2/",
    "@openzeppelin-3.4.2/=node_modules/@openzeppelin-3.4.2/",
    "@openzeppelin-contracts-5.1.0/=dependencies/@openzeppelin-contracts-5.1.0/",
    "@openzeppelin-contracts-upgradeable-5.1.0/=dependencies/@openzeppelin-contracts-upgradeable-5.1.0/",
    "@uniswap/=node_modules/@uniswap/",
    "base64-sol/=node_modules/base64-sol/",
    "erc4626-property-tests-1.0/=dependencies/erc4626-property-tests-1.0/",
    "eth-gas-reporter/=node_modules/eth-gas-reporter/",
    "forge-std-1.9.4/=dependencies/forge-std-1.9.4/src/",
    "hardhat/=node_modules/hardhat/",
    "solidity-bytes-utils/=node_modules/solidity-bytes-utils/",
    "solmate/=node_modules/solmate/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 300
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": true
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"getCurrentBlockTimestamp","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getEthBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"callData","type":"bytes"}],"internalType":"struct UniswapInterfaceMulticall.Call[]","name":"calls","type":"tuple[]"}],"name":"multicall","outputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"components":[{"internalType":"bool","name":"success","type":"bool"},{"internalType":"uint256","name":"gasUsed","type":"uint256"},{"internalType":"bytes","name":"returnData","type":"bytes"}],"internalType":"struct UniswapInterfaceMulticall.Result[]","name":"returnData","type":"tuple[]"}],"stateMutability":"nonpayable","type":"function"}]

0x60808060405234601557610448908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c9081630f28c97d14610344575080631749e1e31461007157634d2301cc1461003d575f80fd5b3461006d57602036600319011261006d576004356001600160a01b038116810361006d5760209031604051908152f35b5f80fd5b3461006d57602036600319011261006d5760043567ffffffffffffffff811161006d573660238201121561006d5780600401356100b56100b0826103b6565b610390565b916024602084848152019260051b8201019036821161006d5760248101925b828410610293578480516100ea6100b0826103b6565b908082526100fa601f19916103b6565b015f5b81811061026d5750505f5b82518110156101cc576001600160a01b0361012382856103ea565b515116905f80602061013584886103ea565b510151604061014485896103ea565b51015190825a9660208451940192f13d156101c5573d6101666100b0826103ce565b9081523d5f602083013e5b5a84039384116101b15760019361018661035c565b92151583526020830152604082015261019f82856103ea565b526101aa81846103ea565b5001610108565b634e487b7160e01b5f52601160045260245ffd5b6060610171565b506040518091604082014383526040602084015281518091526060830190602060608260051b8601019301915f905b82821061020a57505050500390f35b9193600191939550602060808192605f198a82030186528260408a5180511515845282810151838501520151606060408401528051918291826060860152018484015e5f838284010152601f8019910116010196019201920185949391926101fb565b60209061027861035c565b5f81525f8382015260606040820152828286010152016100fd565b833567ffffffffffffffff811161006d578201906060602319833603011261006d576102bd61035c565b9160248101356001600160a01b038116810361006d57835260448101356020840152606481013567ffffffffffffffff811161006d5760249101019036601f8301121561006d578135926103136100b0856103ce565b848152366020868601011161006d575f602086819782809801838601378301015260408201528152019301926100d4565b3461006d575f36600319011261006d57602090428152f35b604051906060820182811067ffffffffffffffff82111761037c57604052565b634e487b7160e01b5f52604160045260245ffd5b6040519190601f01601f1916820167ffffffffffffffff81118382101761037c57604052565b67ffffffffffffffff811161037c5760051b60200190565b67ffffffffffffffff811161037c57601f01601f191660200190565b80518210156103fe5760209160051b010190565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220f12fc7a37ad777fed3cf4bcdfac5baa34253535b76ac1077c4f987449bb267c264736f6c634300081c0033

Deployed Bytecode

0x6080806040526004361015610012575f80fd5b5f3560e01c9081630f28c97d14610344575080631749e1e31461007157634d2301cc1461003d575f80fd5b3461006d57602036600319011261006d576004356001600160a01b038116810361006d5760209031604051908152f35b5f80fd5b3461006d57602036600319011261006d5760043567ffffffffffffffff811161006d573660238201121561006d5780600401356100b56100b0826103b6565b610390565b916024602084848152019260051b8201019036821161006d5760248101925b828410610293578480516100ea6100b0826103b6565b908082526100fa601f19916103b6565b015f5b81811061026d5750505f5b82518110156101cc576001600160a01b0361012382856103ea565b515116905f80602061013584886103ea565b510151604061014485896103ea565b51015190825a9660208451940192f13d156101c5573d6101666100b0826103ce565b9081523d5f602083013e5b5a84039384116101b15760019361018661035c565b92151583526020830152604082015261019f82856103ea565b526101aa81846103ea565b5001610108565b634e487b7160e01b5f52601160045260245ffd5b6060610171565b506040518091604082014383526040602084015281518091526060830190602060608260051b8601019301915f905b82821061020a57505050500390f35b9193600191939550602060808192605f198a82030186528260408a5180511515845282810151838501520151606060408401528051918291826060860152018484015e5f838284010152601f8019910116010196019201920185949391926101fb565b60209061027861035c565b5f81525f8382015260606040820152828286010152016100fd565b833567ffffffffffffffff811161006d578201906060602319833603011261006d576102bd61035c565b9160248101356001600160a01b038116810361006d57835260448101356020840152606481013567ffffffffffffffff811161006d5760249101019036601f8301121561006d578135926103136100b0856103ce565b848152366020868601011161006d575f602086819782809801838601378301015260408201528152019301926100d4565b3461006d575f36600319011261006d57602090428152f35b604051906060820182811067ffffffffffffffff82111761037c57604052565b634e487b7160e01b5f52604160045260245ffd5b6040519190601f01601f1916820167ffffffffffffffff81118382101761037c57604052565b67ffffffffffffffff811161037c5760051b60200190565b67ffffffffffffffff811161037c57601f01601f191660200190565b80518210156103fe5760209160051b010190565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220f12fc7a37ad777fed3cf4bcdfac5baa34253535b76ac1077c4f987449bb267c264736f6c634300081c0033

Block Transaction Gas Used Reward
view all blocks ##produced##

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits

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.