Skip to content

Commit aafe6f6

Browse files
committed
added note about vault's perp handling
1 parent 25a4544 commit aafe6f6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

spot-contracts/contracts/RolloverVault.sol

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ import { TrancheManager } from "./_utils/TrancheManager.sol";
5555
* When ever a tranche token enters or leaves the system, we immediately invoke `_syncDeployedAsset` to update book-keeping.
5656
* We call `_syncAsset` at the very end of every external function which changes the vault's underlying or perp balance.
5757
*
58+
* The perp tokens aren't considered be part of the vault's asset set. However
59+
* during the normal operations, the vault can hold transient perp tokens but they
60+
* are immediately broken down into tranches. The vault receives perps only during rebalancing and swapping.
61+
* At the end of those operations, the vault redeems perp tokens for the senior tranches backing them.
62+
*
63+
*
5864
*/
5965
contract RolloverVault is
6066
ERC20BurnableUpgradeable,

0 commit comments

Comments
 (0)