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

cw20-stake

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

3 releases (stable)

2.3.0 Oct 18, 2023
2.2.0 Jul 9, 2023
2.1.5 Jul 6, 2023
2.1.0 Jul 3, 2023
0.2.6 Jul 3, 2023

#3 in #queried

Download history 121/week @ 2024-01-05 45/week @ 2024-01-12 31/week @ 2024-01-19 76/week @ 2024-01-26 114/week @ 2024-02-02 65/week @ 2024-02-09 65/week @ 2024-02-16 64/week @ 2024-02-23 57/week @ 2024-03-01 74/week @ 2024-03-08 131/week @ 2024-03-15 231/week @ 2024-03-22 140/week @ 2024-03-29 108/week @ 2024-04-05 107/week @ 2024-04-12 71/week @ 2024-04-19

442 downloads per month
Used in 10 crates

BSD-3-Clause

230KB
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

~9.5MB
~207K SLoC