Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ethereum-multicall

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereum-multicall - npm Package Compare versions

Comparing version 2.16.0 to 2.16.1

11

dist/cjs/multicall.d.ts

@@ -1,2 +0,2 @@

import { AggregateCallContext, ContractCallContext, ContractCallOptions, ContractCallResults, MulticallOptionsCustomJsonRpcProvider, MulticallOptionsEthers, MulticallOptionsWeb3 } from './models';
import { ContractCallContext, ContractCallOptions, ContractCallResults, MulticallOptionsCustomJsonRpcProvider, MulticallOptionsEthers, MulticallOptionsWeb3 } from './models';
export declare class Multicall {

@@ -78,6 +78,5 @@ private _options;

* Build aggregate call context
* exposed as public as people can decide to use this outside multicall.call
* @param contractCallContexts The contract call contexts
*/
buildAggregateCallContext(contractCallContexts: ContractCallContext[]): AggregateCallContext[];
private buildAggregateCallContext;
/**

@@ -113,9 +112,5 @@ * Find output types from abi

* Map call contract to match contract format
* exposed as public as people can decide to use this outside multicall.call
* @param calls The calls context
*/
mapCallContextToMatchContractFormat(calls: AggregateCallContext[]): Array<{
target: string;
callData: string;
}>;
private mapCallContextToMatchContractFormat;
/**

@@ -122,0 +117,0 @@ * Get typed options

@@ -191,3 +191,2 @@ "use strict";

* Build aggregate call context
* exposed as public as people can decide to use this outside multicall.call
* @param contractCallContexts The contract call contexts

@@ -379,3 +378,2 @@ */

* Map call contract to match contract format
* exposed as public as people can decide to use this outside multicall.call
* @param calls The calls context

@@ -382,0 +380,0 @@ */

@@ -1,2 +0,2 @@

import { AggregateCallContext, ContractCallContext, ContractCallOptions, ContractCallResults, MulticallOptionsCustomJsonRpcProvider, MulticallOptionsEthers, MulticallOptionsWeb3 } from './models';
import { ContractCallContext, ContractCallOptions, ContractCallResults, MulticallOptionsCustomJsonRpcProvider, MulticallOptionsEthers, MulticallOptionsWeb3 } from './models';
export declare class Multicall {

@@ -78,6 +78,5 @@ private _options;

* Build aggregate call context
* exposed as public as people can decide to use this outside multicall.call
* @param contractCallContexts The contract call contexts
*/
buildAggregateCallContext(contractCallContexts: ContractCallContext[]): AggregateCallContext[];
private buildAggregateCallContext;
/**

@@ -113,9 +112,5 @@ * Find output types from abi

* Map call contract to match contract format
* exposed as public as people can decide to use this outside multicall.call
* @param calls The calls context
*/
mapCallContextToMatchContractFormat(calls: AggregateCallContext[]): Array<{
target: string;
callData: string;
}>;
private mapCallContextToMatchContractFormat;
/**

@@ -122,0 +117,0 @@ * Get typed options

@@ -188,3 +188,2 @@ var __assign = (this && this.__assign) || function () {

* Build aggregate call context
* exposed as public as people can decide to use this outside multicall.call
* @param contractCallContexts The contract call contexts

@@ -376,3 +375,2 @@ */

* Map call contract to match contract format
* exposed as public as people can decide to use this outside multicall.call
* @param calls The calls context

@@ -379,0 +377,0 @@ */

{
"name": "ethereum-multicall",
"version": "2.16.0",
"version": "2.16.1",
"description": "Multicall allows multiple smart contract constant function calls to be grouped into a single call and the results aggregated into a single result",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

@@ -6,3 +6,3 @@ [![npm version](https://badge.fury.io/js/ethereum-multicall.svg)](https://badge.fury.io/js/ethereum-multicall)

ethereum-multicall is a lightweight library for interacting with the [multicall](https://github.com/makerdao/multicall/blob/master/src/Multicall.sol) smart contract.
ethereum-multicall is a lightweight library for interacting with the [`Multicall3`](https://github.com/mds1/multicall) smart contract.

@@ -9,0 +9,0 @@ Multicall allows multiple smart contract constant function calls to be grouped into a single call and the results aggregated into a single result. This reduces the number of separate JSON RPC requests that need to be sent over the network if using a remote node like Infura, and provides the guarantee that all values returned are from the same block. The latest block number is also returned along with the aggregated results.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc