Skip to content

ethereum-contracts@v1.9.1

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Mar 08:36
54fd386

Changes in this stable release

Breaking

  • The abstract base contractSuperAppBaseFlow was renamed to CFASuperAppBase 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 and FlowDistributionData structs moved from IGeneralDistributionAgreementV1.sol to GeneralDistributionAgreementV1.sol
  • PoolIndexData, MemberData structs moved from ISuperfluidPool.sol to SuperfluidPool.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