ethers-multicall
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -10,7 +10,7 @@ "use strict"; | ||
var functionHash = ethers_1.ethers.utils.keccak256(ethers_1.ethers.utils.toUtf8Bytes(functionSignature)); | ||
var functionData = functionHash.substring(0, 8); | ||
var functionData = functionHash.substring(2, 10); | ||
var abiCoder = new ethers_1.ethers.utils.AbiCoder(); | ||
var argumentString = abiCoder.encode(inputs, params); | ||
var argumentData = argumentString.substring(2); | ||
var inputData = "" + functionData + argumentData; | ||
var inputData = "0x" + functionData + argumentData; | ||
return inputData; | ||
@@ -17,0 +17,0 @@ }; |
import { Contract } from './contract'; | ||
import { Provider } from './provider'; | ||
export { ContractCall } from './types'; | ||
import { ContractCall } from './types'; | ||
export { Contract, Provider, ContractCall }; | ||
declare const _default: { | ||
@@ -5,0 +6,0 @@ Contract: typeof Contract; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var contract_1 = require("./contract"); | ||
exports.Contract = contract_1.Contract; | ||
var provider_1 = require("./provider"); | ||
exports.Provider = provider_1.Provider; | ||
exports.default = { Contract: contract_1.Contract, Provider: provider_1.Provider }; |
{ | ||
"name": "ethers-multicall", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Make multiple Ethereum network requests in a single HTTP query. ethcall for ethers v5.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24555
575