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
This monorepository contains packages with smart contracts source code, deploy tools and deploy configurations, dev frontend and integration tests
Smart contracts of the Marginly pool. It uses Hardhat for development environment for compilation and unit-testing. More information
Smart contracts of the router. It uses Hardhat for development environment for compilation and unit-testing. More information
The command line interface for deploying smart contracts. More information how to deploy
The package contains library for deploying smart contracts and deploy configuration.
This package contains integration tests. It create mainnet fork for every test and uses Ganache as a network emulator. More information
The package contains simple frontend interacting with the protocol smart contracts and also scripts to run network with test accounts. More information
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)