Skip to content

v1.5.0

Choose a tag to compare

@ericnordelo ericnordelo released this 17 Jul 14:30
· 8 commits to main since this release
ee543de

Summary

openzeppelin_timelock

Added

  • New timelock module: a Sui-native TimelockController enforcing a minimum on-chain delay before a privileged operation executes. (#409)

openzeppelin_fp_math

Added

  • cdf: the standard-normal cumulative distribution function Φ(z) for UD30x9 and SD29x9 fixed-point inputs. (#345)

Changed

  • cdf / pdf: raised the internal evaluation precision to 10^36, making both functions monotone between every pair of adjacent representable inputs, and clamped their domains to the analytic saturation points (6.109410205 / 6.402729806). Gas, storage, and the public API are unchanged. (#431)

openzeppelin_sale

Added

  • prefunded_sale module: a fixed-price, pre-funded token sale (presale / IDO) over a fixed inventory, generic over a witness-gated pricing curve, with an Init -> Active -> Finalized | Cancelled lifecycle and permissionless buyer redemption (purchase, finalize, cancel_after_close, claim / refund). (#414)
  • fixed_rate_curve module: the built-in allocation = paid * rate curve, minting the Quote and ActivationTicket a FixedRateCurve sale requires. (#414)
  • refund_vault module: a generic refundable escrow over Balance<P> that holds proceeds on cancel and pays buyers back individually; usable standalone. (#414)

openzeppelin_collections

Added

  • New openzeppelin_collections package: an ordered-collections family in a single package, with two modules - sorted_map and sorted_set. Both provide bare (built-in integer <) and _by (custom comparator) macro forms. (#454)

Full Changes List

New Contributors

Full Changelog: v1.4.0...v1.5.0