Releases: superfluid-finance/protocol-monorepo
Releases · superfluid-finance/protocol-monorepo
[email protected]
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
[email protected]
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
[email protected]
Changes in this stable release
Changed
MacroForwarder
made payable.IUserDefinedMacro
: added a methodpostCheck()
which allows to verify state changes after running the macro.SuperfluidFrameworkDeployer
now also deploys andMacroForwarder
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]
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
[email protected]
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]
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
[email protected]
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
[email protected]
Changes in this stable release:
Breaking
- Removed FlowNFT related entities and attributes
[email protected]
Changed
Update sdk-core peerDependency version
[email protected]
Changes in this stable release
Breaking
- Removed all FlowNFT related functionality, because deprecated from the protocol