GithubHelp home page GithubHelp logo

fergarrui / rvol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ribbon-finance/rvol

0.0 1.0 0.0 1.33 MB

RVOL makes on-chain volatility data accessible

License: GNU General Public License v3.0

TypeScript 48.50% Solidity 51.50%

rvol's Introduction

RVOL

RVOL (Ribbon Volatility) is a set of Solidity libraries and tools that utilizes Uniswap v3 to make on-chain volatility data accessible.

Its goals are to help builders for:

  • Building on-chain volatility indices
  • Querying realized volatility information
  • Pricing derivatives and options with on-chain data

The RVOL library intends to have the below features:

  • Realized volatility oracles for any Uniswap v3 pool
  • Options pricing with Black Scholes for Uniswap v3 pool
  • Index pricing with oracles

The Problem

On-chain options products such as Hegic and Siren need to rely on historical volatility of an asset to correctly price an option.

The problem here is two-fold:

  • There are no good ways to measure historical volatility on-chain. Hence, option contracts manually set an off-chain volatility number which is routinely updated. This breaks the trustless nature of these protocols.

  • Measuring daily volatility requires a TWAP, which oracle alternatives such as Chainlink do not offer.

To solve these issues, RVOL uses Uniswap v3's TWAP oracle to measure the daily volatility of an asset.

Team

RVOL is built by the Ribbon Finance team.

Licensing

GPL 3.0, see LICENSE file.

rvol's People

Contributors

kenchangh avatar chudnov avatar stevenwal avatar fqlx avatar

Watchers

 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.