#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 61/week @ 2024-10-07 278/week @ 2024-10-14 85/week @ 2024-10-21 440/week @ 2024-10-28 299/week @ 2024-11-04 89/week @ 2024-11-11 92/week @ 2024-11-18 90/week @ 2024-11-25 75/week @ 2024-12-02 141/week @ 2024-12-09 56/week @ 2024-12-16 51/week @ 2024-12-23 19/week @ 2024-12-30 46/week @ 2025-01-06 61/week @ 2025-01-13 62/week @ 2025-01-20

189 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

~10MB
~218K SLoC