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 8/week @ 2024-08-29 5/week @ 2024-09-05 148/week @ 2024-09-12 18/week @ 2024-09-19 16/week @ 2024-09-26 9/week @ 2024-10-03 20/week @ 2024-10-10 6/week @ 2024-10-17 12/week @ 2024-10-31 9/week @ 2024-11-07 5/week @ 2024-11-14 7/week @ 2024-11-21 120/week @ 2024-12-05 38/week @ 2024-12-12

167 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