Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 25 Nov 09:44
85696a9

Changes in this stable release

Added

  • SuperTokenV1Library
    • added agreement specific variants for getFlowRate, getFlowInfo, getNetFlowRate and getNetFlowInfo, e.g. getCFAFlowRate, getGDAFlowRate, ...
    • added flow for changing CFA flows, can be used instead of the CRUD methods
    • added flowFrom for changing CFA flows using ACL permissions, can be used instead of the CRUD methods
    • added distribute and distributeFlow variants (overloaded) without from argument
    • added transferX and flowX for agreement abstracted instant or flow transfers/distributions
    • added getTotalAmountReceivedFromPool (alias for getTotalAmountReceivedByMember)
  • Host: added ISuperfluid.getERC2771Forwarder: to be used by batch call targets who want to use ERC-2771 for msg sender preservation
  • Utility contracts for forwarding of calls in the context of batch operations:
    • SimpleForwarder: for forwarding arbitrary calls to arbitrary targets
    • ERC2771Forwarder: for forwarding arbitrary calls to arbitrary targets with msg sender authenticated according to ERC-2771. Requires the target contract to recognize it as trusted forwarder.

Breaking

  • Removed CFAv1Library, superseded by SuperTokenV1Library.
  • The IDA is now declared as deprecated, shouldn't be used anymore. The GDA covers all its functionality.
  • Removed IDAv1Library.
  • SuperTokenV1Library
    • removed IDA specific functionality. distribute now maps to the GDA.
    • getFlowRate and getFlowInfo now work return the GDA flowrate/info if the receiver is a pool (previously it would return 0). In order to specifically query the CFA flowrate, use the newly added getCFAFlowRate and getCFAFlowInfo.
    • removed updateMemberUnits (use ISuperfluidPool.updateMemberUnits instead)
  • Source file SuperfluidFrameworkDeployer.sol renamed to SuperfluidFrameworkDeployer.t.sol
  • Source file FoundrySuperfluidTester.sol renamed to FoundrySuperfluidTester.t.sol