Contract

0x420cCd7EAe052ACcE288fF46583167ff6138bDc9

Overview
0.0000 Trust Bitcoin
$0.0000
More Info
 
Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : Multicall.sol

// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Multicall { struct Call { address target; bytes callData; } function aggregate(Call[] calldata calls) public view returns (bytes[] memory returnData) { returnData = new bytes[](calls.length); for (uint i = 0; i < calls.length; i++) { (bool success, bytes memory ret) = calls[i].target.staticcall(calls[i].callData); require(success, "Multicall aggregate: call failed"); returnData[i] = ret; } } }
ABI Code (Solidity Standard Json-Input format)

File 1 of 1 : ABI.json

[ { "inputs": [ { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "callData", "type": "bytes" } ], "internalType": "struct Multicall.Call[]", "name": "calls", "type": "tuple[]" } ], "name": "aggregate", "outputs": [ { "internalType": "bytes[]", "name": "returnData", "type": "bytes[]" } ], "stateMutability": "view", "type": "function" } ]
Contract Creation Code
0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063252dba4214610030575b600080fd5b61004361003e36600461023e565b610059565b60405161005091906102bd565b60405180910390f35b60608167ffffffffffffffff81111561008257634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156100b557816020015b60608152602001906001900390816100a05790505b50905060005b82811015610209576000808585848181106100e657634e487b7160e01b600052603260045260246000fd5b90506020028101906100f891906103d5565b610106906020810190610210565b6001600160a01b031686868581811061012f57634e487b7160e01b600052603260045260246000fd5b905060200281019061014191906103d5565b61014f906020810190610389565b60405161015d9291906102ad565b600060405180830381855afa9150503d8060008114610198576040519150601f19603f3d011682016040523d82523d6000602084013e61019d565b606091505b5091509150816101c85760405162461bcd60e51b81526004016101bf90610354565b60405180910390fd5b808484815181106101e957634e487b7160e01b600052603260045260246000fd5b602002602001018190525050508080610201906103f4565b9150506100bb565b5092915050565b600060208284031215610221578081fd5b81356001600160a01b0381168114610237578182fd5b9392505050565b60008060208385031215610250578081fd5b823567ffffffffffffffff80821115610267578283fd5b818501915085601f83011261027a578283fd5b813581811115610288578384fd5b866020808302850101111561029b578384fd5b60209290920196919550909350505050565b6000828483379101908152919050565b6000602080830181845280855180835260408601915060408482028701019250838701855b8281101561034757878503603f1901845281518051808752885b81811015610317578281018901518882018a015288016102fc565b81811115610327578989838a0101525b50601f01601f1916959095018601945092850192908501906001016102e2565b5092979650505050505050565b6020808252818101527f4d756c746963616c6c206167677265676174653a2063616c6c206661696c6564604082015260600190565b6000808335601e1984360301811261039f578283fd5b83018035915067ffffffffffffffff8211156103b9578283fd5b6020019150368190038213156103ce57600080fd5b9250929050565b60008235603e198336030181126103ea578182fd5b9190910192915050565b600060001982141561041457634e487b7160e01b81526011600452602481fd5b506001019056fea26469706673582212200785270e02f0387f7593a61e1a8192c982526ab4fe4502a0519ab8bbde24f6f264736f6c63430008000033
1. aggregate

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met.