-
Notifications
You must be signed in to change notification settings - Fork 148
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
Deploy Compound III USDC market on Optimism #838
Closed
dmitriy-woof-software
wants to merge
34
commits into
compound-finance:main
from
dmitriy-woof-software:bergman-works/deploy-compound-v3-usdc-market
Closed
Changes from 29 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
5380a4c
Add deploy script for Optimism usdc market
dmitriy-woof-software 15aa71f
Add Optimism and Optimism-goerli networks. And usdt market
dmitriy-woof-software 9a873cf
Add wstETH collateral token
dmitriy-woof-software c9204ad
Use Gauntlet recommended parameters for configuration
dmitriy-woof-software c2f834d
Add Optimism COMP and pauseGuardian addresses
dmitriy-woof-software 4a03e9b
Fix regexp in contract import
dmitriy-woof-software ddfd9a9
Update spaces and commas
dmitriy-woof-software 5208c87
Update offsets and commas
dmitriy-woof-software 61f097f
Merge main into bergman-works/deploy-compound-v3-on-optimism
dmitriy-woof-software 7bbb4cb
Update PR id in migration
dmitriy-woof-software b329070
Remove goerli-optimism network deployment
dmitriy-woof-software b2d986c
usdc market deploy; update roots; add wstETH into relations
dmitriy-woof-software 7430898
update migration description text; add optimism whale; update importTest
dmitriy-woof-software 039bef2
update workflows names because git does not display them on actions tab
dmitriy-woof-software 294270d
return initial workflows names
dmitriy-woof-software 06bc28e
update configuration to zero values; remove old roots values; add opt…
dmitriy-woof-software 33ef440
update borrowMin to fix scenario; skip non-weth scenario; update COMP…
dmitriy-woof-software 90ad0ee
Merge branch 'main' of github.com:dmitriy-bergman-works/comet-optimis…
dmitriy-woof-software c014093
remove only from tests
dmitriy-woof-software b253058
add usdc market deployment on optimism network
dmitriy-woof-software 341335c
udpate migration PR id
dmitriy-woof-software 4b716e6
remove optimism-usdt scenario
dmitriy-woof-software a607fd9
add pull_request key into deploy-market to trigger workflow
dmitriy-woof-software 5b94aff
add pull_request key into enact-migration and prepare-migration to tr…
dmitriy-woof-software 0f17792
remove pull_request key
dmitriy-woof-software 84d9689
remove custom offsets in hardat.config.ts; update configuration.json …
dmitriy-woof-software c174483
remove linter changes
dmitriy-woof-software 761e8f2
remove bracket
dmitriy-woof-software 547f29c
update borrowMin to 1e0
dmitriy-woof-software 29014df
remove wstETH as collateral asset
dmitriy-woof-software 2abd324
remove wstEth from relations. update configuration
dmitriy-woof-software 8740523
Merge branch 'main' of github.com:dmitriy-bergman-works/comet-optimis…
dmitriy-woof-software 7f5df08
update deploy-market.yaml
dmitriy-woof-software 20ba98f
Modified deployment roots from GitHub Actions
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"name": "Compound USDC", | ||
"symbol": "cUSDCv3", | ||
"baseToken": "USDC", | ||
"baseTokenAddress": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", | ||
"baseTokenPriceFeed": "0x16a9FA2FDa030272Ce99B29CF780dFA30361E0f3", | ||
"pauseGuardian": "0x3fFd6c073a4ba24a113B18C8F373569640916A45", | ||
"borrowMin": "1e0", | ||
"storeFrontPriceFactor": 0.6, | ||
"targetReserves": "20000000e6", | ||
"rates": { | ||
"supplyKink": 0.9, | ||
"supplySlopeLow": 0.059, | ||
"supplySlopeHigh": 2.9, | ||
"supplyBase": 0, | ||
"borrowKink": 0.9, | ||
"borrowSlopeLow": 0.061, | ||
"borrowSlopeHigh": 3.2, | ||
"borrowBase": 0.015 | ||
}, | ||
"tracking": { | ||
"indexScale": "1e15", | ||
"baseSupplySpeed": "0e15", | ||
"baseBorrowSpeed": "0e15", | ||
"baseMinForRewards": "1000e6" | ||
}, | ||
"assets": { | ||
"OP": { | ||
"address": "0x4200000000000000000000000000000000000042", | ||
"priceFeed": "0x0D276FC14719f9292D5C1eA2198673d1f4269246", | ||
"decimals": "18", | ||
"borrowCF": 0.65, | ||
"liquidateCF": 0.7, | ||
"liquidationFactor": 0.8, | ||
"supplyCap": "0e18" | ||
}, | ||
"WETH": { | ||
"address": "0x4200000000000000000000000000000000000006", | ||
"priceFeed": "0x13e3Ee699D1909E989722E753853AE30b17e08c5", | ||
"decimals": "18", | ||
"borrowCF": 0.83, | ||
"liquidateCF": 0.9, | ||
"liquidationFactor": 0.95, | ||
"supplyCap": "0e18" | ||
}, | ||
"WBTC": { | ||
"address": "0x68f180fcCe6836688e9084f035309E29Bf0A2095", | ||
"priceFeed": "0x718A5788b89454aAE3A028AE9c111A29Be6c2a6F", | ||
"decimals": "8", | ||
"borrowCF": 0.8, | ||
"liquidateCF": 0.85, | ||
"liquidationFactor": 0.95, | ||
"supplyCap": "0e8" | ||
}, | ||
"wstETH": { | ||
"address": "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb", | ||
"priceFeed": "0x698B585CbC4407e2D54aa898B2600B53C68958f7", | ||
"decimals": "18", | ||
"borrowCF": 0.75, | ||
"liquidateCF": 0.8, | ||
"liquidationFactor": 0.9, | ||
"supplyCap": "0e18" | ||
} | ||
} | ||
} |
Oops, something went wrong.
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.
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.
This is the market-based
wstETH / USD
price feed. Lido's recent proposals to list wstETH seem to go with the exchange-rate-basedwstETH / stETH
*ETH / USD
custom price feed. Let's maybe wait for them to finalize on that decision and make the same decision here to be consistent.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.
Not clear. Could we not wait for Lido's decision?
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.
As you suggested, you could just exclude
wstETH
for now until that decision has been made.