Skip to content

Commit 37be79f

Browse files
committed
updated CHANGELOG
1 parent 3b138f8 commit 37be79f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/ethereum-contracts/CHANGELOG.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ subtask(TASK_COMPILE_GET_REMAPPINGS).setAction(
3838
}
3939
);
4040
```
41+
- CFASuperAppBase: `onFlowDeleted` is replaced by `onInFlowDeleted` and `onOutFlowDeleted`.
42+
This is safer because the latter hook handles a case (outgoing flow being deleted by its receiver) which is often not expected.
43+
In the past, apps creating outflows had to explicitly distinguish between the 2 possible triggers in order to avoid potentially invalid state changes or even jailing.
44+
Most apps will want to implement just `onInFlowDeleted`.
45+
- CFASuperAppBase: added `flowRate` argument to `onFlowCreated` and `onFlowUpdated`.
4146
- PoolMemberNFT pruning: `IPoolMemberNFT` and `PoolMemberNFT` removed, `POOL_MEMBER_NFT()` removed from `ISuperToken`.
4247

4348
## [v1.13.0]
@@ -71,12 +76,6 @@ subtask(TASK_COMPILE_GET_REMAPPINGS).setAction(
7176
- `SuperTokenV1Library.distributeFlow`: return `actualFlowRate` instead of a bool
7277
- `SuperTokenV1Library.distribute`: return `actualAmount` instead of a bool
7378

74-
# Breaking
75-
- CFASuperAppBase: `onFlowDeleted` is replaced by `onInFlowDeleted` and `onOutFlowDeleted`.
76-
This is safer because the latter hook handles a case (outgoing flow being deleted by its receiver) which is often not expected.
77-
In the past, apps creating outflows had to explicitly distinguish between the 2 possible triggers in order to avoid potentially invalid state changes or even jailing.
78-
Most apps will want to implement just `onInFlowDeleted`.
79-
8079
## [v1.12.0]
8180

8281
### Added

0 commit comments

Comments
 (0)