@hifi/amm

v1.10.0
Dedicated AMM for market-making hTokens
amm blockchain decentralized-finance ethereum hifi smart-contracts solidity

build:types

yarn prepare:types && tsc --project ./tsconfig.prod.json

clean

shx rm -rf ./artifacts ./cache ./coverage ./coverage.json ./dist ./docs ./tsconfig.prod.tsbuildinfo

clean:node_modules

shx rm -rf ./node_modules

compile:sol

cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile

coverage

cross-env CODE_COVERAGE=true hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles "test/**/*.ts"

generate:docs

hardhat docgen && yarn prettier

generate:types

cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain

lint

yarn lint:sol && yarn lint:ts && yarn prettier:check

lint:sol

solhint --config ../../.solhint.json --ignore-path ../../.solhintignore --max-warnings 0 "contracts/**/*.sol"

lint:ts

eslint --config ../../.eslintrc.yaml --ignore-path ../../.eslintignore --ext .js,.ts .

prepack

yarn build:types

prepare:types

yarn hardhat prepare-package

prettier

prettier --config ../../.prettierrc.js --ignore-path ../../.prettierignore --write "**/*.{js,json,md,sol,ts}"

prettier:check

prettier --check --config ../../.prettierrc.js --ignore-path ../../.prettierignore "**/*.{js,json,md,sol,ts}"

test

hardhat test

test:integration

hardhat test ./test/integration --network hardhat

test:unit

hardhat test ./test/unit --network hardhat
npm i @hifi/[email protected]

Metadata

Downloads

Maintainers