#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

#2 in #staked

Download history 67/week @ 2024-08-26 64/week @ 2024-09-02 163/week @ 2024-09-09 107/week @ 2024-09-16 145/week @ 2024-09-23 56/week @ 2024-09-30 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

406 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
~217K SLoC