v2.0.0
·
1068 commits
to release
since this release
Changed
- Breaking: merge
SablierV2LockupLinear,SablierV2LockupDynamicandSablierV2LockupTranchedinto a single
contract calledSablierLockup(#1069)- Implement two public libraries
VestingMathandHelpers - Implement
Modelenum to differentiate between linear, dynamic and tranched streams
- Implement two public libraries
- Allow setting the end time of linear streams to a past date (#1015)
- Emit revert errors in
withdrawMultipleinstead of halting execution on failed withdrawals (#1101) - Allow approved accounts to execute
withdrawMaxAndTranferon behalf of recipients (#1054) - Refactor
assettotokenwhen referring toERC20tokens (#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
batchfunction to execute multiple functions in a single transaction (#1070, #1126) - Emit the expected shape name of the stream through create functions (#1094, #1100)
- Implement
renounceMultiplefunction to renounce multiple streams in a single transaction (#1091) - Moved the
SablierBatchLockupcontract from v2-periphery to the Lockup repository (#1084) - Add
payablemodifier to all the functions (#1093)