#balance #height #token #queried #staked #cw20 #contract

cw20-stake

CW20 token that can be staked and staked balance can be queried at any height

8 releases (stable)

2.6.0 Nov 8, 2024
2.5.0 Oct 31, 2024
2.4.2 Jul 22, 2024
2.3.0 Oct 18, 2023
0.2.6 Jul 3, 2023

#3 in #staked

Download history 96/week @ 2024-11-13 82/week @ 2024-11-20 87/week @ 2024-11-27 109/week @ 2024-12-04 104/week @ 2024-12-11 89/week @ 2024-12-18 1/week @ 2024-12-25 32/week @ 2025-01-01 45/week @ 2025-01-08 60/week @ 2025-01-15 51/week @ 2025-01-22 67/week @ 2025-01-29 71/week @ 2025-02-05 136/week @ 2025-02-12 87/week @ 2025-02-19 121/week @ 2025-02-26

448 downloads per month
Used in 10 crates

BSD-3-Clause

240KB
5.5K SLoC

CW20 Stake

cw20-stake on crates.io docs.rs

This is a basic implementation of a cw20 staking contract. Staked tokens can be unbonded with a configurable unbonding period. Staked balances can be queried at any arbitrary height by external contracts.

Dependencies

~11MB
~226K SLoC