Changes in this stable release
Added
SuperTokenV1Library
- added agreement specific variants for
getFlowRate
,getFlowInfo
,getNetFlowRate
andgetNetFlowInfo
, 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
anddistributeFlow
variants (overloaded) withoutfrom
argument - added
transferX
andflowX
for agreement abstracted instant or flow transfers/distributions - added
getTotalAmountReceivedFromPool
(alias forgetTotalAmountReceivedByMember
)
- added agreement specific variants for
- 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 targetsERC2771Forwarder
: 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 bySuperTokenV1Library
. - 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
andgetFlowInfo
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 addedgetCFAFlowRate
andgetCFAFlowInfo
.- removed
updateMemberUnits
(use ISuperfluidPool.updateMemberUnits instead)
- removed IDA specific functionality.
- Source file
SuperfluidFrameworkDeployer.sol
renamed toSuperfluidFrameworkDeployer.t.sol
- Source file
FoundrySuperfluidTester.sol
renamed toFoundrySuperfluidTester.t.sol