everlend / everlend

Home Page:everlend.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Everlend

Everlend is a lending aggregator and optimizer. Get the best rates on your liquidity loans, always.

Flow

diagram

Programs

Name Description
depositor Program responsible for rebalance - moving liquidity between General Pool and money markets.
liquidity oracle Oracle that stores token distribution data and is used by depositor for rebalance
registry Program that stores registry config - a data like program ids and some protocol-wise configs
universal liquidity pool A basic solana pool to deposit spl token and get minted a collateral token instead
general pool An extended ulp, used to deposit and withdraw liquidity by protocol users
income pools A pool to store income obtained from MM by the protocol

Running tests

RUST_LOG=solana=debug cargo test-bpf --test ...

Run individual test

cargo test-bpf ./general_pool -- test tests general_pool::deposit::success --exact
Create required accounts
RUST_LOG=solana=debug cargo run create --mints SOL
Run tests
RUST_LOG=solana=debug cargo run test full

About

everlend.vercel.app

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%