Skip to content

Liquidity Pools enable seamless deployment of Centrifuge RWA pools on any EVM-compatible blockchain.

License

Notifications You must be signed in to change notification settings

sphinx-labs/liquidity-pools

 
 

Repository files navigation

Liquidity Pools Github Actions Foundry License: AGPL v3

Liquidity Pools enable seamless deployment of Centrifuge RWA pools on any EVM-compatible blockchain.

How it works

Architecture

Investors can invest in multiple tranches for each RWA pool. Each of these tranches is a separate deployment of a Liquidity Pool and a Tranche Token.

The deployment of these tranches and the management of investments is controlled by the underlying InvestmentManager, TokenManager, Gateway, and Routers.

  • Investment Manager: The core business logic contract that handles pool creation, tranche deployment, managing investments and sending tokens to the Escrow and UserEscrow, and more.
  • Pool Manager: The second business logic contract that handles currency bookkeeping, and transferring tranche tokens as well as currencies.
  • Gateway: Intermediary contract that encodes and decodes messages using Messages and handles routing to/from Centrifuge.
  • Routers: Contracts that handle communication of messages to and from Centrifuge Chain.

Developing

Getting started

git clone [email protected]:centrifuge/liquidity-pools.git
cd liquidity-pools
forge update

Testing

To run all tests locally:

forge test

Audit reports

Auditor Report link
Code4rena September 2023 - Code4rena Report
SRLabs September 2023 - SRLabs Report
Spearbit October 2023 - Cantina Managed Report

License

This codebase is licensed under GNU Lesser General Public License v3.0.

About

Liquidity Pools enable seamless deployment of Centrifuge RWA pools on any EVM-compatible blockchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 99.5%
  • Shell 0.5%