bvs_library/storage.rs
1use cw_storage_plus::Strategy;
2
3/// EVERY_SECOND is an alias for `Strategy::EveryBlock`.
4/// This is possible because Snapshot accepts u64 as parameter for block height.
5/// Since Timestamp is an u64 and has similar properties (monotonic, etc.),
6/// it can be substituted for block height.
7pub const EVERY_SECOND: Strategy = Strategy::EveryBlock;