Releases: superfluid-org/protocol-monorepo
Releases · superfluid-org/protocol-monorepo
sdk-core@v0.6.4
Changes in this sdk-core stable release:
Changed
getPopulatedTransactionRequest
doesn't use the signer to populate the transaction anymore assigner.sendTransaction
does it already. The doublesigner.populateTransaction
was causing issues with some wallets (e.g. Rainbow Wallet)- Map
isNativeAssetSuperToken
toToken
from Subgraph
sdk-redux@v0.5.0
Changes in this sdk-redux stable release
Breaking
- Handle replaced/repriced transaction tracking
Breaking
- Rename
signer
tosignerAddress
- 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
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 developmentSuperTokenDeployer.sol
for deploying SuperTokens in local testing (split fromSuperfluidFrameworkDeployer.sol
)
Changed
SuperToken
logic contract takesConstantOutflowNFT
andConstantInflowNFT
proxy contract addressesSuperTokenFactory
logic contract takesConstantOutflowNFT
andConstantInflowNFT
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
Added
increaseAllowance
anddecreaseAllowance
functions to SuperToken class- Batch call support for
increaseAllowance
anddecreaseAllowance
increaseFlowRateAllowance
anddecreaseFlowRateAllowance
functions to CFAv1 class- Add support for
activeOutgoingStreamCount
,activeIncomingStreamCount
,inactiveOutgoingStreamCount
,inactiveIncomingStreamCount
properties in query forAccountTokenSnapshot
entity - Add support for
rewardAddress
,liquidationPeriod
,patricianPeriod
, andminimumDeposit
properties in query forToken
entity - Add support for
userData
property in query forStream
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
Added
- bump solc to 0.8.19
- New ACL functions:
increaseFlowRateAllowance
anddecreaseFlowRateAllowance
inConstantFlowAgreementV1.sol
- Support for
superToken.increaseAllowance
andsuperToken.decreaseAllowance
inbatchCall
inSuperfluid.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
Added
- bump solc to 0.8.18
Breaking
SuperTokenFactory
contract no longer takesSuperTokenHelper
contract in its constructor- Migration: Pass in a deployed
SuperToken
(logic) contract address toSuperTokenFactory
constructor instead
- Migration: Pass in a deployed
runDeployContractsAndToken.js
is renamed torun-deploy-contracts-and-token.js
- Migration: Replace
runDeployContractsAndToken.js
withrun-deploy-contracts-and-token.js
instead in imports
- Migration: Replace
deployContractsAndToken.js
is renamed todeploy-contracts-and-token.js
- Migration: Replace
deployContractsAndToken.js
withdeploy-contracts-and-token.js
instead in imports
- Migration: Replace
Changed
_superTokenLogic
field inSuperTokenFactory
contract is now a public immutable field and is no longer a storage variable:_superTokenLogicDeprecated
sdk-redux@v0.4.0
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 onTrackedTransaction
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
Changed
- Subgraph endpoints all use hosted service endpoints by default
Subgraph v1.5.0
Added
- TOGA events added
gasUsed
property on event entitiesmostRecentStream
onStreamRevision
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
Added
SuperToken
class hassend
functionbatchCall
supports newsend
batch operation- Added
downgradeTo
function onSuperToken
class - Added toga events to be part of query
Changed
- Make
sender
field optional in CFAv1 write functions