UNPKG

@morpho-labs/ethers-multicall

Version:

⚡🚀 Call multiple view functions, from multiple Smart Contracts, in a single RPC query!

154 lines (153 loc) 3.85 kB
{ "name": "@morpho-labs/ethers-multicall", "version": "3.0.4", "description": "⚡🚀 Call multiple view functions, from multiple Smart Contracts, in a single RPC query!", "main": "lib/index.js", "files": [ "lib/**/*" ], "scripts": { "build": "tsc --build ./tsconfig.build.json", "clean": "rm -rf ./lib/", "cm": "cz", "lint": "eslint ./src --fix", "prepare": "husky install", "test:watch": "jest --watch", "test": "jest --coverage", "typecheck": "tsc --noEmit", "type:multicall": "typechain --target ethers-v5 --out-dir src/contracts 'src/abis/*.json'" }, "repository": { "type": "git", "url": "git+https://github.com/morpho-labs/ethers-multicall.git" }, "license": "MIT", "author": { "name": "Romain (Rubilmax) Milon", "email": "rmilon@gmail.com", "url": "https://github.com/rubilmax" }, "engines": { "node": ">=12.0" }, "keywords": [ "ethers", "multicall", "rpc", "call", "evm", "smart contract" ], "bugs": { "url": "https://github.com/morpho-labs/ethers-multicall/issues" }, "homepage": "https://github.com/morpho-labs/ethers-multicall#readme", "dependencies": { "dataloader": "^2.2.2", "ethers": "^5.0.0" }, "devDependencies": { "@ethersproject/abi": "^5.0.0", "@ethersproject/providers": "^5.0.0", "@trivago/prettier-plugin-sort-imports": "^4.0.0", "@typechain/ethers-v5": "^10.2.0", "@types/jest": "^27.5.2", "@types/lodash": "^4.14.191", "@typescript-eslint/eslint-plugin": "^5.53.0", "@typescript-eslint/parser": "^5.53.0", "commitizen": "^4.3.0", "conventional-changelog-conventionalcommits": "^5.0.0", "cz-conventional-changelog": "^3.3.0", "dotenv": "^16.0.3", "eslint": "^8.34.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.3", "jest": "^29.4.3", "lint-staged": "^10.5.4", "lodash": "^4.17.21", "prettier": "^2.8.4", "ts-jest": "^29.0.5", "typechain": "^8.1.1", "typescript": "^4.9.5" }, "peerDependencies": { "@ethersproject/abi": "^5.0.0", "@ethersproject/providers": "^5.0.0", "ethers": "^5.0.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "publishConfig": { "access": "public" }, "lint-staged": { "*.ts": "eslint --cache --cache-location .eslintcache --fix" }, "release": { "branches": [ "main" ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits", "releaseRules": [ { "type": "build", "scope": "deps", "release": "patch" } ] } ], [ "@semantic-release/release-notes-generator", { "preset": "conventionalcommits", "presetConfig": { "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "build", "section": "Dependencies and Other Build Updates", "hidden": false } ] } } ], "@semantic-release/npm", "@semantic-release/github" ] }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "testMatch": [ "**/test/**/*.spec.ts" ], "collectCoverageFrom": [ "<rootDir>/src/**/*.ts", "!<rootDir>/src/types/**/*.ts" ], "globals": { "ts-jest": { "diagnostics": false, "isolatedModules": true } } } }