UNPKG

@api3/contracts

Version:

Contracts through which API3 services are delivered

112 lines 4.42 kB
{ "name": "@api3/contracts", "description": "Contracts through which API3 services are delivered", "keywords": [ "api3", "data feed", "oracle", "oev" ], "license": "MIT", "version": "38.0.1", "engines": { "node": ">=22.18.0" }, "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.1.1", "@api3/promise-utils": "^0.4.0", "@changesets/cli": "^2.31.0", "@nomicfoundation/hardhat-chai-matchers": "^2.1.2", "@nomicfoundation/hardhat-ethers": "^3.1.3", "@nomicfoundation/hardhat-network-helpers": "^1.1.2", "@nomicfoundation/hardhat-toolbox": "^6.1.2", "@nomicfoundation/hardhat-verify": "^2.1.3", "@openzeppelin/merkle-tree": "^1.0.8", "@typechain/ethers-v6": "^0.5.1", "@typechain/hardhat": "^9.1.0", "@types/chai": "^4.3.20", "@types/jest": "^30.0.0", "@types/mocha": "^10.0.10", "@types/node": "^22.17.1", "@types/yargs": "^17.0.35", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "chai": "^4.5.0", "dotenv": "^16.6.1", "eslint": "^8.57.1", "glob": "^11.1.0", "hardhat": "^2.28.6", "hardhat-deploy": "^1.0.4", "hardhat-gas-reporter": "^2.3.0", "keycard-hardhat-provider": "^0.1.4", "jest": "^30.3.0", "prettier": "^3.8.3", "prettier-plugin-solidity": "^2.3.1", "solhint": "^5.2.0", "solidity-coverage": "^0.8.17", "ts-jest": "^29.4.9", "ts-node": "^10.9.2", "typechain": "^8.3.2", "typescript": "^5.9.3" }, "dependencies": { "ethers": "^6.16.0", "viem": "^2.48.1", "yargs": "^17.7.2", "zod": "^4.3.6" }, "scripts": { "build": "pnpm check && pnpm build:hardhat && pnpm generate && tsc -p tsconfig.build.json", "build:hardhat": "hardhat --config hardhat.build.config.ts compile", "check": "pnpm check:chains && pnpm check:chain-support && pnpm check:deployment-addresses && pnpm check:example-env-file && pnpm check:dapps", "check:chain-support": "ts-node scripts/check-chain-support.ts", "check:chains": "ts-node scripts/check-chains.ts", "check:dapps": "ts-node scripts/check-dapps.ts", "check:deployment-addresses": "ts-node scripts/check-deployment-addresses.ts", "check:example-env-file": "ts-node scripts/check-example-env-file.ts", "cli": "ts-node bin/cli.ts", "deploy:hardhat": "hardhat deploy", "deploy:deterministic": "pnpm check:chain-support && DETERMINISTIC=true hardhat deploy --network $NETWORK && pnpm generate:deployment-addresses", "deploy:undeterministic": "pnpm check:chain-support && 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", "generate:example-env-file": "hardhat run scripts/generate-example-env-file.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-verification-api": "ts-node scripts/validate-verification-api.ts", "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" } }