Superfluid Protocol Monorepo: the specification, implementations, peripherals and development kits.
OTHER License
Bot releases are visible (Hide)
Published by github-actions[bot] over 1 year ago
hostedEndpoint
might be nullable so we handle this case.sepolia
networkPublished by github-actions[bot] over 1 year ago
Changes in this sdk-core stable release:
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)isNativeAssetSuperToken
to Token
from SubgraphPublished by github-actions[bot] over 1 year ago
Changes in this sdk-redux stable release
signer
to signerAddress
waitForConfirmation
waitForOneConfirmation
initiateNewTransactionTrackingThunk.transactionResponse
wait
from the TransactionResponse to track the transaction more reliablytrySerializeTransaction
fails, use a warning over an errorPublished by github-actions[bot] over 1 year ago
Changes in this ethereum-contracts stable release
ConstantOutflowNFT
, ConstantInflowNFT
, FlowNFTBase
to replace the OG flow NFTsSuperAppBaseCFA
base contract to simplify CFA SuperApp developmentSuperTokenDeployer.sol
for deploying SuperTokens in local testing (split from SuperfluidFrameworkDeployer.sol
)SuperToken
logic contract takes ConstantOutflowNFT
and ConstantInflowNFT
proxy contract addressesSuperTokenFactory
logic contract takes ConstantOutflowNFT
and ConstantInflowNFT
and handles the upgrade logic for the NFTs_host
in CFA instead of external call to host on the tokenPublished by github-actions[bot] over 1 year ago
increaseAllowance
and decreaseAllowance
functions to SuperToken classincreaseAllowance
and decreaseAllowance
increaseFlowRateAllowance
and decreaseFlowRateAllowance
functions to CFAv1 classactiveOutgoingStreamCount
, activeIncomingStreamCount
, inactiveOutgoingStreamCount
, inactiveIncomingStreamCount
properties in query for AccountTokenSnapshot
entityrewardAddress
, liquidationPeriod
, patricianPeriod
, and minimumDeposit
properties in query for Token
entityuserData
property in query for Stream
entityindex
(the Subgraph entity ID) field to Index events when querying from Subgraph.exec
or .execForward
will throw an error if the operations array is emptyPublished by github-actions[bot] over 1 year ago
increaseFlowRateAllowance
and decreaseFlowRateAllowance
in ConstantFlowAgreementV1.sol
superToken.increaseAllowance
and superToken.decreaseAllowance
in batchCall
in Superfluid.sol
BatchLiquidator.deleteFlows
doesn't take host and CFA address as argument anymore. This makes L2 solvency operations considerably cheaper.BatchLiquidator.deleteFlow
for cheaper liquidation of singular flows on L2s.Published by github-actions[bot] over 1 year ago
SuperTokenFactory
contract no longer takes SuperTokenHelper
contract in its constructor
SuperToken
(logic) contract address to SuperTokenFactory
constructor insteadrunDeployContractsAndToken.js
is renamed to run-deploy-contracts-and-token.js
runDeployContractsAndToken.js
with run-deploy-contracts-and-token.js
instead in importsdeployContractsAndToken.js
is renamed to deploy-contracts-and-token.js
deployContractsAndToken.js
with deploy-contracts-and-token.js
instead in imports_superTokenLogic
field in SuperTokenFactory
contract is now a public immutable field and is no longer a storage variable: _superTokenLogicDeprecated
Published by github-actions[bot] over 1 year ago
^1.7.0 || ^1.8.0 || ^1.9.0
^0.6.0
signer
through mutation payloadsetSignerForSdkRedux
transactionResponse
is now possibly undefined on TrackedTransaction
when serialization fails@reduxjs/toolkit
& @superfluid-finance/sdk-core
dependenciesOverrides
object through mutationsaccountTokenSnapshotLog
& tokenStatisticLog
endpointsisSubgraphInSync
& blockTransactionSucceededIn
to a tracked transactiongetSerializeQueryArgs
& CacheTagTypes
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Opening monologue brought to you by ChatGPT (w/ a few modifications from me).
Welcome to the latest release of ethereum-contracts
, where we're continuing our mission to bend the rules of reality and mess with your head. In this update, we've added a few new features that are sure to keep you guessing.
First up, we've added a batchCall
operation for sending a whole bunch of transactions at once. We figured, why stop at just one layer of reality when you can have multiple at the same time? It's the ultimate mind-bending experience.
Next, we've introduced a downgradeTo
function, because let's be real, sometimes you just need to take a step back and simplify things. But don't worry, we've also added a new SuperTokenV1Library
to keep things interesting.
We've also made a few changes to the way the upgradeTo
function works. Now it will only allow registered ERC777
recipients, because really, who doesn't love a good dose of bureaucracy in their dreams?
And finally, we've made the MAX_APP_CALLBACK_LEVEL
variable public again, because we know you love nothing more than tweaking and tinkering with the fabric of reality.
Thanks for joining us on this wild ride through the dreamscape. We can't wait to see what mind-bending updates we come up with next.
ChatGPT v3.0
batchCall
supports new send
batch operationdowngradeTo
function in SuperToken.sol
deployContractsAndToken.js
and runDeployContractsAndToken.js
to dev-scripts
SuperTokenV1Library
which provides a token centric interface for Superfluid specific SuperToken functionality.scripts/deploy-test-framework.js
no longer exists, deploy-test-framework.js
has been moved to dev-scripts
dev-scripts/deploy-test-framework.js
insteadupgradeTo
logic changed to revert if data
is not empty and to
is a contract and is not a registered ERC777 recipientMAX_APP_CALLBACK_LEVEL
is public againPublished by github-actions[bot] almost 2 years ago
SuperToken
class has send
functionbatchCall
supports new send
batch operationdowngradeTo
function on SuperToken
classsender
field optional in CFAv1 write functionsPublished by github-actions[bot] almost 2 years ago
gasUsed
property on event entitiesmostRecentStream
on StreamRevision
entityschema.graphql
documentationdeploy-test-framework
scriptaddresses.template.ts
subgraph.template.yaml
) and include receipts in eventHandlerstest-subgraph.template.yaml
duplicate filePublished by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
deposit
to Stream when querying from Subgraph@superfluid-finance/metadata
, but still uses the resolver for unsupported/local testing environments
NOTE: This will not create any changes when doing
Framework.create
and is just a minor optimization.
Overrides
object is passed during creation of the Operation
.Operation.exec(signer, 1.32)
.Published by github-actions[bot] almost 2 years ago
Changes in this ethereum-contracts stable release
createCanonicalERC20Wrapper
added for creating ERC20 Wrapper Super tokens which will be added to a canonical wrapper super token list based on naming convention and semi-upgradeability. This will be the recommended way of creating ERC20 Wrapper moving forward. (#1115)
name
naming convention: Super Token name
will be "Super ${underlyingToken.name}"
symbol
naming convention: Super Token symbol
will be "${underlyingToken.symbol}x"
artifacts
included in npm package (#1144)types
folder for files in scripts
in npm package (#1144)Published by github-actions[bot] about 2 years ago
CFAv1Forwarder
integrated into SDK-Core and will be the default way of calling CFA agreements and sender
is now a required property.create/update/deleteFlow
.NOTE: You must pass
shouldUseCallAgreement
explicitly as a property if you want to execute these calls via the Host.
@superfluid-finance/ethereum-contracts
and exported from SDK-CorePublished by github-actions[bot] about 2 years ago
SuperfluidFrameworkDeployer.sol
create Native Asset and Pure Super Tokens functionality added (#1104)TestResolver
added to allow SuperfluidFrameworkDeployer
contract to grant admin permissions to its deployer (#1104)Published by github-actions[bot] about 2 years ago
Changes in this ethereum-contracts stable release
Published by github-actions[bot] about 2 years ago
subgraphAPIEndpoint
in getResolverData
SubgraphClient
with SFError
Published by github-actions[bot] about 2 years ago
Vitalik sets out on a journey with a fellow coiner, Satoshi, and his frog, Pepe, in order to find her sister, E-girl, who has the power to convert any object or person into a simp.
kovan
, rinkeby
, optimism-kovan
and arbitrum-rinkeby
optimism-goerli
and arbitrum-goerli