Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@andreivladbrg andreivladbrg released this 28 Jan 22:11
835cac3

Changed

  • Breaking: merge SablierV2LockupLinear, SablierV2LockupDynamic and SablierV2LockupTranched into a single
    contract called SablierLockup (#1069)
    • Implement two public libraries VestingMath and Helpers
    • Implement Model enum to differentiate between linear, dynamic and tranched streams
  • Allow setting the end time of linear streams to a past date (#1015)
  • Emit revert errors in withdrawMultiple instead of halting execution on failed withdrawals (#1101)
  • Allow approved accounts to execute withdrawMaxAndTranfer on behalf of recipients (#1054)
  • Refactor asset to token when referring to ERC20 tokens (#1097)
  • Rename this repo to Lockup (#994)

Added

  • Breaking: introduce new configurations for unlock amounts at start time and cliff time in create Linear functions (#1075)
  • Implement a batch function to execute multiple functions in a single transaction (#1070, #1126)
  • Emit the expected shape name of the stream through create functions (#1094, #1100)
  • Implement renounceMultiple function to renounce multiple streams in a single transaction (#1091)
  • Moved the SablierBatchLockup contract from v2-periphery to the Lockup repository (#1084)
  • Add payable modifier to all the functions (#1093)

Removed

  • No longer support backward compatibility with previous versions of Lockup contract in NFTDescriptor (#1113)
  • Remove V2 from the contract names and related references (#994)
  • Remove precompiles from the NPM release (#1158)