-
Notifications
You must be signed in to change notification settings - Fork 75
feat: lens testnet #850
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
feat: lens testnet #850
Conversation
Signed-off-by: bennett <bennett@umaproject.org>
Signed-off-by: bennett <bennett@umaproject.org>
Signed-off-by: bennett <bennett@umaproject.org>
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.
I renamed this from "zksync" to "zkstack" since I am assuming that the l2 erc20 bridge works the same as in zksync. The native token is GRASS, but it has the same contract address as we have hardcoded in the spoke pool, so I'm assuming that works fine, too. We may need to follow-up with a generalization to the zksync spoke pool if withdrawals do not work.
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.
Was able to test that the zksync spoke pool withdrawal logic works as expected with this test spoke pool.
Here is a call to _bridgeTokensToHubPool which withdraws grass to l1, and here is a call which withdraws weth to L1.
Signed-off-by: bennett <bennett@umaproject.org>
Spoke Pool: https://block-explorer.testnet.lens.dev/address/0x6A0a7f39530923911832Dd60667CE5da5449967B#contract
Adapter: https://sepolia.etherscan.io/address/0x8fac6f764ae0b4f632fe2e6c938ed5637e629ff2
Donation Box: https://sepolia.etherscan.io/address/0x74f00724075443Cbbf55129F17CbAB0F77bA0722#code
MulticallHandler: https://block-explorer.testnet.lens.dev/address/0x02D2B95F631E0CF6c203E77f827381B0885F7822#contract