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

cw20-stake

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

6 releases (stable)

2.4.2 Jul 22, 2024
2.4.0 Jul 21, 2024
2.3.0 Oct 18, 2023
2.2.0 Jul 9, 2023
0.2.6 Jul 3, 2023

#5 in #staked

Download history 91/week @ 2024-05-13 299/week @ 2024-05-20 76/week @ 2024-05-27 197/week @ 2024-06-03 142/week @ 2024-06-10 245/week @ 2024-06-17 180/week @ 2024-06-24 147/week @ 2024-07-01 70/week @ 2024-07-08 584/week @ 2024-07-15 814/week @ 2024-07-22 378/week @ 2024-07-29 104/week @ 2024-08-05 425/week @ 2024-08-12 59/week @ 2024-08-19 67/week @ 2024-08-26

675 downloads per month
Used in 10 crates

BSD-3-Clause

235KB
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
~213K SLoC