This repository contains the smart contracts for the Velodrome Superchain Slipstream. It is adapted from the original Slipstream contracts for use on the Velodrome Superchain.
See SPECIFICATION.md
for more information. See the original Slipstream repository for more information about Slipstream.
This repository is a hybrid hardhat and foundry repository.
Install hardhat dependencies with yarn install
.
Install foundry dependencies with forge install
.
Run hardhat tests with yarn test
.
Run forge tests with forge test
.
To run the invariant tests, echidna must be installed. The following instructions require additional installations (e.g. of solc-select).
echidna test/invariants/E2E_mint_burn.sol --config test/invariants/E2E_mint_burn.config.yaml --contract E2E_mint_burn
echidna test/invariants/E2E_swap.sol --config test/invariants/E2E_swap.config.yaml --contract E2E_swap
See script/README.md
for deployment instructions.
This project follows the Apache Foundation guideline for licensing. See LICENSE and NOTICE files.
Velodrome has a live bug bounty hosted on (Immunefi).
Chain | Addresses | Deployment Commit |
---|---|---|
Optimism | Addresses | v1.0 |
Mode | Addresses | v1.0 |
Lisk | Addresses | v1.0 |
Fraxtal | Addresses | v1.0 |
See the main Superchain repository for the core root contracts.