#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 183/week @ 2024-09-11 148/week @ 2024-09-18 73/week @ 2024-09-25 55/week @ 2024-10-02 138/week @ 2024-10-09 205/week @ 2024-10-16 102/week @ 2024-10-23 464/week @ 2024-10-30 269/week @ 2024-11-06 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

311 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