-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update coverage [skip ci] * Deploy LINK/USDC to base sepolia * v1.5 testnet redeploy to redo migration * Add SizeFactory and SizeRegistry (#5) * Add SizeFactory * Split factory/registry due to contract size limit * Create SizeRegistryFactoryTest * Add more tests for 2 markets * Test createMarket * Add more tests * Add fork test * Bump * Bump CI * Refactor SizeRegistryFactoryTest * Add isMarket function * Change description to percent instead of BP * Fix fork test * Use ISize and implementation in constructor * Add PriceFeed factory * Fix slither * Change _ by | on descriptions * Fix test * Remove unused code * v1.5 migration with `reinitialize` (#7) * Create migration function * Create NonTransferrableScaledTokenV1_5Test (WIP) * Attempt build * Fix circular dependency * Add Size deployment to SizeRegistry on tests * Pin foundry version * WIP * WIP + compiling * Alternate branch * Fix getUserView * Create withdrawV1_2 function * Do migration in a single reinitialize * Add testFork_ForkReinitializeV1_5_set_2_existing_markets * Create separate tests to check gas usage * Add v1.5 at the end of NonTransferrableScaledTokenV1_5 * Fix _testFork_ForkReinitializeV1_5_migrate * Rollback SizeDataView struct to not break integrations * Fix getMarketsDescriptions * Fix tests * Fix compilation warnings * Fix fork test * Attempt fix slither * fix slither * attempt fix slither * Fix slither * Fix slither * Add more consistency checks * Add more checks to reinitialize fn * Remove blank line * Add new methods * Add more tests * Disable slither calls-loop * Fix checks by using only scaled balances * Fix fork test * Fix CI * Add v1 token to /deprecated folder * Remove unused code * getBorrowATokensDescriptionsV1_5 * Fix README * Increase test coverage * Upgrade SizeView.version to v1.5 * Add withdraw checks * Fix tests * Add comment * Fix NonTransferrableScaledTokenV1_5.allowance * Create deposit/withdraw fork test * Deploy LINK/USDC to base sepolia * Deploy SizeRegistry, SizeFactory to base-sepolia * Update migration procedure * Add audit tests * Add per user checks * Fix recommendations from v1.5 review * Fix error * v1.5 libraries on prepare_crytic * Redeploy SizeFactory to base-sepolia * Update coverage [skip ci] * Deploy SizeFactory to production * Refactor scripts * Generalize scripts * Upgrade testnet * Update script * Update SizeFactory implementation * Add testFork_ForkReinitializeV1_5_works_with_data * Deploy WETH/USDC after cbBTC/USDC still works * Add audit tests for WETH/USDC migration post cbBTC/USDC * Migrate WETH/USDC --------- Co-authored-by: Size <[email protected]>
- Loading branch information
Showing
128 changed files
with
141,730 additions
and
2,489 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.