Skip to content

Releases: superfluid-org/protocol-monorepo

sdk-core@v0.6.4

09 May 06:38
8fa0fec
Compare
Choose a tag to compare

Changes in this sdk-core stable release:

Changed

  • getPopulatedTransactionRequest doesn't use the signer to populate the transaction anymore as signer.sendTransaction does it already. The double signer.populateTransaction was causing issues with some wallets (e.g. Rainbow Wallet)
  • Map isNativeAssetSuperToken to Token from Subgraph

sdk-redux@v0.5.0

03 May 13:00
0322454
Compare
Choose a tag to compare

Changes in this sdk-redux stable release

Breaking

  • Handle replaced/repriced transaction tracking

Breaking

  • Rename signer to signerAddress
  • Removed waitForConfirmation
  • Don't export waitForOneConfirmation

Changes

  • Use a simpler type for initiateNewTransactionTrackingThunk.transactionResponse
  • Use wait from the TransactionResponse to track the transaction more reliably
  • When trySerializeTransaction fails, use a warning over an error

ethereum-contracts@v1.6.0

26 Apr 14:17
d738830
Compare
Choose a tag to compare

Changes in this ethereum-contracts stable release

Added

  • FlowNFT contracts: ConstantOutflowNFT, ConstantInflowNFT, FlowNFTBase to replace the OG flow NFTs
  • SuperAppBaseCFA base contract to simplify CFA SuperApp development
  • SuperTokenDeployer.sol for deploying SuperTokens in local testing (split from SuperfluidFrameworkDeployer.sol)

Changed

  • SuperToken logic contract takes ConstantOutflowNFT and ConstantInflowNFT proxy contract addresses
  • SuperTokenFactory logic contract takes ConstantOutflowNFT and ConstantInflowNFT and handles the upgrade logic for the NFTs
  • Utilize internal _host in CFA instead of external call to host on the token

sdk-core@v0.6.3

23 Mar 16:16
a3a71cc
Compare
Choose a tag to compare

Added

  • increaseAllowance and decreaseAllowance functions to SuperToken class
  • Batch call support for increaseAllowance and decreaseAllowance
  • increaseFlowRateAllowance and decreaseFlowRateAllowance functions to CFAv1 class
  • Add support for activeOutgoingStreamCount, activeIncomingStreamCount, inactiveOutgoingStreamCount, inactiveIncomingStreamCount properties in query for AccountTokenSnapshot entity
  • Add support for rewardAddress, liquidationPeriod, patricianPeriod, and minimumDeposit properties in query for Token entity
  • Add support for userData property in query for Stream entity
  • Add index (the Subgraph entity ID) field to Index events when querying from Subgraph

Changed

  • .exec or .execForward will throw an error if the operations array is empty

ethereum-contracts@v1.5.2

14 Mar 16:28
26e8da8
Compare
Choose a tag to compare

Added

  • bump solc to 0.8.19
  • New ACL functions: increaseFlowRateAllowance and decreaseFlowRateAllowance in ConstantFlowAgreementV1.sol
  • Support for superToken.increaseAllowance and superToken.decreaseAllowance in batchCall in Superfluid.sol

Breaking

  • BatchLiquidator.deleteFlows doesn't take host and CFA address as argument anymore. This makes L2 solvency operations considerably cheaper.

Changed

  • Added BatchLiquidator.deleteFlow for cheaper liquidation of singular flows on L2s.

ethereum-contracts@v1.5.1

28 Feb 16:58
0effb4c
Compare
Choose a tag to compare

Added

  • bump solc to 0.8.18

Breaking

  • SuperTokenFactory contract no longer takes SuperTokenHelper contract in its constructor
    • Migration: Pass in a deployed SuperToken (logic) contract address to SuperTokenFactory constructor instead
  • runDeployContractsAndToken.js is renamed to run-deploy-contracts-and-token.js
    • Migration: Replace runDeployContractsAndToken.js with run-deploy-contracts-and-token.js instead in imports
  • deployContractsAndToken.js is renamed to deploy-contracts-and-token.js
    • Migration: Replace deployContractsAndToken.js with deploy-contracts-and-token.js instead in imports

Changed

  • _superTokenLogic field in SuperTokenFactory contract is now a public immutable field and is no longer a storage variable: _superTokenLogicDeprecated

sdk-redux@v0.4.0

30 Jan 13:02
07387d9
Compare
Choose a tag to compare

Changes

  • Fix transaction tracking erroneously registering reverted transactions as successful.
  • Allow RTK-query ^1.7.0 || ^1.8.0 || ^1.9.0

Breaking

  • Require SDK-core version ^0.6.0
  • Pass in signer through mutation payload
  • Remove setSignerForSdkRedux
  • Serialized transactionResponse is now possibly undefined on TrackedTransaction when serialization fails
  • Update @reduxjs/toolkit & @superfluid-finance/sdk-core dependencies

Added

  • Query for transfer events
  • Make it possible to pass in Ether's Overrides object through mutations
  • Add accountTokenSnapshotLog & tokenStatisticLog endpoints
  • Add isSubgraphInSync & blockTransactionSucceededIn to a tracked transaction
  • Export getSerializeQueryArgs & CacheTagTypes

sdk-core@v0.6.1

20 Dec 13:47
1576083
Compare
Choose a tag to compare

Changed

  • Subgraph endpoints all use hosted service endpoints by default

Subgraph v1.5.0

19 Dec 15:39
8ec1a82
Compare
Choose a tag to compare

Added

  • TOGA events added
  • gasUsed property on event entities
  • mostRecentStream on StreamRevision entity
  • data integrity tests: validates subgraph data against blockchain data (RPC calls)
  • balance validation: validates feature subgraph balance data against v1 subgraph balance data
  • Implemented Matchstick Unit tests in favor of slowly deprecating integration tests
  • Added support for Satsuma deployment

Changed

  • Updated README given all the changes
  • Moved over from ganache to hardhat running tests
  • Using docker-compose instead of graph-node fork for integration tests
  • Updated schema.graphql documentation
  • Removed hardcoded addresses and utilize new deploy-test-framework script
  • Simplified addresses.template.ts
  • Bumped specVersion (0.0.3 => 0.0.5) and apiVersion (0.0.6 => 0.0.7) in manifest file (subgraph.template.yaml) and include receipts in eventHandlers
  • Removed unnecessary test-subgraph.template.yaml duplicate file

Fixes

  • Minor mapping fixes

SDK-Core v0.6.0

19 Dec 15:58
84142d3
Compare
Choose a tag to compare

Added

  • SuperToken class has send function
  • batchCall supports new send batch operation
  • Added downgradeTo function on SuperToken class
  • Added toga events to be part of query

Changed

  • Make sender field optional in CFAv1 write functions