DEV Community

Pierce
Pierce

Posted on

A Developer's Guide to Astroport's Staking Mechanics: ASTRO, xASTRO, and vxASTRO

The Astroport Official protocol utilizes a sophisticated three-token system for its governance and yield mechanisms. Understanding the relationship between ASTRO, xASTRO, and vxASTRO is key for any developer building on or interacting with the Astroport AMM Pools.

Core Concept: The Staking & Locking Flow
A look at xASTRO & vxASTRO Explained shows a clear progression designed to reward long-term commitment.

ASTRO: The native governance and utility token of the protocol.

xASTRO (Staked ASTRO): When a user stakes ASTRO, they receive xASTRO. This is a liquid staking token that accrues a share of the trading fees from the Astroport AMM. The ASTRO/xASTRO exchange rate appreciates over time as fees are collected. This is the first layer of yield.

vxASTRO (Vote-Escrowed ASTRO): To participate in governance and earn boosted rewards, users must lock their xASTRO. In return, they get vxASTRO. The longer the lock, the more vxASTRO they receive. vxASTRO gives holders voting power in the Astroport DAO Governance to direct ASTRO emissions to different liquidity pools.

How to use Astroport Staking (The Smart Contract Flow):

User calls stake() on the staking contract with ASTRO tokens. Contract mints and sends xASTRO.

User calls lock() on the vote-escrow contract with xASTRO and a duration. Contract calculates and assigns a vxASTRO balance.

This dual-system separates liquid yield generation (xASTRO) from active governance participation (vxASTRO). For a deep dive into the contracts, refer to https://sites.google.com/verified-web3-portal.com/socket/.

Top comments (0)