Mhairi
March 3, 2022, 2:09pm
1
This UMIP will have the effect of registering an oracle root tunnel contract that will enable the optimistic oracle deployed on Polygon to make cross-chain price requests to the DVM on mainnet Ethereum.
## Headers
| UMIP-113 | |
|------------|------------------------------------------------------------------------------------------------------------------------------------------|
| UMIP Title | Register Polygon Oracle Root Tunnel |
| Authors | Nick Pai (nick@umaproject.org) |
| Status | Approved |
| Created | July 8, 2021 |
## Summary (2-5 sentences)
This UMIP will have the effect of registering an oracle root tunnel contract that will enable the optimistic oracle deployed on Polygon to make cross-chain price requests to the DVM on mainnet Ethereum.
## Motivation
[This document](https://github.com/UMAprotocol/protocol/blob/master/packages/core/contracts/polygon/README.md) describes a two way tunnel architecture that is built on top of the [canonical state transfer mechanism](https://docs.matic.network/docs/develop/l1-l2-communication/state-transfer) between Polygon and Ethereum. Data is sent between the networks through the tunnel using the same public infrastructure that you use to deposit ERC20 tokens from Ethereum to Polygon and vice versa. The only trusted third parties are the Polygon validators.
In order for price requests to be relayed from Polygon to Ethereum, there must be a "root tunnel" contract deployed to Ethereum which can make price requests to the DVM. This UMIP registers such a contract.
Note that this "root tunnel" contains reference to a "child tunnel" deployed on Polygon, whose address can only be set once. This means that the "root tunnel" will only relay price requests originated from its `fxChildTunnel()` return value.
## Technical Specification
To accomplish this upgrade, the following actions need to be taken:
This file has been truncated. show original