-
Notifications
You must be signed in to change notification settings - Fork 158
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
Add USDC market on Scroll mainnet #824
Add USDC market on Scroll mainnet #824
Conversation
493bae4
to
3bde642
Compare
deployments/scroll/usdc/migrations/1706149385_configurate_and_ens.ts
Outdated
Show resolved
Hide resolved
@@ -108,7 +117,17 @@ export default async function relayScrollMessage( | |||
console.log( | |||
`[${governanceDeploymentManager.network} -> ${bridgeDeploymentManager.network}] Bridged over ${amount} of WETH to user ${to}` | |||
); | |||
} else if (target === bridgeReceiver.address) { | |||
} else if (target === l2WstETHGateway.address){ |
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.
Is this just a generic ERC20 gateway? I don't think we need a case for every ERC20 unless they all go through different gateways.
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.
it's specifically for bridging WstETH. Even though on the L2 side it's basically a generic ERC20 token on the L1 side it's different
211fa26
to
12f8856
Compare
deployments/scroll/usdc/migrations/1706149385_configurate_and_ens.ts
Outdated
Show resolved
Hide resolved
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.
Looks great! 🎆
deployments/scroll/usdc/migrations/1706149385_configurate_and_ens.ts
Outdated
Show resolved
Hide resolved
6613ce8
into
compound-finance:isabellewei/scroll-deploy
* debug * update price feed * update config * temp workaround * add scroll to scenarios * uncomment spider debug messages * add scroll relations * catch failed spider crawls * Fix spider for scroll * update bridge receiver to be compatible with scroll bridge * update relations * Modified deployment roots from GitHub Actions * remove console.log * rename scroll messenger * add scroll to governance scenarios * adapt scroll relay message fn * fix unit tests * rename contracts and update message relaying * update scroll testnet block explorer URL * remove base fee * fix scroll l2 sender address * remove old roots * fix type errors * Modified deployment roots from GitHub Actions * proposal for intializing usdc market on scroll goerli * add configurator to scroll relations * PR comments * add docstrings * emit event when intializing ScrollBridgeReceiver * PR comments * update comment * add usdc market on scroll mainnet * fix wseth * create migration * use gauntlet recommended parameters * lint and fix timelock params * set rewards speed to 0 * add pause guardian * fix scientific notation * add scroll mainnet roots * update scroll relations for wsteth * PR comments * update wsteth/USD price feed to exchange rate based * Modified deployment roots from GitHub Actions * update proposal description * update scroll governance proposal to bridge USDC instead of COMP * final PR comments * set message value on propsal actions --------- Co-authored-by: Isabelle Wei <isabellewei@Isabelles-MacBook-Pro.local> Co-authored-by: isabelle <isabelle@scroll.io> Co-authored-by: kevincheng96 <kevincheng96@hotmail.com> Co-authored-by: GitHub Actions Bot <>
WETH and wstETH on USDC market