UNPKG

@api3/contracts

Version:

Contracts through which API3 services are delivered

108 lines 4.21 kB
{ "name": "@api3/contracts", "description": "Contracts through which API3 services are delivered", "keywords": [ "api3", "data feed", "oracle", "oev" ], "license": "MIT", "version": "20.0.0", "engines": { "node": ">=20.17.9" }, "repository": { "type": "git", "url": "https://github.com/api3dao/contracts.git" }, "private": false, "main": "dist/src/index", "types": "dist/src/index", "files": [ "access", "api3-server-v1", "interfaces", "mock", "utils", "vendor", "dist" ], "bin": { "api3-contracts": "./dist/bin/cli.js" }, "devDependencies": { "@api3/eslint-plugin-commons": "^3.0.0", "@api3/promise-utils": "^0.4.0", "@changesets/cli": "^2.28.1", "@nomicfoundation/hardhat-chai-matchers": "^2.0.8", "@nomicfoundation/hardhat-ethers": "^3.0.8", "@nomicfoundation/hardhat-network-helpers": "^1.0.12", "@nomicfoundation/hardhat-toolbox": "^4.0.0", "@nomicfoundation/hardhat-verify": "^2.0.13", "@openzeppelin/merkle-tree": "^1.0.8", "@typechain/ethers-v6": "^0.5.1", "@typechain/hardhat": "^9.1.0", "@types/chai": "^4.3.20", "@types/jest": "^29.5.14", "@types/mocha": "^10.0.10", "@types/node": "^20.17.30", "@types/yargs": "^17.0.33", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "chai": "^4.5.0", "dotenv": "^16.4.7", "eslint": "^8.57.1", "glob": "^11.0.1", "hardhat": "^2.22.19", "hardhat-deploy": "^0.14.1", "hardhat-gas-reporter": "^2.2.2", "jest": "^29.7.0", "prettier": "^3.5.3", "prettier-plugin-solidity": "^1.4.2", "solhint": "^5.0.5", "solidity-coverage": "^0.8.14", "ts-jest": "^29.3.1", "ts-node": "^10.9.2", "typechain": "^8.3.2", "typescript": "^5.8.2" }, "dependencies": { "ethers": "^6.13.2", "viem": "^2.23.2", "yargs": "^17.7.2", "zod": "^3.24.2" }, "scripts": { "build": "pnpm build:hardhat && pnpm generate && pnpm check && tsc -p tsconfig.build.json", "build:hardhat": "hardhat --config hardhat.build.config.ts compile", "check": "pnpm check:chains && pnpm check:deployment-addresses && pnpm check:deployment-config && pnpm check:chain-support-order", "check:chains": "ts-node scripts/check-chains.ts", "check:deployment-addresses": "ts-node scripts/check-deployment-addresses.ts", "check:deployment-config": "ts-node scripts/check-deployment-config.ts", "check:chain-support-order": "ts-node scripts/check-chain-support-order.ts", "cli": "ts-node bin/cli.ts", "deploy:deterministic": "pnpm check:deployment-config && DETERMINISTIC=true hardhat deploy --network $NETWORK && pnpm generate:deployment-addresses", "deploy:undeterministic": "pnpm check:deployment-config && hardhat deploy --network $NETWORK && pnpm generate:deployment-addresses", "generate": "pnpm generate:chains && pnpm generate:dapps && pnpm generate:deployment-addresses", "generate:chains": "ts-node scripts/generate-chains.ts", "generate:dapps": "ts-node scripts/generate-dapps.ts", "generate:deployment-addresses": "ts-node scripts/generate-deployment-addresses.ts", "lint": "pnpm run prettier:check && pnpm run lint:eslint && pnpm run lint:solhint", "lint:solhint": "solhint ./contracts/**/*.sol", "lint:eslint": "eslint . --ext .js,.ts", "prettier:check": "prettier --check \"./**/*.{js,ts,md,json,sol}\"", "prettier": "prettier --write \"./**/*.{js,ts,md,json,sol}\"", "survey-roles": "hardhat run scripts/survey-roles.ts", "test": "pnpm test:hardhat && pnpm test:jest", "test:hardhat": "hardhat test --parallel", "test:hardhat:coverage": "hardhat coverage", "test:hardhat:extended": "EXTENDED_TEST=TRUE hardhat test --parallel", "test:hardhat:gas": "REPORT_GAS=TRUE hardhat test", "test:jest": "jest", "validate-deployments": "hardhat run scripts/validate-deployments.ts", "verify-deployments": "hardhat run scripts/verify-deployments.ts", "verify-vendor-contracts": "hardhat run scripts/verify-vendor-contracts.ts", "write-example-env-file": "hardhat run scripts/write-example-env-file.ts" } }