Skip to main content

Changelog

General Updates

  • Pausable Functionality: Refactored to use OpenZeppelin’s Pausable contract instead of a custom implementation.

RestrictedLockupToken.sol

  • Vesting Schedule: Vested tokens are now distributed directly to recipients rather than being custodied in the contract. Solves edge cases related to event emissions, transfer restrictions, and snapshot recording.
  • Mint Release Schedule: Added functionality to mint tokens in a vesting schedule directly to a recipient.

Dividends.sol

  • Automatic Snapshotting: Migrated to automatic snapshotting based on OpenZeppelin v5 voting logic.
  • Dividend Calculations: Improved claimable dividend calculations and restricted dividend payment tokens to those with sufficient decimals.
  • Dividend Divisibility: Enforced divisibility of dividend payments among all lockup tokens.
  • Pausable Support: Added pausable functionality to manage dividend distribution.

Meta-Transaction Functionality

  • Custom ERC2771 Forwarder: Enabled meta-transactions using unique, non-sequential nonces, facilitating parallel processing for batched transactions with reduced dependency on sequential ordering.