Git Product home page Git Product logo

rocketpool-ovm-oracle's Introduction

Rocket Pool rETH Exchange Rate Oracle for Optimism

This repository contains 2 main contracts. RocketOvmPriceMessenger which can be called by anyone to submit the current rETH exchange rate (as reported by RocketNetworkBalances) to the RocketOvmPriceOracle contract which is deployed on Optimism OVM.

Notice

Rocket Pool provides this exchange rate oracle as-is for convenience and offers no guarantee about its accuracy or the freshness of the data. These contracts have not been formally audited for security or correctness.

Usage

Calling rate() on RocketOvmPriceOracle will return the latest rETH exchange rate reported. This value is in the form of the ETH value of 1 rETH. e.g. If 1 rETH is worth 1.5 ETH rate() will return 1.5e18. lastUpdated() can be called to retrieve the timestamp that the rate was last updated.

Deployments

Rocket Pool maintains a Goerli testnet instance of the protocol alongside our mainnet deployment which can be used for integration testing before promotion to mainnet.

Chain RocketOvmPriceMessenger (EVM) RocketOvmPriceOracle (OVM) RocketBalancerRateProvider (OVM)
Mainnet 0xdddcf2c25d50ec22e67218e873d46938650d03a7 0x1a8F81c256aee9C640e14bB0453ce247ea0DFE6F 0x658843BB859B7b85cEAb5cF77167e3F0a78dFE7f
Goerli 0x87E2deCE7d0A080D579f63cbcD7e1629BEcd7E7d 0xc6307a58556FDcF93255ad541dccacCC10b75eA4 0x1039966EcCd77c27cdD612fF8b3df656A8332C92

rocketpool-ovm-oracle's People

Contributors

kanewallmann avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.