Skip to content

velodrome-finance/slipstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,144 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slipstream

This repository contains the smart contracts for the Slipstream Concentrated Liquidity contracts. It contains the core concentrated liquidity contracts, adapted from UniswapV3's core contracts. It contains the higher level periphery contracts, adapted from UniswapV3's periphery contracts. It also contains gauges designed to operate within the Velodrome ecosystem.

See SPECIFICATION.md and CHANGELOG.md for more information.

Installation

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.

Testing

Invariants

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

Licensing

This project follows the Apache Foundation guideline for licensing. See LICENSE and NOTICE files.

Bug Bounty

Velodrome has a live bug bounty hosted on (Immunefi).

Deployment

Name Address
GaugeFactory 0x327147eE440252b893A771345025B41A267Ad985
GaugeImplementation 0x7155b84A704F0657975827c65Ff6fe42e3A962bb
MixedQuoter 0xFF79ec912bA114FD7989b9A2b90C65f0c1b44722
NonfungiblePositionManager 0x416b433906b1B72FA758e166e239c43d68dC6F29
NonfungibleTokenPositionDescriptor 0xccDf417f49a14bC2b23c71684de0304C56DEA165
PoolFactory 0xCc0bDDB707055e04e497aB22a59c2aF4391cd12F
PoolImplementation 0xc28aD28853A547556780BEBF7847628501A3bCbb
QuoterV2 0x89D8218ed5fF1e46d8dcd33fb0bbeE3be1621466
CustomSwapFeeModule 0x7361E9079920fb75496E9764A2665d8ee5049D5f
CustomUnstakedFeeModule 0xC565F7ba9c56b157Da983c4Db30e13F5f06C59D9
Swap Router 0x0792a633F0c19c351081CF4B211F68F79bCc9676
LpMigrator 0x3Fdb481B25b24824A2339a4A1AbD0B0BC7534e71

Gauges V2

Name Address
DynamicSwapFeeModule 0xbf571c205f45d29a99a9B5f0485E131D7E943f1c
GaugeFactory 0x9b23957290d8e4709fb1E1512EDc29E17C17DC99
GaugeImplementation 0xb5f7bd1C65437F789b62CBE98eF16cd9f1fc4b26
LpMigrator 0xeE03E08107755BC34412E78377B971ECc7153590
MixedQuoter 0x21fcc0C421Ae0a5F6919535EcF000688a0413b92
MixedQuoterV2 0xE5Db7C27a2C3DAcC1678a080aA3B4cC75F36329C
MixedQuoterV3 0xAf6EBdf4c70061C5961994Ae9c9956fBc2bCC32E
NonfungiblePositionManager 0xf7f8ccce99Ca2896eC75D3A399D152dB96808399
NonfungibleTokenPositionDescriptor 0xe5e47ac4b5389cf4A2df66315d57F4f62Ae80f9f
PoolFactory 0xe13Dd1fbA721Aa81a1826D9523AC9BC7d260c879
PoolImplementation 0x11B234946F28A3905710922138C65FBbe7496b4C
Quoter 0xAd432b2ca49965266133F2bd4c17dc1Ec12f5DEB
SwapRouter 0xbA3aEe516399388C779463183d00bB579f5041Ca
UnstakedFeeModule 0x2B2A6209f813b360E0D8a006c73477D56e7a7f16

About

Velodrome Finance Concentrated Liquidity Contracts

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.GPL3
MIT
LICENSE.MIT

Stars

Watchers

Forks

Packages

 
 
 

Contributors