Crates.io | wynd-utils |
lib.rs | wynd-utils |
version | 0.4.1 |
source | src |
created_at | 2022-09-19 21:03:37.052768 |
updated_at | 2022-09-19 21:03:37.052768 |
description | Utility functions used by multiple Wynd contracts |
homepage | |
repository | |
max_upload_size | |
id | 669356 |
size | 25,993 |
This is a set of general utility functions to be used by mutliple contracts.
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.