4 releases (stable)

1.2.0 Dec 9, 2024
1.1.0 Sep 13, 2024
1.0.0 Aug 23, 2024
1.0.0-rc.1 Jun 20, 2024

#21 in #astroport

Download history 13/week @ 2024-08-26 7/week @ 2024-09-02 128/week @ 2024-09-09 30/week @ 2024-09-16 15/week @ 2024-09-23 18/week @ 2024-09-30 26/week @ 2024-10-14 21/week @ 2024-11-04 12/week @ 2024-11-18 154/week @ 2024-12-09

166 downloads per month
Used in 3 crates

GPL-3.0-only

88KB
1.5K SLoC

Vote Escrowed Staked ASTRO (vxASTRO)

The vxASTRO contract enables xASTRO token holders to stake their tokens and participate in Emissions Voting.

Features

  • Indefinite Locking: Tokens are locked indefinitely, with an option for users to request unlocking at any time.
  • Unlocking Period: The unlocking process takes 14 days.
  • Voting Power: vxASTRO voting power is always equivalent to the underlying xASTRO share.
  • Governance: vxASTRO holders retain their voting power in Astroport Governance while their xASTRO is locked.
  • Non-Transferable: vxASTRO tokens are not transferable.
  • CW20 Queries: The contract implements several CW20 queries to function like a CW20 token for query purposes, useful for wallet views.
  • Emissions Controller Interaction: The contract interacts with the Emissions Controller whenever a user's balance changes, updating the user's contribution in Emissions Voting.

Usage

vxASTRO allows holders to influence liquidity flows and participate in the governance of the Astroport.

vxASTRO diagram

Dependencies

~15MB
~320K SLoC