1 unstable release
0.4.1 | Sep 19, 2022 |
---|
#8 in #increasing
578 downloads per month
Used in 6 crates
(3 directly)
26KB
523 lines
Wynd Utils
This is a set of general utility functions to be used by mutliple contracts.
Curves
We provide some curve types that can be used for vesting or otheer cases. They are designed to generally be either monotonically increasing or monotonically decreasing withing a specified range.
While they are general functions in the form of f(x) = y
, the main use case is with input of
block time, eg. f(t) = y
. When using for other domains, please review the assumptions and make any
adjustments needed to generalize.
Dependencies
~3.5–5.5MB
~113K SLoC