Skip to content

Commit

Permalink
fix: only make ABI public
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstevens19 committed Mar 19, 2023
1 parent f8be2dc commit bf7d562
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"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",
"main": "dist/cjs/index.js",
"module": "./dist/esm/index.js",
Expand Down
6 changes: 2 additions & 4 deletions src/multicall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,9 @@ export class Multicall {

/**
* Build aggregate call context
* exposed as public as people can decide to use this outside multicall.call
* @param contractCallContexts The contract call contexts
*/
public buildAggregateCallContext(
private buildAggregateCallContext(
contractCallContexts: ContractCallContext[]
): AggregateCallContext[] {
const aggregateCallContext: AggregateCallContext[] = [];
Expand Down Expand Up @@ -512,10 +511,9 @@ export class Multicall {

/**
* 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
*/
public mapCallContextToMatchContractFormat(
private mapCallContextToMatchContractFormat(
calls: AggregateCallContext[]
): Array<{
target: string;
Expand Down

0 comments on commit bf7d562

Please sign in to comment.