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.11.0 to 2.12.0

0

dist/cjs/__TEST-SCRIPT__/playground.d.ts
export {};

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare enum ExecutionType {

@@ -0,0 +0,0 @@ "use strict";

export { ExecutionType } from './execution-type';
export { Networks } from './networks';

@@ -0,0 +0,0 @@ "use strict";

2

dist/cjs/enums/networks.d.ts

@@ -6,4 +6,6 @@ export declare enum Networks {

goerli = 5,
optimism = 10,
kovan = 42,
bsc = 56,
kovanOptimism = 69,
bsc_testnet = 97,

@@ -10,0 +12,0 @@ xdai = 100,

@@ -10,4 +10,6 @@ "use strict";

Networks[Networks["goerli"] = 5] = "goerli";
Networks[Networks["optimism"] = 10] = "optimism";
Networks[Networks["kovan"] = 42] = "kovan";
Networks[Networks["bsc"] = 56] = "bsc";
Networks[Networks["kovanOptimism"] = 69] = "kovanOptimism";
Networks[Networks["bsc_testnet"] = 97] = "bsc_testnet";

@@ -14,0 +16,0 @@ Networks[Networks["xdai"] = 100] = "xdai";

export { CallReturnContext, ContractCallContext, ContractCallResults, ContractCallReturnContext, } from './models';
export * from './models/multicall-options';
export { Multicall } from './multicall';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface AbiInput {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { AbiInput } from './abi-input';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export interface AbiOutput {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export interface AggregateCallContext {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { BigNumber } from 'ethers/lib/ethers';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export interface AggregateResponse {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export interface CallContext {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { CallContext } from './call-context';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { CallContext } from './call-context';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { ContractCallReturnContext } from './contract-call-return-context';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { CallReturnContext } from './call-return-context';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export { AbiInput } from './abi-input';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Provider } from '@ethersproject/providers';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { ContractCallContext, ContractCallResults, MulticallOptionsCustomJsonRpcProvider, MulticallOptionsEthers, MulticallOptionsWeb3 } from './models';

@@ -489,2 +489,6 @@ "use strict";

return '0x5c41f6817feeb65d7b2178b0b9cebfc8fad97969';
case enums_1.Networks.optimism:
return '0xeAa6877139d436Dc6d1f75F3aF15B74662617B2C';
case enums_1.Networks.kovanOptimism:
return '0x91c88479F21203444D2B20Aa001f951EC8CF2F68';
default:

@@ -491,0 +495,0 @@ throw new Error("Network - " + network + " doesn't have a multicall contract address defined. Please check your network or deploy your own contract on it.");

@@ -0,0 +0,0 @@ export declare class Utils {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -0,0 +0,0 @@ export declare enum ExecutionType {

@@ -0,0 +0,0 @@ export var ExecutionType;

export { ExecutionType } from './execution-type';
export { Networks } from './networks';
export { ExecutionType } from './execution-type';
export { Networks } from './networks';

@@ -6,4 +6,6 @@ export declare enum Networks {

goerli = 5,
optimism = 10,
kovan = 42,
bsc = 56,
kovanOptimism = 69,
bsc_testnet = 97,

@@ -10,0 +12,0 @@ xdai = 100,

@@ -7,4 +7,6 @@ export var Networks;

Networks[Networks["goerli"] = 5] = "goerli";
Networks[Networks["optimism"] = 10] = "optimism";
Networks[Networks["kovan"] = 42] = "kovan";
Networks[Networks["bsc"] = 56] = "bsc";
Networks[Networks["kovanOptimism"] = 69] = "kovanOptimism";
Networks[Networks["bsc_testnet"] = 97] = "bsc_testnet";

@@ -11,0 +13,0 @@ Networks[Networks["xdai"] = 100] = "xdai";

export { CallReturnContext, ContractCallContext, ContractCallResults, ContractCallReturnContext, } from './models';
export * from './models/multicall-options';
export { Multicall } from './multicall';
export * from './models/multicall-options';
export { Multicall } from './multicall';

@@ -0,0 +0,0 @@ export interface AbiInput {

@@ -0,0 +0,0 @@ import { AbiInput } from './abi-input';

@@ -0,0 +0,0 @@ export interface AbiOutput {

@@ -0,0 +0,0 @@ export interface AggregateCallContext {

@@ -0,0 +0,0 @@ import { BigNumber } from 'ethers/lib/ethers';

@@ -0,0 +0,0 @@ export interface AggregateResponse {

@@ -0,0 +0,0 @@ export interface CallContext {

@@ -0,0 +0,0 @@ import { CallContext } from './call-context';

@@ -0,0 +0,0 @@ import { CallContext } from './call-context';

@@ -0,0 +0,0 @@ import { ContractCallReturnContext } from './contract-call-return-context';

@@ -0,0 +0,0 @@ import { CallReturnContext } from './call-return-context';

@@ -0,0 +0,0 @@ export { AbiInput } from './abi-input';

export * from './multicall-options';

@@ -0,0 +0,0 @@ import { Provider } from '@ethersproject/providers';

@@ -0,0 +0,0 @@ import { ContractCallContext, ContractCallResults, MulticallOptionsCustomJsonRpcProvider, MulticallOptionsEthers, MulticallOptionsWeb3 } from './models';

@@ -486,2 +486,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

return '0x5c41f6817feeb65d7b2178b0b9cebfc8fad97969';
case Networks.optimism:
return '0xeAa6877139d436Dc6d1f75F3aF15B74662617B2C';
case Networks.kovanOptimism:
return '0x91c88479F21203444D2B20Aa001f951EC8CF2F68';
default:

@@ -488,0 +492,0 @@ throw new Error("Network - " + network + " doesn't have a multicall contract address defined. Please check your network or deploy your own contract on it.");

@@ -0,0 +0,0 @@ export declare class Utils {

@@ -0,0 +0,0 @@ var Utils = /** @class */ (function () {

2

package.json
{
"name": "ethereum-multicall",
"version": "2.11.0",
"version": "2.12.0",
"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",

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

- harmony (shard 0)
- optimism
- kovanOptimism
- custom network with your own instance of multicall deployed

@@ -489,2 +491,4 @@

| harmony | `0x5c41f6817feeb65d7b2178b0b9cebfc8fad97969` |
| optimism | `0xeAa6877139d436Dc6d1f75F3aF15B74662617B2C` |
| kovanOptimism | `0x91c88479F21203444D2B20Aa001f951EC8CF2F68` |

@@ -491,0 +495,0 @@ If you wanted this to point at a different multicall contract address just pass that in the options when creating the multicall instance, example:

Sorry, the diff of this file is not supported yet

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