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

#19 in #astroport

Download history 5/week @ 2024-10-18 15/week @ 2024-11-01 6/week @ 2024-11-08 7/week @ 2024-11-15 5/week @ 2024-11-22 133/week @ 2024-12-06 25/week @ 2024-12-13

363 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
~319K SLoC