Skip to content

release-v2.0

Latest
Compare
Choose a tag to compare
@hieronx hieronx released this 06 Aug 10:15
· 5 commits to main since this release
109ba15

v2 release of Liquidity Pools

Changes

  • Multi-message aggregation, to support multiple adapters to/from Centrifuge.
  • ERC7540, updated contracts to support finalized ERC7540 standard.
    • To enable integrations that act on behalf of other users, the ERC-7540 vaults support an operator mechanism, very similar to ERC-6909. This allows smart coontracts to call any method on behalf of the user, including deciding where to send their shares or assets.
    • It also supports a signed message for setting an operator (authorizeOperator). This can be used by cross chain integrations (Superform being the first target user).
  • Tranche token hooks, enabling customizations of tranche token restrictions and other logic.
  • CentrifugeRouter:
    • Multicall, to enable flows like [claimDeposit, requestRedeem] in 1 tx.
    • Locking requests. This enables users to send assets to lock for a deposit request to the contract before they are added as a member to a tranche. And then anyone can permissionlessly execute the locked request.
    • Permissionless claiming: Any request sent through the router can be permissionlessly claimed. The intended user of the router is EOAs rather than smart contracts.
    • ERC20 wrapper support: To allow us to extend functionality of assets in pools without modifying core logic, we want to use ERC20Wrapper like contracts in the future.
  • Automated gas payments: Support for automatically paying gas for the adapter transactions, including estimating the gas cost automatically onchain.