1.1.27 • Published 2 years ago

@vanilladefi/trade-contracts v1.1.27

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

Vanilla Contracts v1.1

This repository contains the core smart contracts for Vanilla. For documentation, see the technical overview of the contracts.

Install Yarn

We use Yarn instead of npm.

curl --compressed -o- -L https://yarnpkg.com/install.sh | bash

Build and Test

We use Hardhat as a build tool.

On first yarn install the typechain generation will fail, as the contracts aren't built on postinstall. Just run

To build, yarn install, build contracts with yarn run compile:sol, generate Typechain bindings with yarn run generate:typechain, and run model tests:

yarn install
yarn run compile:sol
yarn run generate:typechain
yarn test

To run coverage reports

yarn run coverage:sol

Lint and reformat

We use ESLint for JS/TS code and Prettier for Solidity code.

To run lint checks:

yarn run lint:js
yarn run lint:sol

To reformat / prettify:

yarn run format:js
yarn run format:sol

Deployment

We use Hardhat also for all deployments. See DEPLOYMENT.md for detailed instructions.

License

All source code is licensed under GPL-3.0-or-later except:

1.1.27

2 years ago

1.1.26

2 years ago

1.1.25

2 years ago

1.1.24

2 years ago

1.1.23

2 years ago

1.1.22

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago