[][src]Crate cw0

Structs

NativeBalance

Enums

Duration

Duration is a delta of time. You can add it to a BlockInfo or Expiration to move that further in the future. Note that an height-based Duration and a time-based Expiration cannot be combined

Expiration

Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)

Constants

DAY
HOUR
WEEK

Functions

calc_range_end_human
calc_range_start_human
calc_range_start_string
maybe_canonical