Skip to content

Commit 8f8ff4e

Browse files
committed
added integration test for ERC4626
1 parent 2a9428b commit 8f8ff4e

File tree

6 files changed

+534
-440
lines changed

6 files changed

+534
-440
lines changed

packages/ethereum-contracts/contracts/superfluid/AaveYieldBackend.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import { IPool } from "aave-v3/src/contracts/interfaces/IPool.sol";
1212
*
1313
* This contract is conceptually a hot-pluggable library.
1414
* All methods are supposed to be invoked as delegatecall.
15+
*
16+
* In order to learn about the limitations and constraints of this implementation, see
17+
* https://github.com/superfluid-org/protocol-monorepo/wiki/Yield-Backend
1518
*/
1619
contract AaveYieldBackend is IYieldBackend {
1720
IERC20 public immutable ASSET_TOKEN;

packages/ethereum-contracts/contracts/superfluid/ERC4626YieldBackend.sol

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ import { IERC20, ISuperToken } from "../interfaces/superfluid/ISuperfluid.sol";
66
import { IERC4626 } from "@openzeppelin-v5/contracts/interfaces/IERC4626.sol";
77

88

9-
/// @title A SuperToken yield backend for ERC4626 compliant vaults.
9+
/**
10+
* @title A SuperToken yield backend for ERC4626 compliant vaults.
11+
*
12+
* In order to learn about the limitations and constraints of this implementation, see
13+
* https://github.com/superfluid-org/protocol-monorepo/wiki/Yield-Backend
14+
*/
1015
contract ERC4626YieldBackend is IYieldBackend {
1116
IERC20 public immutable ASSET_TOKEN;
1217
IERC4626 public immutable VAULT;

0 commit comments

Comments
 (0)