Uniswap-like dex protocol that allow a better incentivization for liquidity providers. This repo includes an SDEX pool (rewards comes from the dex) and farming capabilities (rewards requires external income source).
See the link to the technical paper or visit the Smardex Developer docs
- https://www.academia.edu/98332701/The_SMARDEX_Protocol_A_Novel_Solution_to_Impermanent_Loss_in_Decentralized_Finance
- https://docs.smardex.io
To install Foundry, run the following commands in your terminal:
curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
foundryupTo install existing dependencies, run the following commands:
forge soldeer install
npm installIf using nix, the repository provides a development shell in the form of a flake.
The devshell can be activated with the nix develop command.
To automatically activate the dev shell when opening the workspace, install direnv
(available on nixpkgs) and run the following command inside this folder:
direnv allowforge compile
For comprehensive details on Foundry, refer to the Foundry book.
Implemented by Stéphane Ballmer, Paul-Alexandre Tessier, Côme Pecorari, Léo Fasano, Yoan Capron, Sami Darnaud
The primary license for Smardex is the Business Source License 1.1 (BUSL-1.1), see LICENSE. However, smart-contract files imported from other projects do respect their original license (GPL-3, GPL-2, MIT, ...)
- All files under
peripheryare GPL-2 - All files under
coreexceptcore/libraries/SmardexLibrary.solare GPL-2 contracts/rewards/FarmingRange.solis licensed under MIT, fork from Alpaca Finance