-
Notifications
You must be signed in to change notification settings - Fork 70
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 096 - OETHVaultAdmin to add removeAsset #2064
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2064 +/- ##
==========================================
- Coverage 60.57% 60.54% -0.04%
==========================================
Files 59 59
Lines 3021 3021
Branches 779 779
==========================================
- Hits 1830 1829 -1
- Misses 1188 1189 +1
Partials 3 3 ☔ View full report in Codecov by Sentry. |
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.
Have verified the deployment and proposal
- Deployed contracts match code on
master
- Governance proposal has correct actions
I've verified that the deployed code matches the code on master:
And that the proposal actions:
|
from world import *
sim_execute_governor_five(69930246750131009700656380347665185726772789937060030973085874312404417024801)
WHALE = "0x2fEb1512183545f48f6b9C5b4EbfCaF49CfCa6F3"
weth.approve(oeth_vault_core, 1e70, {'from': WHALE})
oeth_vault_core.mint(weth, 1e20, 1e20, {'from': WHALE})
oeth.balanceOf(WHALE) / 1e18
# 100.0
oeth_vault_core.redeem(oeth.balanceOf(WHALE), 0 , {'from': WHALE})
oeth.balanceOf(WHALE) / 1e18
# 0.0
show_transfers(history[-1])
# WETH 0x39254033945aa2e4809cc2977e7087bee48bd7ab 0x2feb1512183545f48f6b9c5b4ebfcaf49cfca6f3 99
# 0x856c4Efb 0x2feb1512183545f48f6b9c5b4ebfcaf49cfca6f3 0x0000000000000000000000000000000000000000 100000000000000000000
# 0x856c4Efb 0x0000000000000000000000000000000000000000 0xfd6c58850cacf9ccf6e8aee479bfb4df14a362d2 20000000000000000 |
Deployment Plan
https://www.notion.so/originprotocol/Deploy-plan-for-VaultAdmin-removeAsset-1320ff50e2144769bfcc494dc8112f55
Deployment Script
Deploy script
096_vault_admin_upgrade
Deployed Contracts
OETHVaultAdmin
0x0Bb9C9496e2294A89efF3c8A25ba9730BdED4B8CDeployment tx 0x78ec64ed42fbfee093fde0f5d603f21872ff8967bdcc28b0e4472ff0f8938778
Governance Proposal
Dependencies
Contract Diff