Skip to content

This monorepository contains packages with smart contracts source code, deploy tools and deploy configurations, dev frontend and integration tests

License

Notifications You must be signed in to change notification settings

eq-lab/marginly

Repository files navigation

Logo

What is Marginly ?

Marginly is a decentralized lending protocol that allows users to take up to 20x leveraged long and short positions on crypto-assets

For the initial version of Marginly we want to keep it simple and prove a concept of the protocol and its efficiency. Marginly v1 will be limited to one uniswap pool per blockchain. The team will aim to scale the protocol across all of the blockchain networks where the Uniswap v3 protocol is currently present, so one might expect to see following network and pools appear inside the protocol relatively fast.

Visit https://docs.marginly.com for more information

Repository overview

This monorepository contains packages with smart contracts source code, deploy tools and deploy configurations, dev frontend and integration tests

contracts

Smart contracts of the Marginly pool. It uses Hardhat for development environment for compilation and unit-testing. More information

router

Smart contracts of the router. It uses Hardhat for development environment for compilation and unit-testing. More information

cli

The command line interface for deploying smart contracts. More information how to deploy

deploy

The package contains library for deploying smart contracts and deploy configuration.

int-tests

This package contains integration tests. It create mainnet fork for every test and uses Ganache as a network emulator. More information

frontend

The package contains simple frontend interacting with the protocol smart contracts and also scripts to run network with test accounts. More information

Licensing

The primary license for Marginly protocol is the Business Source License 1.1 (BUSL-1.1).

All files in folders contracts/dataTypes and contracts/interfaces licensed under GNU General Public License v2.0 (GNU GPL 2.0).

Files in folder contracts/libraries licensed under GNU General Public License v2.0 (GNU GPL 2.0), Business Source License 1.1 (BUSL-1.1) and MIT License (MIT)

About

This monorepository contains packages with smart contracts source code, deploy tools and deploy configurations, dev frontend and integration tests

Topics

Resources

License

Stars

Watchers

Forks

Packages