Contracts
Technical Design Overview
Last updated
Technical Design Overview
Last updated
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.
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:
Proposals are smart contracts.
The core executes, the extensions give form.
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.
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.
Contract name: 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.
Contract name: liabtc-mint-registry
The Mint Registry functions as the persistence and treasury module for the Mint Endpoint operations.
Contract name: 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.
Contract name: 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.
Contract name: xlink-staking
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.
This contract is part of XLink ecosystem and is governed by the XLink DAO.
Page under construction. This is not an exhaustive list.
ExecutorDAO: 'SM26NBC8SFHNW4P1Y4DFH27974P56WN86C92HPEHH.lisa-dao
LiaBTC Mint Endpoint: 'SP673Z4BPB4R73359K9HE55F2X91V5BJTN5SXZ5T.liabtc-mint-endpoint
LiaBTC Mint Registry: 'SP673Z4BPB4R73359K9HE55F2X91V5BJTN5SXZ5T.liabtc-mint-registry
LiaBTC Token: 'SP673Z4BPB4R73359K9HE55F2X91V5BJTN5SXZ5T.token-liabtc
vLiaBTC Token: 'SP673Z4BPB4R73359K9HE55F2X91V5BJTN5SXZ5T.token-vliabtc
XLink Staking Manager: 'SP673Z4BPB4R73359K9HE55F2X91V5BJTN5SXZ5T.xlink-staking