-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vault and Core Upgrade #73
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…tions to IonLens to reduce codesize (tests failing)
Vault and Core Upgrade
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
junkim012
force-pushed
the
jun/lending-vault
branch
from
April 24, 2024 14:45
fe87bef
to
8eba0ad
Compare
junkim012
force-pushed
the
jun/lending-vault
branch
from
April 25, 2024 01:35
46ce60b
to
61ee14b
Compare
…ol/ion-protocol into hrikb/transferability
junkim012
force-pushed
the
jun/lending-vault
branch
from
April 29, 2024 07:03
e8954cf
to
0f78d89
Compare
… the next iteration
… cannot violate either max caps
…upply scaled by distribution factor truncates to zero
…ssets and shares, the factory enforces initial deposit into the vault at deployment time
H-01 Fix [PAG]
M-02 Fix [PAG]
L-04 Fix [PAG]
L-03 Fix [PAG]
L-10 Fix [PAG]
M-05 Fix [PAG]
M-04 Fix [PAG]
L-09 Fix [PAG]
L-07 Fix [PAG]
M-08 Fix [PAG]
… IERC4626 inheritdoc
C-01 Fix [PAG]
HrikB
previously requested changes
May 17, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a merge conflict resolution here.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merges PR #69
This PR includes three different changes.
1. Ion Lending Vault
Users who want exposure to multiple markets on Ion can deposit into a vault managed by a third party. This third party can receive deposits and rebalance all deposits across multiple pairs. For example, if users deposit 100 wstETH into the vault, the vault manager can distribute the asset by lending 20 wstETH into the weETH/wstETH market, 50 wstETH into the rsETH/wstETH market, and 30 wstETH into the rswETH market.
2. IonPool & RewardToken Upgrade
RewardToken
following ERC20 interface.RewardToken
from the rebasing token to a non-rebasing token.balanceOf
function, renaming functions such that the amount of normalized shares is exposed as the balance of the token. This change was made such that we do not have to create a separate 4626 wrapper for the rebasing lender receipt token.3. Ion Lens
A lens contract for view functions and exposing the storage of IonPool used in upgradeability.
1. This change is included in the
/src
files changed in the PR, but it only deals with view functions and does not have any impact on the protocol.