Superfluid Protocol Monorepo: the specification, implementations, peripherals and development kits.
OTHER License
Bot releases are visible (Hide)
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 7 months ago
Changes in this stable release
SuperAppBaseFlow
was renamed to CFASuperAppBase
and doesn't self-register in the constructor anymore.UniversalIndexData
, PoolMemberData
and FlowDistributionData
structs moved from IGeneralDistributionAgreementV1.sol
to GeneralDistributionAgreementV1.sol
PoolIndexData
, MemberData
structs moved from ISuperfluidPool.sol
to SuperfluidPool.sol
gdaV1.getFlow
gdaV1.getAccountFlowInfo
pool.poolOperatorGetIndex
pool.getTotalAmountReceivedByMember
getGDAFlowInfo
getGDANetFlowInfo
getPoolAdjustmentFlowRate
getTotalAmountReceivedByMember
superTokenV1Library.getNetFlowInfo
sums CFA and GDA net flow infoPublished by github-actions[bot] 8 months ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 9 months ago
Changes in this stable release
TokenInfo
and ERC20WithTokenInfo
interface/abstract contract are removed from the codebase, including the bundled ABI contracts
IERC20Metadata
instead, as this replaces the previous contractsbuild/typechain-ethers-v5
is removed from the npm package
GeneralDistributionAgreement
added which enables 1-to-N flowing distributions in addition to 1-to-N instant distributions via the SuperfluidPool
contractSuperToken._underlyingDecimals
with SuperToken.getUnderlyingDecimals()
_toUnderlyingAmount(uint256 amount)
with toUnderlyingAmount(uint256 amount)
batchCall
supports payable OPERATION_TYPE_SUPERFLUID_CALL_APP_ACTION
: only the first OPERATION_TYPE_SUPERFLUID_CALL_APP_ACTION
will be payableSuperfluidGovernanceBase.sol
: changeSuperTokenAdmin
and batchChangeSuperTokenAdmin
Superfluid.changeSuperTokenAdmin()
function added to be called via governance for tokens with no admin addressinitialize
to SuperToken.sol
, which additionally takes address admin
if you want to initialize the token with an admin addressSuperToken.changeAdmin(address newAdmin)
added which is only callable by the current admin, the "admin" of a SuperToken can change the admin and update the proxy contract's pointer to a logic contract
Note that the default admin (when address(0)) is the host contract as is currently the case
0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103
)SuperToken.getAdmin()
added to retrieve the admin addressSuperTokenFactory.createERC20Wrapper()
overloads added to create a SuperToken AND explicitly initialize a SuperToken with an admindeployTestFrameworkWithEthersV5
and deployTestFrameworkWithEthersV6
in deploy-test-framework.js
deployTestFramework
is still there, but it is considered deprecated nowSuperfluidGovernanceConfigs
instead of duplicating them in ConstantFlowAgreementV1
.registerAppWithKey
and registerAppByFactory
: DO NOT USE for new deployments
registerApp
in all cases going forward.registerApp(uint256 configWord)
to be called by the super app in the constructor or registerApp(ISuperApp app, uint256 configWord)
to be called by any address with a valid app registration config keydev-scripts/deploy-test-framework.js
compatible with both ethers-v5 and ethers-v6 nowPublished by github-actions[bot] 9 months ago
Changes in this stable release
scripts/buildNetworkConfig.ts
added for building network config from metadata in place of hardcoded config json filesgetHostedServiceNetworks.ts
added for getting the list of networks in place of hardcoded networks.json
, improves maintenance + addingPublished by github-actions[bot] 9 months ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 9 months ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 9 months ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 9 months ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 9 months ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 10 months ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 11 months ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 11 months ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 11 months ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] 12 months ago
CustomSuperToken
contracts without CONSTANT_OUTFLOW_NFT()
and CONSTANT_INFLOW_NFT()
function implementedPublished by github-actions[bot] almost 1 year ago
networkData.addresses.governance
is null. This was due to a removal of the governance
address from the metadata for test networks in [email protected]
.Published by github-actions[bot] almost 1 year ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] about 1 year ago
ConstantOutflowNFT
and ConstantInflowNFT
functionsCustomSuperToken
contracts without getUnderlyingToken()
function implementedPublished by github-actions[bot] about 1 year ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
Published by github-actions[bot] about 1 year ago
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.