Skip to content

Releases: superfluid-finance/protocol-monorepo

[email protected]

25 Nov 09:44
85696a9
Compare
Choose a tag to compare

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

[email protected]

14 Oct 11:50
f3f4a7d
Compare
Choose a tag to compare

Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.

[email protected]

14 Oct 11:56
f3f4a7d
Compare
Choose a tag to compare

Changes in this stable release

Changed

  • MacroForwarder made payable.
  • IUserDefinedMacro: added a method postCheck() which allows to verify state changes after running the macro.
  • SuperfluidFrameworkDeployer now also deploys and MacroForwarder and enables it as trusted forwarder.
  • deploy-test-environment.js now deploys fUSDC (the underlying) with 6 decimals (instead of 18) to better resemble the actual USDC.

Fixed

  • GDA Pools are not multi-tokens ready, added a permission check (#2010).

[email protected]

08 Oct 15:44
345d564
Compare
Choose a tag to compare

Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.

[email protected]

19 Sep 12:06
2898aaa
Compare
Choose a tag to compare

Changes in this stable release

Fixes

  • Fix missing Token name/symbol in some cases
  • Fix Pool's totalAmountDistributed being wrong in some cases

Changed

  • Don't always make an RPC call when updating the balance of an AccountTokenSnapshot, use the balance delta for simple cases
  • Account for GDA's adjustment flow when setting the isLiquidationEstimateOptimistic flag on AccountTokenSnapshot

Added

  • Add adminOfPoolCount to AccountTokenSnapshot to count how many pools the account is admin of
  • Add balanceLastUpdatedFromRpcBlocknumber to AccountTokenSnapshot to track when last RPC call was made

[email protected]

30 Aug 11:16
fb6cd05
Compare
Choose a tag to compare

Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.

[email protected]

08 Aug 13:12
0ed2d5c
Compare
Choose a tag to compare

Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.

[email protected]

08 Aug 10:35
b9cd188
Compare
Choose a tag to compare

Changes in this stable release:

Breaking

  • Removed FlowNFT related entities and attributes

[email protected]

08 Aug 10:18
b9cd188
Compare
Choose a tag to compare

Changed

Update sdk-core peerDependency version

[email protected]

07 Aug 12:01
b9cd188
Compare
Choose a tag to compare

Changes in this stable release

Breaking

  • Removed all FlowNFT related functionality, because deprecated from the protocol