Giter Club home page Giter Club logo

opyn-monitor's Introduction

Opyn Monitor

Netlify Status

Position Management for Opyn assets

Opyn Monitor is an open source frontend interface for Opyn, an decentralized option protocol. This project is built by the community and maintained by @antoncoding.

Currently hosted on: opynmonitor.xyz.

Disclaimer

  • This is not the official interface to interact with Opyn. Please visit Opyn.co to use the official interface provided by the opyn core team.

  • Frontend code is not verified or auditted in any way, please use at your own risk.

Contracts this UI interacts with

Other services / libraries used

Install & Run

npm install && npm start

Donation

Any Donations are appreciated 💛, you can contribute through GitCoin Grant or directly send any token to the following address:

0xD325E15A52B780698C45CA3BdB6c49444fe5B588

Screenshots

All Opyn Options

all

Trade ETH Options

trade

opyn-monitor's People

Contributors

alphaserpentis avatar antoncoding avatar dependabot[bot] avatar imgbot[bot] avatar ugolino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opyn-monitor's Issues

Integrate Gelato bot as "Vault Guard"

Gelato: https://play.gelato.finance/

Usecase

Vault owners can setup a bot to automatically add collateral on their behave when the ETH price drop to avoid being liquidated.

Workflow

  1. User creates proxy contract (the bot)
  2. Fund with some USDC (or just approve)
  3. Whitelist the Action (add collateral)
  4. Create the task on Gelato with the user's proxy

Potential Todos

  • Implement a Gelato Action: Add collateral
  • Implement a Gelato Condition: Compound Price
  • A wrapper contract to do step 1 ~ 4 in 1 tx

Add flashloan exercise

Suggestion from Musa:
Borrow ETH, exercise against some vaults, repay the ETH and keep the diffs

Design and implement new trading page for ETH options.

The current trading page for all oTokens are the same, where users can buy or sell tokens from or to Uniswap pool. But this is not ideal for option trading.

We want to design a new UI (like Deribit) for ETH options, which is more like an order-book style exchange, and it should be compatible to 0x or the future AMM

Too many infura requqests

The react hook life cycle I'm using is wrong somewhere. It's currently requesting infura in a recursive manner that would eat up all the bandwidth (100000 req/day).

Load put and call contracts dynamically from OptionsFactory

Aside from the additional work, is there any reason why aren't puts and calls loaded dynamically from the OptionsFactory?

OptionsFactory can be iterated to get all contracts and all put/call attributes could be derived from those contracts.

By loading them dynamically, opynmonitor.xyz could allow people to transact with all contracts ever created on the protocol and not select few. This would make opynmonitor.xyz the same what uniswapdex.com (shows all tokens and not just whitelisted) is to uniswap.exchange

Doesn't let user see expired vaults if they have no open vaults

Had a couple folks asking on discord and realized that for a user who has no open vaults, the checkboxes disappear, not letting them see expired vaults:

Screen.Recording.2021-02-19.at.9.18.53.PM.mov

I think it should be resolved by removing this line in the red box in MyVaults/index.tsx
Screen Shot 2021-02-19 at 9 19 49 PM

I was gonna make a PR but it wouldn't let me connect my wallet to test - think it might require the blocknative project id? Was seein this:
Screen Shot 2021-02-19 at 9 19 31 PM

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.