Contract 0x7a524c7e82874226F0b51aade60A1BE4D430Cf0F 3

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x515f8e500cfb499e4caa4ac5653ffb38de83c0a38da565905ade2ef3b48c47470x6080604047657522022-09-23 11:39:1768 days 19 hrs ago0x297f220cb2bedc2b52edb0a4a13f8cbebbb535eb IN  Create: MultiContractCall0 CRO1.5665989261720
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MultiContractCall

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : MultiContractCall.sol
//  SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

contract MultiContractCall {
    function multicall(address[] calldata contracts, bytes[] calldata data) external payable returns (bool[] memory successes, bytes[] memory results) {
        successes = new bool[](data.length);
        results = new bytes[](data.length);
        for (uint256 i = 0; i < data.length; i++) {
            (bool success, bytes memory result) = contracts[i].call(data[i]);
            successes[i] = success;
            results[i] = result;
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"contracts","type":"address[]"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bool[]","name":"successes","type":"bool[]"},{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"payable","type":"function"}]

608060405234801561001057600080fd5b506104ce806100206000396000f3fe60806040526004361061001e5760003560e01c806363fb0b9614610023575b600080fd5b6100366100313660046102e3565b61004d565b60405161004492919061035c565b60405180910390f35b6060808267ffffffffffffffff81111561007757634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156100a0578160200160208202803683370190505b5091508267ffffffffffffffff8111156100ca57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156100fd57816020015b60608152602001906001900390816100e85790505b50905060005b838110156102545760008088888481811061012e57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061014391906102a8565b73ffffffffffffffffffffffffffffffffffffffff1687878581811061017957634e487b7160e01b600052603260045260246000fd5b905060200281019061018b919061042c565b60405161019992919061034c565b6000604051808303816000865af19150503d80600081146101d6576040519150601f19603f3d011682016040523d82523d6000602084013e6101db565b606091505b50915091508185848151811061020157634e487b7160e01b600052603260045260246000fd5b6020026020010190151590811515815250508084848151811061023457634e487b7160e01b600052603260045260246000fd5b60200260200101819052505050808061024c90610471565b915050610103565b5094509492505050565b60008083601f84011261026f578182fd5b50813567ffffffffffffffff811115610286578182fd5b6020830191508360208260051b85010111156102a157600080fd5b9250929050565b6000602082840312156102b9578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146102dc578182fd5b9392505050565b600080600080604085870312156102f8578283fd5b843567ffffffffffffffff8082111561030f578485fd5b61031b8883890161025e565b90965094506020870135915080821115610333578384fd5b506103408782880161025e565b95989497509550505050565b8183823760009101908152919050565b604080825283519082018190526000906020906060840190828701845b82811015610397578151151584529284019290840190600101610379565b50505083810382850152845180825282820190600581901b83018401878501865b8381101561041d57601f1980878503018652825180518086528a5b818110156103ee578281018b01518782018c01528a016103d3565b818111156103fe578b8b83890101525b5096890196601f019091169390930187019250908601906001016103b8565b50909998505050505050505050565b6000808335601e19843603018112610442578283fd5b83018035915067ffffffffffffffff82111561045c578283fd5b6020019150368190038213156102a157600080fd5b600060001982141561049157634e487b7160e01b81526011600452602481fd5b506001019056fea2646970667358221220f7d6be4f2166d843edd725f3963102164f5da4130a92e1a44e82418d5b18cb5f64736f6c63430008040033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.