Skip to content
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 56 commits into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
972a413
chore: delete certora folder
HrikB Mar 23, 2024
f867f43
chore: remove interface validation
HrikB Mar 24, 2024
fe0edaf
feat: add transferability to lender token and remove some getter func…
HrikB Mar 24, 2024
e4f5545
test: IonLens
HrikB Apr 2, 2024
bc52aeb
switch to non-rebasing
HrikB Apr 3, 2024
354efb9
fix: using correct functions for total supply vs. normalized total su…
junkim012 Apr 5, 2024
d0be697
feat: managed lending vault poc
junkim012 Apr 15, 2024
18d7464
test: lending vault tests unit tests without yield accrual
junkim012 Apr 15, 2024
e04a07a
refactor: rename weth-related vars and make lens use solidity type ch…
HrikB Apr 18, 2024
6e119ac
test: add reward token transferability tests
HrikB Apr 18, 2024
8eba0ad
feat: add ERC4626 external view function overrides
junkim012 Apr 19, 2024
61ee14b
feat: vault factory contract
junkim012 Apr 25, 2024
65e9911
test: vault unit tests
junkim012 Apr 25, 2024
8187149
feat: role based access control instead of ownable, reentrancy guard
junkim012 Apr 27, 2024
c88cd6c
chore: vault factory event index
junkim012 Apr 28, 2024
cab6e08
Merge branch 'hrikb/transferability' of https://github.com/Ion-Protoc…
junkim012 Apr 28, 2024
bdcaed5
Merge branch 'hrikb/transferability' into jun/lending-vault
junkim012 Apr 28, 2024
bb543d5
refactor: compatibility with IonPool upgrade branch
junkim012 Apr 28, 2024
bef84b5
refactor: use ternary operators instead of if else in iterations
junkim012 Apr 29, 2024
0f78d89
chore: natspec
junkim012 Apr 29, 2024
f32bb9c
fix: revert to rebasing RewardToken
junkim012 May 6, 2024
c7bf309
fix: querying unaccrued interest when paused, caching IDLE balance in…
junkim012 May 7, 2024
bc3ad91
fix: add max number of supported markets allowed
junkim012 May 11, 2024
971e8f6
fix: if paused, the depositable and withdrawable amount must be zero
junkim012 May 11, 2024
d9b87b2
fix: divide by zero in interest rate module when totalEthSupply is to…
junkim012 May 12, 2024
aade327
fix: revert the non-rebasing model of RewardToken to rebasing; change…
junkim012 May 12, 2024
c39ad6c
fix: when calculating total assets, query unaccrued balanceOf if the …
junkim012 May 12, 2024
1c6eefd
fix: update currentIdleDeposits counter when reallocating to and from…
junkim012 May 12, 2024
51102cc
fix: accrue fee before changing the feePercentage
junkim012 May 12, 2024
24f904c
fix: the total supply query now accounts for the treasury mint amount
junkim012 May 12, 2024
9a8acc2
fix: the _maxWithdraw includes fee shares
junkim012 May 12, 2024
3fc0bed
fix: if the supply or withdraw reverts, skip the market and move onto…
junkim012 May 13, 2024
0a29e38
test: show that depositing the allocation cap diff or supply cap diff…
junkim012 May 12, 2024
8bdb209
fix: instead of early exit, set utilization rate to zero if totalEthS…
junkim012 May 13, 2024
31eaad7
fix: if borrow rate is zero, only update the ilk last updated
junkim012 May 11, 2024
597dbf9
fix: handle interest accrual while paused in calculateRewardAndDebtDi…
junkim012 May 15, 2024
e463777
feat: to further defend against inflation attacks on top of virtual a…
junkim012 May 13, 2024
72a1354
feat: vault factory locks 1e3 shares minted by the deployer
junkim012 May 14, 2024
2074642
chore: fix natspec
junkim012 May 14, 2024
0c3fbb4
Merge pull request #97 from Ion-Protocol/jun/PAG-H-01
junkim012 May 16, 2024
6ab7ec6
Merge pull request #98 from Ion-Protocol/jun/PAG-M-02
junkim012 May 16, 2024
9742852
Merge pull request #99 from Ion-Protocol/jun/PAG-L-04
junkim012 May 16, 2024
ac80d55
Merge pull request #100 from Ion-Protocol/jun/PAG-L-03
junkim012 May 16, 2024
0bff3b2
Merge pull request #101 from Ion-Protocol/jun/PAG-L-10
junkim012 May 16, 2024
7802ed9
Merge pull request #94 from Ion-Protocol/jun/PAG-M-05
junkim012 May 16, 2024
c21600c
Merge branch 'jun/PAG-C-01' into jun/PAG-M-04
junkim012 May 16, 2024
27e8d3b
Merge branch 'jun/PAG-C-01' into jun/PAG-M-04
junkim012 May 16, 2024
226ebd8
Merge pull request #93 from Ion-Protocol/jun/PAG-M-04
junkim012 May 16, 2024
5f1fe86
Merge pull request #92 from Ion-Protocol/jun/PAG-L-09
junkim012 May 16, 2024
9c94f1a
Merge pull request #91 from Ion-Protocol/jun/PAG-L-07
junkim012 May 16, 2024
9c9a020
Merge branch 'jun/PAG-C-01' into jun/PAG-M-08
junkim012 May 16, 2024
c85a053
Merge pull request #90 from Ion-Protocol/jun/PAG-M-08
junkim012 May 16, 2024
1c826f4
chore: solhint disable next line for empty code blocks and import for…
junkim012 May 16, 2024
8125999
Merge pull request #95 from Ion-Protocol/jun/PAG-C-01
junkim012 May 16, 2024
f79ebc6
Merge branch 'master' into jun/lending-vault
junkim012 May 17, 2024
bc2d325
chore: slither triage
junkim012 May 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .solhintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
src/libraries/uniswap/
src/interfaces/ProviderInterfaces.sol
src/interfaces/ISpotOracle.sol
src/interfaces/**.sol
src/periphery/IonInvariants.sol
Binary file removed certora/.DS_Store
Binary file not shown.
104 changes: 0 additions & 104 deletions certora/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions certora/confs/InterestRate_verified.conf

This file was deleted.

31 changes: 0 additions & 31 deletions certora/confs/IonPool_verified.conf

This file was deleted.

28 changes: 0 additions & 28 deletions certora/confs/Liquidation_verified.conf

This file was deleted.

13 changes: 0 additions & 13 deletions certora/confs/mutation/InterestRate.mconf

This file was deleted.

14 changes: 0 additions & 14 deletions certora/confs/mutation/IonPool.mconf

This file was deleted.

14 changes: 0 additions & 14 deletions certora/confs/mutation/Liquidation.mconf

This file was deleted.

8 changes: 0 additions & 8 deletions certora/helpers/ERC20A.sol

This file was deleted.

8 changes: 0 additions & 8 deletions certora/helpers/ERC20B.sol

This file was deleted.

Loading
Loading