ethereum-contracts@v1.9.1
Changes in this stable release
Breaking
- The abstract base contract
SuperAppBaseFlow
was renamed toCFASuperAppBase
and doesn't self-register in the constructor anymore.
This allows the contract to be used with a SuperApp factory pattern and by logic contracts in the context of the proxy pattern.
Note: this will NOT break any deployed contracts, only affects undeployed Super Apps in case the ethereum-contracts dependency is updated. UniversalIndexData
,PoolMemberData
andFlowDistributionData
structs moved fromIGeneralDistributionAgreementV1.sol
toGeneralDistributionAgreementV1.sol
PoolIndexData
,MemberData
structs moved fromISuperfluidPool.sol
toSuperfluidPool.sol
Added
- New utility: MacroForwarder - a trusted forwarder extensible with permission-less macro contracts.
- New protocol contract view functions:
gdaV1.getFlow
gdaV1.getAccountFlowInfo
pool.poolOperatorGetIndex
pool.getTotalAmountReceivedByMember
- New SuperTokenV1Library functions:
getGDAFlowInfo
getGDANetFlowInfo
getPoolAdjustmentFlowRate
getTotalAmountReceivedByMember
Changed
- bump solc to 0.8.23
superTokenV1Library.getNetFlowInfo
sums CFA and GDA net flow info
Fixes
- FlowNFT hooks can't revert with outofgas anymore