Skip to content

Latest commit

 

History

History
124 lines (85 loc) · 5.48 KB

README.md

File metadata and controls

124 lines (85 loc) · 5.48 KB
description
Technical Design Overview

Contracts

LISA is deployed and functioning within the Stacks blockchain network. This document aims to serve both as an index and an overarching overview of the LISA on-chain ecosystem.

Governance

At the top of the on-chain architecture is the LISA DAO, accounting for LISA's governance in a rule-based, modular and flexible manner. Built upon Marvin Janssen's ExecutorDAO project, it operates based on the following core principles:

  1. Proposals are smart contracts.
  2. The core executes, the extensions give form.
  3. Ownership control happens via sending context.

For technical details on the ExecutorDAO, refer to the project's README.md. To understand how the ExecutorDAO is customized and implemented within LISA, visit the dedicated LISA DAO governance page in the documentation.

Liquid Staking

aBTC as LiaBTC

aBTC, or ALEX BTC, is a Stacks SIP-010 token pegged 1:1 to Bitcoin. LiaBTC is a rebasing token for aBTC, while vLiaBTC is its non-rebasing, value-accruing wrapper.

Relations Diagram

flowchart LR
    classDef smclass fill:#FFE4B5,stroke:#FF8C00

    subgraph XLink Infrastructure
    sm[XLink Staking
    Manager]:::smclass
    sm -.-o stake[["External BTC Staking Platform
    (Cobo + Babylon)"]]:::smclass
    end

    mint[LiaBTC Mint
    Endpoint]
    reg[LiaBTC Mint
    Registry]
    mint <--state update & fund management--> reg

    subgraph Tokens
    direction LR
    lia["LiaBTC
    (Rebasing)"]
    wrap["vLiaBTC
    (Non-Rebasing
    Wrapper)"]
    lia <--> wrap
    end

    mint --stake/unstake aBTC--> sm[XLink Staking
    Manager]

    mint --mint/burn--> lia
Loading

LiaBTC Mint Endpoint

The Mint Endpoint serves as the users' operational interface to stake and unstake aBTC, facilitating the minting and burning of LiaBTC. It relies on the XLink Staking Manager to handle the liquid staking pool management.

LiaBTC Mint Registry

The Mint Registry functions as the persistence and treasury module for the Mint Endpoint operations.

Token LiaBTC

Implementation of the LiaBTC rebasing token that represents staked aBTC. The underlying Bitcoin backing these aBTC tokens is staked externally utilizing the XLink on-chain and off-chain infrastructure. The lifecycle of the token invoves minting when aBTC is submitted for staking and burning upon unstaking. When users stake aBTC through the Mint Endpoint, they receive LiaBTC at a 1:1 ratio.

Token vLiaBTC

Implementation of the vLiaBTC value-accruing token, designed as a non-rebasing wrapper for LiaBTC. It is mainly used as a layer of compatibility to integrate LiaBTC with other DeFi protocols. Users can wrap their LiaBTC into vLiaBTC to maintain the same value in a non-rebasing format.

XLink Staking Manager

The XLink Staking Manager is a generic contract designed to manage liquid staking pools for multiple tokens and track staker positions within each pool. It is part of a hybrid, token-agnostic liquid staking management system, that operates alongside off-chain backend and frontend components managed by XLink.

{% hint style="info" %} This contract is part of XLink ecosystem and is governed by the XLink DAO. {% endhint %}

Deployed contracts

{% hint style="warning" %} Page under construction. This is not an exhaustive list. {% endhint %}

Governance

aBTC Liquid Staking