#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 467/week @ 2024-10-29 277/week @ 2024-11-05 76/week @ 2024-11-12 94/week @ 2024-11-19 95/week @ 2024-11-26 69/week @ 2024-12-03 142/week @ 2024-12-10 55/week @ 2024-12-17 45/week @ 2024-12-24 25/week @ 2024-12-31 51/week @ 2025-01-07 56/week @ 2025-01-14 56/week @ 2025-01-21 34/week @ 2025-01-28 100/week @ 2025-02-04 114/week @ 2025-02-11

310 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
~225K SLoC