3 releases (stable)

new 1.1.0 Sep 13, 2024
1.0.0 Aug 23, 2024
1.0.0-rc.1 Jun 20, 2024

#11 in #locked

Download history 137/week @ 2024-06-16 13/week @ 2024-06-23 5/week @ 2024-07-21 5/week @ 2024-07-28 2/week @ 2024-08-11 117/week @ 2024-08-18 22/week @ 2024-08-25 7/week @ 2024-09-01 118/week @ 2024-09-08

265 downloads per month
Used in 3 crates

GPL-3.0-only

82KB
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