ethers-multicall
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -9,3 +9,3 @@ "use strict"; | ||
var functionSignature = getFunctionSignature(name, inputs); | ||
var functionHash = ethers_1.ethers.utils.keccak256(functionSignature); | ||
var functionHash = ethers_1.ethers.utils.keccak256(ethers_1.ethers.utils.toUtf8Bytes(functionSignature)); | ||
var functionData = functionHash.substring(0, 8); | ||
@@ -15,3 +15,3 @@ var abiCoder = new ethers_1.ethers.utils.AbiCoder(); | ||
var argumentData = argumentString.substring(2); | ||
var inputData = "0x" + functionData + argumentData; | ||
var inputData = "" + functionData + argumentData; | ||
return inputData; | ||
@@ -18,0 +18,0 @@ }; |
@@ -1,3 +0,8 @@ | ||
export * from './contract'; | ||
export * from './provider'; | ||
export * from './types'; | ||
import { Contract } from './contract'; | ||
import { Provider } from './provider'; | ||
export { ContractCall } from './types'; | ||
declare const _default: { | ||
Contract: typeof Contract; | ||
Provider: typeof Provider; | ||
}; | ||
export default _default; |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./contract")); | ||
__export(require("./provider")); | ||
var contract_1 = require("./contract"); | ||
var provider_1 = require("./provider"); | ||
exports.default = { Contract: contract_1.Contract, Provider: provider_1.Provider }; |
{ | ||
"name": "ethers-multicall", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"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
24427
572