Crates.io | wynd-utils-inj |
lib.rs | wynd-utils-inj |
version | 0.4.1-inj |
source | src |
created_at | 2024-08-13 10:47:44.535032 |
updated_at | 2024-08-13 10:47:44.535032 |
description | Utility functions used by multiple Wynd contracts |
homepage | |
repository | |
max_upload_size | |
id | 1335826 |
size | 22,219 |
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.