Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/automation-contracts/autowrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Open contracts that allow upgrading underlying token to supertokens based on running stream",
"version": "0.3.0",
"devDependencies": {
"@superfluid-finance/ethereum-contracts": "^1.14.1",
"@superfluid-finance/ethereum-contracts": "^1.15.0",
"@superfluid-finance/metadata": "^1.6.2"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/automation-contracts/scheduler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Open contracts that allow scheduling streams and vestings onchain",
"version": "1.3.0",
"devDependencies": {
"@superfluid-finance/ethereum-contracts": "^1.14.1",
"@superfluid-finance/ethereum-contracts": "^1.15.0",
"@superfluid-finance/metadata": "^1.6.2"
},
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion packages/ethereum-contracts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ All notable changes to the ethereum-contracts will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [UNRELEASED]
## [v1.15.0]

### Added

- `SuperToken`: the contract admin can enable/disable a _Yield Backend_ in order to generate a yield on the underlying asset.
- `SuperToken`: added versioning. `VERSION()` now returns the version string of the logic contract set for the SuperToken.

### Changed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ interface ISuperToken is ISuperfluidToken, IERC20Metadata, IERC777, IERC20Permit
error SUPER_TOKEN_PERMIT_EXPIRED_SIGNATURE(uint256 deadline); // 0x6e72b90f
error SUPER_TOKEN_PERMIT_INVALID_SIGNER(address signer, address owner); // 0xb6422105

/**
* @dev Return the version of the SuperToken logic
*/
function VERSION() external view returns (string memory);

/**
* @dev Initialize the contract
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ interface IPoolMemberNFT {}
* @title Superfluid's super token implementation
*
* @author Superfluid
*
* CHANGELOG:
* [1.0.0]
* Added:
* - support for an optional yield backend
*/
contract SuperToken is
UUPSProxiable,
Expand All @@ -40,6 +45,8 @@ contract SuperToken is
using ERC777Helper for ERC777Helper.Operators;
using SafeERC20 for IERC20;

string public constant override VERSION = "1.0.0";

// See: https://eips.ethereum.org/EIPS/eip-1967#admin-address
bytes32 constant private _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

Expand Down
2 changes: 1 addition & 1 deletion packages/ethereum-contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@superfluid-finance/ethereum-contracts",
"description": " Ethereum contracts implementation for the Superfluid Protocol",
"version": "1.14.1",
"version": "1.15.0",
"dependencies": {
"@decentral.ee/web3-helpers": "0.5.3",
"@nomiclabs/hardhat-ethers": "2.2.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/hot-fuzz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
},
"bugs": "https://github.com/superfluid-finance/protocol-monorepo/issues",
"devDependencies": {
"@superfluid-finance/ethereum-contracts": "^1.14.1"
"@superfluid-finance/ethereum-contracts": "^1.15.0"
},
"homepage": "https://github.com/superfluid-finance/protocol-monorepo#readme",
"license": "AGPL-3.0",
"main": "index.js",
"peerDependencies": {
"@superfluid-finance/ethereum-contracts": "1.14.1"
"@superfluid-finance/ethereum-contracts": "1.15.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/js-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"node-fetch": "2.7.0"
},
"devDependencies": {
"@superfluid-finance/ethereum-contracts": "^1.14.1",
"@superfluid-finance/ethereum-contracts": "^1.15.0",
"chai-as-promised": "^8.0.0",
"webpack": "^5.94.0",
"webpack-bundle-analyzer": "^4.10.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.9.0",
"bugs": "https://github.com/superfluid-finance/protocol-monorepo/issues",
"dependencies": {
"@superfluid-finance/ethereum-contracts": "1.14.1",
"@superfluid-finance/ethereum-contracts": "1.15.0",
"@superfluid-finance/metadata": "^1.6.2",
"graphql-request": "6.1.0",
"lodash": "4.17.21",
Expand Down
Loading