UMAprotocol / protocol

UMA Protocol Running on Ethereum
https://uma.xyz
GNU Affero General Public License v3.0
367 stars 179 forks source link

feat: add core network deployments #4702

Closed Reinis-FRP closed 7 months ago

Reinis-FRP commented 7 months ago

Motivation

We've deployed OO contracts on Core mainnet that needs to be added to networks file.

Summary

Adds Core mainnet contract deployments.

Details

Verified contract state with yarn hardhat verify-admin-xchain --network core:

🌚 Verifying L2 contract state 🌚
  Registry
    - OptimisticOracle registered: ✅
    - OptimisticOracleV2 registered: ✅
    - OptimisticOracleV3 registered: ✅
    - Owned by GovernorSpoke: ✅
  Store
    - Owned by GovernorSpoke: ✅
  IdentifierWhitelist
    - Owned by GovernorSpoke: ✅
  AddressWhitelist
    - Owned by GovernorSpoke: ✅
  OptimisticOracleV3
    - Owned by GovernorSpoke: ✅
  Admin_ChildMessenger
    - Set oracleSpoke: ✅
  Finder
    - Owned by GovernorSpoke: ✅
    - Set "Store" in Finder: ✅
    - Set "IdentifierWhitelist": ✅
    - Set "CollateralWhitelist" in Finder: ✅
    - Set "Oracle" in Finder (to OracleSpoke): ✅
    - Set "OptimisticOracle" in Finder: ✅
    - Set "OptimisticOracleV2" in Finder: ✅
    - Set "OptimisticOracleV3" in Finder: ✅
    - Set "ChildMessenger" in Finder: ✅

Note that we still need to transfer Admin_ChildMessenger ownership to safe multisig once that is deployed.

Also note that this setup does not yet have corresponding messenger contract on L1 which means:

Testing

Check a box to describe how you tested these changes and list the steps for reviewers to test.

Issue(s)

Fixes https://linear.app/uma/issue/UMA-2058/contracts-deployment

linear[bot] commented 7 months ago

UMA-2058 Contracts Deployment