Skip to content

Commit

Permalink
fix: small updates to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
0xBasically authored Jul 28, 2023
1 parent 8251c5c commit f3ec844
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/getting-started/products/yvaults/v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ To properly comply with the ERC-4626 standard and still allow losses, both withd
If not enough funds can be withdrawn to honor the full request within the maxLoss parameter given, the transaction will revert.

### Vault Shares
Vault shares are ERC20 transferable yield-bearing tokens and ERC4626 compliant. Please read [ERC-4626 Ethereum Improvement Proposals](https://eips.ethereum.org/EIPS/eip-4626) for more information about ERC4626.
Vault shares are ERC20 transferable yield-bearing tokens and ERC4626 compliant. Please read [Ethereum Improvement Proposal: ERC-4626](https://eips.ethereum.org/EIPS/eip-4626) for more information about ERC4626.

### Accounting
The vault will evaluate profit and losses from the strategies. This is done by comparing the current debt of the strategy with the total assets the strategy is reporting to have.
Expand Down Expand Up @@ -308,9 +308,7 @@ The amount of a withdraw or redeem can be limited by the strategist by overridin
In order to properly comply with the ERC-4626 standard and still allow losses, both withdraw and redeem have an additional optional parameter of 'maxLoss' that can be used. The default for 'maxLoss' is 0 (i.e. revert if any loss) for withdraws, and 10_000 (100%) for redeems.

#### Strategy Shares
The strategy issues shares to each depositor to track their relative share of assets. Shares are ERC20 transferable yield-bearing tokens.

They are ERC4626 compliant. Please read [ERC4626 compliance](https://hackmd.io/cOFvpyR-SxWArfthhLJb5g#ERC4626-compliance) to understand the implications.
The strategy issues shares to each depositor to track their relative share of assets. Shares are ERC20 transferable, ERC4626 compliant, yield-bearing tokens.

#### Accounting
The strategy will evaluate profit and losses from the yield generating activities.
Expand Down

0 comments on commit f3ec844

Please sign in to comment.