Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 17 Jun 15:19
872110d

Token

  • ERC7984: Remove revert on transfer where the sender has an uninitialized balance. (#357)
  • ERC7984Hooked: Add an ERC7984 extension that calls external hooks before and after transfer of confidential tokens. (#332)
  • ERC7984HookModule: Add a base hook module for building modules compatible with ERC7984Hooked. (#351)
  • ERC7984BalanceCapHookModule: Add an example hook module that enforces a confidential balance cap for the token. (#351)
  • ERC7984HolderCapHookModule: Add an example hook module that enforces a maximum number of holders for the token. (#351)
  • ERC7984Rwa: Always call _update on transfers (even force). Bypass restriction via restriction override. (#339)
  • ERC7984Rwa: Add token recovery functionality. (#341)
  • ERC7984Rwa: Bypass recipient on RWA force transfer in addition to sender. (#372)
  • ERC7984Rwa: Block overrides of Context functions (_msgSender(), _msgData()). (#382)
  • IERC7984Rwa: Add token recovery function and event. (#341)

Finance

  • BatcherConfidential: Revert if underlying toToken balance changes during a partial route execution. (#385)

Utils

  • FHESafeMath: Add saturatingAdd and saturatingSub functions. (#341)
  • HandleAccessManager: Return false by default in _validateHandleAllowance. (#338)